|
Primary FrequencyHi guys, I have a question about the primary frequency patch. I was trying to use this patch to obtain the correspondent midi value from the frequency. But I noticed that, the values of the frequency are not good. Because, when I have no input sound, the patch returns a frequency. I took a print-screen so you can see what I'm trying to say. As you can see in the image, there's nothing in the input level of my microphone. But the patch returns the frequency with the value 5209 (this value it's always changing). Why is that? It should be returning zero. Anyway, here's my patch. After the frequency I use a formula in order to know the correspondent midi value of the frequency. Thank you for your attention.
|
The Primary Frequency patch is trying to make music out of the background noise. It doesn't care how loud the frequencies it picks out are, it just always tries to pick out frequencies. It's up to you as the composition developer to set a threshold for what you consider loud enough to warrant an output frequency.
Use the
Volume Peaks
output of theKineme Audio Input
patch, feed it into aStructure Index Member
to select a channel, feed that into aConditional
to only trigger past a certain threshold, then use that to toggle whether your output is rendered.Thanks, that really makes sense. I don't know why didn't remember that while ago. Thanks, but anyway I can't get very good values. But at least I can know if it is a high pitch or not.