Back
Class   Sonia
   
Name  

start()

   
Examples  
void setup() { 
  size(200,200); 
  Sonia.start(this, 44100); 
} 

Description   Ensures the proper startup of Sonia, and provides various performance options. The default sample rate is 44100 kHz. Lowering the sample rate will increase performance. This command must be placed at the top of the setup() event (see example) in order to use the Sonia engine.
   
Syntax  
Sonia.start(this)
Sonia.start(this,rate)
   
Parameters  
this   ensures the proper start up of Sonia

rate   int: 0 to 88200 kHz

   
Returns   None
   
Usage   Web & Application
   
Related   stop()