From the original SynthMaker forum (2004–2014), with its members’ names and dates.
fabb ·
this schematic lets you open a wav file and then calculates and displays the strongest frequencies.
greetings,
fabb
Notes:
32bit wave files can't get opened
only ~350ms can get recorded due to limitations of the graph primitive
when there are less frequencies in the audio than displayed, an ugly "-1.+INF00" string is displayed for non-present frequencies. tried to fix that, but there's a problem with SM's trigger system.
Version History:
2: added quick fix to display amplitude in dB
3: added possibility to record audio and analyze that (max 350ms)
shows dB text on gui
shows state of loaded wav on gui
gui is only once refreshed when the count is reset / audio is read
philter5 ·
😮 😮 cool 😮 😮
thx for this one fabb 😉
Spirited Machine ·
What's the number to the right of the frequency values? Amplitude? They all seem fairly close, and small. I guess they're in dB?
fabb ·
yes, that's amplitude. i didn't do any conversion of the amplitude values comming out of the FFT, so i guess it's not yet in dB. but it definately should be, i'll check that out. i think remembering of a primitive db converter.
fabb ·
quick and dirty fix until i find out how to set a poststring on every line of a string (unlike the messy way with Hz now).
i consider a effect version with a start & stop button which analyzes the recorded sound. not much to do for that one.
fabb ·
new effect version!
McBarGig ·
I could not get this to do anything? What am I doing wrong..
I Open a wave file, wait for the load, and no numbers change at all?
So,???
fabb ·
maybe the wav file is way too big? try with a small snippet >0.5s first. you can also use it as an effect plugin and record a short sound.
McBarGig ·
Fabb...they are IR files of like 1-3 milliseconds..But this was the start of what I actually want to do...
Fabb this is actually what I want to do..
[old link]
Thanks man
fabb ·
hm, also doesn't work over here with a newer sm version. something in the "x max" module is going wrong.
McBarGig ·
OK....Never thought about version issues...
djbrynte ·
wow man ur good at maths :P
oddson ·
There seems to be an update problem here... I only get reading once I click the back-end of the dB converter to prompt an update.
Also... the very low dB readings seem wrong... are you supposed to exclude the first value from the result array?
fabb ·
hm, i just took the amplitude values from the fft and used the db converter primitive. did the trigger ordering got confused? i remember thinking it through quite often...
with version issues you mean there's a bug in SM?
McBarGig ·
Well I don't mean its a bug, but this did work in earlier versions of SM. So something has changed version to version?
fabb ·
maybe the allowed count of trigger loops has been reduced even more? on the other side, i don't see any red-dotted connections.
aliasant ·
fabb wrote: maybe the allowed count of trigger loops has been reduced even more? on the other side, i don't see any red-dotted connections.
I had a similar problem were I got the red dotted line. I solved it by using a timer and delay the trig 1ms for each module.
McBarGig ·
Interesting ali
Large ·
I loaded a 350 ms wave file and nothing changed. Can you please update this to work?
Also, can you add a slider to increase the number and threshhold of identified frequencies?
Also, can you increase the 350ms limit to 1000-5000 ms? Or show me how?
Thank you so much 🙂
Wrote something here? To have a post removed or your name hidden, write to [email protected].