| Package | org.si.sound | 
| Class | public class PolyphonicSynthesizer | 
| Inheritance | PolyphonicSynthesizer    MultiTrackSoundObject   SoundObject   flash.events.EventDispatcher | 
| Method | Defined By | ||
|---|---|---|---|
PolyphonicSynthesizer(synth:VoiceReference = null)  constructor 
            | PolyphonicSynthesizer | ||
![]()  | fadeIn(time:Number):void  Set fading in.  | SoundObject | |
![]()  | fadeOut(time:Number):void  Set fading out.  | SoundObject | |
noteOff(note:int, stopWithReset:Boolean = true):void  note off 
            | PolyphonicSynthesizer | ||
noteOn(note:int, velocity:int = 128, length:int = 0):void  note on 
            | PolyphonicSynthesizer | ||
play():void [override]  start streaming without any sounds   | PolyphonicSynthesizer | ||
![]()  | reset():void  Reset   | SoundObject | |
![]()  | setVolume(slot:int, volume:Number):void  Set volume by index.  | SoundObject | |
stop():void [override]  stop all tracks   | PolyphonicSynthesizer | ||
| PolyphonicSynthesizer | () | Constructor | 
public function PolyphonicSynthesizer(synth:VoiceReference = null)constructor
Parameterssynth:VoiceReference (default = null) — synthesizer to play
          | 
| noteOff | () | method | 
 public function noteOff(note:int, stopWithReset:Boolean = true):voidnote off
Parameters
note:int — note number to sound off (0-127)
          | |
stopWithReset:Boolean (default = true) | 
| noteOn | () | method | 
 public function noteOn(note:int, velocity:int = 128, length:int = 0):voidnote on
Parameters
note:int — note number (0-128)
           | |
velocity:int (default = 128) — velocity (0-128-255)
           | |
length:int (default = 0) — length (1 = 16th beat length)
          | 
| play | () | method | 
override public function play():voidstart streaming without any sounds
| stop | () | method | 
override public function stop():voidstop all tracks