Forums > MaxMSP

zsa.freqpeak anyone?

August 7, 2013 | 6:25 pm

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!

August 7, 2013 | 9:25 pm

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?

August 8, 2013 | 8:31 am

Hello MZED,

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.

Thanks again!

September 21, 2013 | 6:51 am

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.

September 21, 2013 | 6:42 pm

How does the help file of zsa.freqpeak~ performs?

September 23, 2013 | 8:37 am

Hello AML25,

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.

September 23, 2013 | 12:33 pm

There should just be one step, move the folder in the package folder ;-)

Viewing 7 posts - 1 through 7 (of 7 total)

Forums > MaxMSP