I’ve been trying to keep track of the amplitude and central frequency of the highest 4 peaks of an audio signal with the help of fft~ and/or other related processes. I’m feeling really dumb and frustrated lately, going circles around the same thing with no results.
So far, the closest thing that I’ve found to my interests is the zsa.freqpeak~ object (Picture attached), which apparently does exactly what I want, BUT, it displays the information on an LCD. I need to be able to extract this list of coordinates and tell the location and magnitude of every one of the peaks that I want to follow, but I really have no idea how to do this.
In short, needing an FFT~ for dummies guide.
Thanks a lot in advance!
The abstraction in the help file, zsa.easy_freqpeak~, outputs a list of pairs: frequency and amplitude. Isn’t that exactly what you’re asking for?
Does the [zl.iter 2] help you digest that list?
Thanks for your response. Thats exactly what I figured out but whenever I tried to print the lists I would receeve nothing, I just noticed the zsa package wasn’t properly installed and now I’ve finally found the data I was looking for.
I am having the same issue where printing the list doesn’t end up doing anything. What did you do Wannabeafrog, to get this working? Any help is greatly appreciated. Thank you.
How does the help file of zsa.freqpeak~ performs?
I can’t recall exactly what was happening but I remember it was related to some step I missed when installing the zsa package, I’d recommend you to check the installation instructions and follow through carefully.
There should just be one step, move the folder in the package folder ;-)