beetbox / pyacoustid

Python bindings for Chromaprint acoustic fingerprinting and the Acoustid Web service
MIT License
325 stars 66 forks source link

Optionally use command-line "fpcalc" tool #5

Closed sampsyo closed 12 years ago

sampsyo commented 12 years ago

Chromaprint binaries are distributed for Windows and Mac OS X via the command-line executable fpcalc. Maybe this library should, as a fallback, be able to use subprocesses to do fingerprinting when a dynamic library is not available.

Suggested by this user, who was hoping to use pyacoustid without compiling a DLL for windows: http://code.google.com/p/beets/issues/detail?id=152#c4

lalinsky commented 12 years ago

I'd say that fpcalc should be even the default option. The main advantage is that you don't need pyaudioread and I guess it's going to be faster then using pyaudioread and then calling the DLL too.