Why are you using Gain over adc and not used adc.last directly?

2013/6/8 fernando alonso <[email protected]>:
> 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 <[email protected]>:
>> 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
> [email protected]
> http://roboticnaturalinteraction.com



-- 
Fernando Alonso Martín
[email protected]
http://roboticnaturalinteraction.com
_______________________________________________
chuck-users mailing list
[email protected]
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users

Reply via email to