Back
Class   LiveInput
   
Name  

start()

   
Examples  
void setup() { 
  Sonia.start(this); 
  LiveInput.start(); 
} 

Description   Starts the LiveInput engine. LiveInput will read data from the computer's selected input device(line-in, mic, wave/mp3, etc), as well as Sample and LiveOutput objects that are routed via the mySample.connectLiveInput() command.
   
Syntax  
LiveInput.start()
LiveInput.start(FFT_bins)
   
Parameters  
FFT_bins   int: 8,16, 32, 64, 128, 256, 512, 1024 (default), ... This number specifies the size of the LiveInput.spectrum[] array, which holds the FFT spectrum analysis data. Use larger numbers for more detailed analysis of the input data.

   
Returns   None
   
Usage   Web & Application
   
Related   stop()
getLevel()
getSpectrum()