Hi,
So I have the following code
m = Microphone.get();
o = attachAudio(m);
m.setUseEchoSuppression(true);
onEnterFrame = function () {
vol._xscale = m.activityLevel*100;
soundvol = m.activityLevel;
inputname = m.name;
micgain = m.gain+"%";
outputvolume = m.;
freqvolume = \\something
};
As you can see, that code starts taking the input from a microhphone and visualizes the volume as a horizontal bar.
I have the variable freqvolume and I want that to be set to the volume/activityLevel of a certain frequency say 256 Hz (Middle C)
Is that possible?
Thanx
Sam Rudge