Forums > MaxMSP

How To Specify Windowsize for pitch~ or fiddle~?

Mar 08 2010 | 2:25 am

Hi, I am looking to be able to vary the windowsize for either pitch~ or fiddle~. In the documentation, it does not say what message (if there is one) to send either object to change its FFT windowsize. Similarly, in pfft~, there does not seem to be a message to be able to change windowsize. Is this possible for an FFT? I’d like to have an FFT windowsize that matches the size of a grain, for pitch analysis of a single grain.

Mar 08 2010 | 6:31 am

Check the pitch~ help patch.
No message – use the arguments in object.

Args are – def.
Buffer size = 1024
Hop size = 512
FFT size = 1024
Window type = Blackman 70
Initial delay = 0
# of pitches = 1
# of peaks to find = 20
# peaks to output = 0

Hope that helps.

Mar 08 2010 | 9:45 pm

but in that case the grainsize needs to always be the same. i’d like to be able to dynamically change the FFT window size.

Mar 08 2010 | 9:54 pm

I don’t think you can do this dynamically after instantiation. You might have to use multiple instances and route to the one you need.


Mar 09 2010 | 5:45 am

I am afraid you would need to code it yourself either in Java or in c…
But if you just send the sound of a grain to fiddle~, what is the result? It might just be good enough…

Mar 10 2010 | 5:50 am

What about Sigmund~ ? will do what you want.

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

Forums > MaxMSP