Hi there,
I am doing a project with Minim and could use some help. I have a sound sample loaded into a sketch. I want the output volume of that sound sample to change in conjunction with an input volume. The input volume is coming from a line in. when i breath into the microphone, it detects the sound and the input volume level changes... So my strategy is to tell the sketch to adjust .shiftGain when the input volume changes. My problem is not understanding what set up as the threshold.
When there is no mic activity, i get the following example of input volume level println:
5.0848996E-4
6.7665864E-4
1.4656829E-4
When i blow into the mic, i get the following example in my input level println:
0.0054421355
0.0048715393
0.0029166096
Can anyone tell me what "E-4" means?
My guess has been to define a range would be to say if the volume is < 0.9 then send the volume up, else send the volume down.
Well, this isn't working. If anyone has any thoughts. I would appreciate the help.
robin
1