Giter VIP home page Giter VIP logo

Comments (7)

sevagh avatar sevagh commented on May 27, 2024

Actually this is based on another of my projects: https://github.com/sevagh/libxcorr

I expect that to be installed when using pitch-detection. Should be simply to install: https://github.com/sevagh/libxcorr#buildinstall

from pitch-detection.

bohboh10 avatar bohboh10 commented on May 27, 2024

Thanks for the answer. I'm now tried to install the xcorr library but I got an error. I wrote you on the xcorr repo.

from pitch-detection.

bohboh10 avatar bohboh10 commented on May 27, 2024

Thanks almost... now running the example:
sinewave.cpp:29:2: warning: 'auto' type specifier is a C++11 extension
[-Wc++11-extensions]
auto x = generate_sinewave(FLAGS_size, FLAGS_freq, 48000);
^
sinewave.cpp:49:22: error: expected ';' at end of declaration
std::vector lut {};
^
;
sinewave.cpp:50:41: error: expected ';' at end of declaration
std::vector tone_single_channel {};
^
;
1 warning and 2 errors generated.

from pitch-detection.

sevagh avatar sevagh commented on May 27, 2024

I'll download clang and check it out.

from pitch-detection.

sevagh avatar sevagh commented on May 27, 2024

You're on OSX? Does clang not support C++11+? I required C++17 in the Makefile, for which this is valid syntax.

Also this is worrying:

sinewave.cpp:29:2: warning: 'auto' type specifier is a C++11 extension
[-Wc++11-extensions]```

from pitch-detection.

sevagh avatar sevagh commented on May 27, 2024

BTW, I'm resolving this by absorbing xcorr back into this project. I'm going to abandon my libxcorr repository.

from pitch-detection.

sevagh avatar sevagh commented on May 27, 2024

https://github.com/sevagh/pitch-detection/blob/master/src/xcorr.hpp

from pitch-detection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.