Back
Class   LiveInput
   
Name  

useEnvelope()

   
Examples  
void setup(){ 
  Sonia.start(this); 
  LiveInput.start(); 
  LiveInput.useEnvelope(true,1.2); 
} 
. 
. 
. 

Description   Use an envelope for filtering (windowing) on the FFT signal. This command 'beautifies' the FFT data by smoothing the values. Experiment with various Envelope curves to achieve desired results
   
Syntax  
LiveInput.useEnvelope(flag)
LiveInput.useEnvelope(flag, curve)
   
Parameters  
curve   float: Determines the envelope's curve

flag   boolean: Turns the Envelope procedure ON (true) or OFF (false)

   
Returns   None
   
Usage   Web & Application
   
Related   getSpectrum()