8 Jun
2013
8 Jun
'13
noon
Why are you using Gain over adc and not used adc.last directly?
2013/6/8 fernando alonso
Thanks so much!!!
I did not know the input.last() over Gain. Other user said me that it is possible adc.last() as well.
2013/6/7 Perry Cook
: adc => Gain input => blackhole;
4096 => int SIZE; int myArray[SIZE];
while (true) { for (0 => int i; i < SIZE; i++) { 32768 * input.last() $ int => myArray[i]; // make floats into ints 1.0 :: samp => now; // do this each sample } // do useful things to your array, or spork a function to do that }
-- Fernando Alonso Martín Lualobus@gmail.com http://roboticnaturalinteraction.com
-- Fernando Alonso Martín Lualobus@gmail.com http://roboticnaturalinteraction.com