## fiddle question

Feb 12, 2010 at 8:34pm

# fiddle question

hi board

the last outlet of miller puckettes fiddle~ outputs sinusoidal peaks and amplitudes… i was wondering if there was any object that did the same thing but at sample rate? i need those numbers to be fast!

also, fiddle~ only seems to think 6 – 8 peaks are important enaugh to output… after that the output is near to zero in amplitude. is there a way to make fiddle~ more sensitive to less dominating peaks?

thank you.

#48461
Feb 12, 2010 at 9:10pm

try sigmund~ – mr puckette’s own successor to fiddle~ – if memory serves me yada yada, you can choose to output more peaks…

#174264
Feb 12, 2010 at 9:42pm

I second trying [sigmund~] (it gives more accurate results than [fiddle~].

Also, you can’t get peaks more than once per hop size – say your hopsize is 512 samples, and your sample rate is 44.1kHz – then the speed of the results is about once every 11ms, for which max messages are fine.

Finally, when you say fiddle~ thinks 6-8 peaks are enough, and that the others have a low amplitude it sounds like you’re not identifying an actual problem with fiddle – it can only output the amplitudes as they are in the input signal. The amplitude’s are measured values, and it’s best for them to be accurate – many sounds will not have that many strong peaks, and also, you should expect many peaks to “near to zero” in amplitude – as amplitude is a linear measurement, whereas your perception is logarithmic. If you use [atodb] on the amplitudes you may get more manageable values to use – depends on what you want them for though

A.

#174265
Feb 12, 2010 at 10:36pm

thanks for the tips

what i want to do is make something that resynthesizes an input signal with an x amount of sinewaves. i want to be able to go from 1 oscillator to maybe 256…

any further thoughts on this?

#174266
Feb 12, 2010 at 10:37pm

Have you looked at oscillators~ from CNMAT? That and SDIF formatted analysis files may help.

#174267
Feb 12, 2010 at 11:23pm

The [sigmund~] help patch has an example. You want to use the track functionality of [sigmund~] which tries to track partials between frames, as well as identifying peaks…..

The CNMAT stuff is also worth checking out

#174268
Feb 15, 2010 at 6:37pm

feh, CNMAT stuff is lame.

Look at the iana~ and transcribe~ objects also.

mz

#174269

You must be logged in to reply to this topic.