Package | org.si.sound |
Class | public class MonophonicSynthesizer |
Inheritance | MonophonicSynthesizer ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | coarseTune : int Master coarse tuning, 1 for half-tone. | SoundObject | |
delay : Number [override] Sound delay, uint in 16th beat. | MonophonicSynthesizer | ||
![]() | driver : SiONDriver [read-only] SiONDriver instrance to operate. | SoundObject | |
![]() | effectors : Array Array of SiEffectBase to modify this sound object's output. | SoundObject | |
![]() | effectSend1 : Number Channel effect send level for slot 1 (0:Minimum - 1:Maximum), this property can control track after play(). | SoundObject | |
![]() | effectSend2 : Number Channel effect send level for slot 2 (0:Minimum - 1:Maximum), this property can control track after play(). | SoundObject | |
![]() | effectSend3 : Number Channel effect send level for slot 3 (0:Minimum - 1:Maximum), this property can control track after play(). | SoundObject | |
![]() | effectSend4 : Number Channel effect send level for slot 4 (0:Minimum - 1:Maximum), this property can control track after play(). | SoundObject | |
![]() | eventMask : int Track event mask. | SoundObject | |
![]() | eventTriggerID : int Track event trigger ID | SoundObject | |
![]() | fineTune : Number Master fine tuning, 1 for half-tone, you can specify fineTune<-1 or fineTune>1. | SoundObject | |
![]() | gateTime : Number [override] current length in the sequence, you cannot change this property. | PatternSequencer | |
![]() | isPlaying : Boolean [read-only] is playing ? | SoundObject | |
![]() | length : Number [override] current length in the sequence, you cannot change this property. | PatternSequencer | |
![]() | mute : Boolean Channel mute, this property can control track after play(). | SoundObject | |
![]() | name : String Name. | SoundObject | |
note : int [override] current note in the sequence, you cannot change this property. | MonophonicSynthesizer | ||
![]() | noteOffTriggerType : int [read-only] Track note off trigger type | SoundObject | |
![]() | noteOnTriggerType : int [read-only] Track note on trigger type | SoundObject | |
![]() | onEnterFrame : Function callback on enter frame | PatternSequencer | |
![]() | onEnterSegment : Function callback on enter segment | PatternSequencer | |
![]() | onExitFrame : Function callback on exit frame | PatternSequencer | |
![]() | pan : Number Channel panning (-1:Left - 0:Center - +1:Right), this property can control track after play(). | SoundObject | |
![]() | parent : SoundObjectContainer [read-only] parent container. | SoundObject | |
![]() | pitchBend : Number Channel pitch bend, 1 for halftone, this property can control track after play(). | SoundObject | |
![]() | portament : int portament | PatternSequencer | |
quantize : Number [override] Synchronizing quantizing, uint in 16th beat. | MonophonicSynthesizer | ||
![]() | sequencer : Sequencer [read-only] the Sequencer instance belonging to this PatternSequencer, where the sequence pattern appears. | PatternSequencer | |
![]() | synthesizer : VoiceReference Synthesizer to generate sound | SoundObject | |
![]() | trackID : int [read-only] Track id | SoundObject | |
![]() | voice : SiONVoice Voice data to play | SoundObject | |
![]() | volume : Number Channel volume (0:Minimum - 1:Maximum), this property can control track after play(). | SoundObject |
Method | Defined By | ||
---|---|---|---|
MonophonicSynthesizer(synth:VoiceReference = null) constructor
| MonophonicSynthesizer | ||
![]() | fadeIn(time:Number):void Set fading in. | SoundObject | |
![]() | fadeOut(time:Number):void Set fading out. | SoundObject | |
noteOff():void note off
| MonophonicSynthesizer | ||
noteOn(note:int, velocity:int = 128, length:int = 0):void note on
| MonophonicSynthesizer | ||
play():void [override] start streaming without any sounds | MonophonicSynthesizer | ||
![]() | reset():void Reset | SoundObject | |
![]() | setVolume(slot:int, volume:Number):void Set volume by index. | SoundObject | |
stop():void [override] stop streaming | MonophonicSynthesizer |
delay | property |
delay:Number
[override] Sound delay, uint in 16th beat.
The default value is 0.
.
public function get delay():Number
public function set delay(value:Number):void
note | property |
note:int
[override] current note in the sequence, you cannot change this property.
public function get note():int
public function set note(value:int):void
quantize | property |
quantize:Number
[override] Synchronizing quantizing, uint in 16th beat. (0:No synchronization, 1:sync.with 16th, 4:sync.with 4th).
The default value is 0.
.
public function get quantize():Number
public function set quantize(value:Number):void
MonophonicSynthesizer | () | Constructor |
public function MonophonicSynthesizer(synth:VoiceReference = null)
constructor
Parameterssynth:VoiceReference (default = null ) — synthesizer to play
|
noteOff | () | method |
public function noteOff():void
note off
noteOn | () | method |
public function noteOn(note:int, velocity:int = 128, length:int = 0):void
note on
Parameters
note:int — note number (0-127)
| |
velocity:int (default = 128 ) — velocity (0-128-255)
| |
length:int (default = 0 ) — length (1 = 16th beat length)
|
play | () | method |
override public function play():void
start streaming without any sounds
stop | () | method |
override public function stop():void
stop streaming