How To Specify Windowsize for pitch~ or fiddle~?

Mar 8, 2010 at 2:25am

How To Specify Windowsize for pitch~ or fiddle~?

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.

#48996
Mar 8, 2010 at 6:31am

Hi
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.
Macciza

#176040
Mar 8, 2010 at 9:45pm

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.

#176041
Mar 8, 2010 at 9:54pm

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.

lh

#176042
Mar 9, 2010 at 5:45am

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…

#176043
Mar 10, 2010 at 5:50am

Hi
What about Sigmund~ ? will do what you want. http://crca.ucsd.edu/~tapel/software.html

#176044

You must be logged in to reply to this topic.