5pacedo9

Results 9 comments of 5pacedo9

I got the same exception too, but don't know how to solve this.

I got the same exception too, but don't know how to solve this.

Thank you @Swiftb0y , I'll try to get the float samples from mp3 file. Moreover, I've found that in [ibsh](https://github.com/ibsh)'s repo [is_KeyFinder](https://github.com/ibsh/is_KeyFinder), he used [libav](https://github.com/libav/libav) to process mp3 file and...

@Swiftb0y , I decide to not spend time on understanding the decoding code now. I do as the 'basic.cpp' do, and the audio file is original `.wav` , and then...

And the source code in [libkeyfinder/src/fftadapter.cpp](https://github.com/mixxxdj/libkeyfinder/blob/01883ff119bf32a8ab5de16af2484f26104808d3/src/fftadapter.cpp#L61): ` void FftAdapter::setInput(unsigned int i, double real) { if (i >= frameSize) { std::ostringstream ss; ss

Thank you @Swiftb0y , I tried `b.setFrameRate(ffile->audioProperties()->sampleRate() / ffile->audioProperties()->channels());`, and still got the same exception from keyfinder.

It's ok, thanks for your help.

Well, after using `ln -s /opt/homebrew/opt/[email protected]/bin/python3.8 /opt/homebrew/opt/[email protected]/bin/python3`, the error was gone, but new error comes ``` ==> Installing gaia from mtg/essentia /usr/bin/env tar --extract --no-same-owner --file /Users/5pacedo9/Library/Caches/Homebrew/downloads/1cbcb6e389d8f4d52cd3a3a31989443d3a5f4b6a29e4443e3b3bfd6f14d7245d--v2.4.6.tar.gz --directory /private/tmp/d20240118-19055-4sv8ao /usr/bin/env...

In addition, there's another way to install the exact numpy that essentia wants, just cd to the brew folder`cd /opt/homebrew/Cellar/[email protected]/bin` and `python3.9 -m pip3.9 install numpy`, and then the 'missing...