I’m trying to use the code to detect beats in a song. I looked a Minim.BeatDetect class that i found in several examples:
but when i try this sketch it gives me an error in the detect() function call:
The function detect(AudioBuffer) does not exist.
I’m a little new to Processing, so i hope i’m not doing anything wrong with the way i added the library(i went to library manager and just looked for minim and adeed it)
It looks to me like you loaded the latest library, but copied an old example from an old library off the forum. The latest beat detection examples (shown in the screenshot above) are:
this is so weird. the example works. I if copy entire code of the example to my file (beatDetect.pde) it gives me the same error on the same line.
not sure I understand why.
I saved the example on another folder and then that one works.
Strange. Maybe you have a tab or a subfolder in the broken sketch with a bad copy of the library jar, or with invalid code causing the error? Start from the clean copy – and good luck!