Packageorg.si.sound
Classpublic class MonophonicSynthesizer
InheritanceMonophonicSynthesizer Inheritance PatternSequencer Inheritance SoundObject Inheritance flash.events.EventDispatcher

Monophonic synthesizer class provides single voice synthesizer sounding on the beat.



Public Properties
 PropertyDefined By
 InheritedcoarseTune : int
Master coarse tuning, 1 for half-tone.
SoundObject
  delay : Number
[override] Sound delay, uint in 16th beat.
MonophonicSynthesizer
 Inheriteddriver : SiONDriver
[read-only] SiONDriver instrance to operate.
SoundObject
 Inheritedeffectors : Array
Array of SiEffectBase to modify this sound object's output.
SoundObject
 InheritedeffectSend1 : Number
Channel effect send level for slot 1 (0:Minimum - 1:Maximum), this property can control track after play().
SoundObject
 InheritedeffectSend2 : Number
Channel effect send level for slot 2 (0:Minimum - 1:Maximum), this property can control track after play().
SoundObject
 InheritedeffectSend3 : Number
Channel effect send level for slot 3 (0:Minimum - 1:Maximum), this property can control track after play().
SoundObject
 InheritedeffectSend4 : Number
Channel effect send level for slot 4 (0:Minimum - 1:Maximum), this property can control track after play().
SoundObject
 InheritedeventMask : int
Track event mask.
SoundObject
 InheritedeventTriggerID : int
Track event trigger ID
SoundObject
 InheritedfineTune : Number
Master fine tuning, 1 for half-tone, you can specify fineTune<-1 or fineTune>1.
SoundObject
 InheritedgateTime : Number
[override] current length in the sequence, you cannot change this property.
PatternSequencer
 InheritedisPlaying : Boolean
[read-only] is playing ?
SoundObject
 Inheritedlength : Number
[override] current length in the sequence, you cannot change this property.
PatternSequencer
 Inheritedmute : Boolean
Channel mute, this property can control track after play().
SoundObject
 Inheritedname : String
Name.
SoundObject
  note : int
[override] current note in the sequence, you cannot change this property.
MonophonicSynthesizer
 InheritednoteOffTriggerType : int
[read-only] Track note off trigger type
SoundObject
 InheritednoteOnTriggerType : int
[read-only] Track note on trigger type
SoundObject
 InheritedonEnterFrame : Function
callback on enter frame
PatternSequencer
 InheritedonEnterSegment : Function
callback on enter segment
PatternSequencer
 InheritedonExitFrame : Function
callback on exit frame
PatternSequencer
 Inheritedpan : Number
Channel panning (-1:Left - 0:Center - +1:Right), this property can control track after play().
SoundObject
 Inheritedparent : SoundObjectContainer
[read-only] parent container.
SoundObject
 InheritedpitchBend : Number
Channel pitch bend, 1 for halftone, this property can control track after play().
SoundObject
 Inheritedportament : int
portament
PatternSequencer
  quantize : Number
[override] Synchronizing quantizing, uint in 16th beat.
MonophonicSynthesizer
 Inheritedsequencer : Sequencer
[read-only] the Sequencer instance belonging to this PatternSequencer, where the sequence pattern appears.
PatternSequencer
 Inheritedsynthesizer : VoiceReference
Synthesizer to generate sound
SoundObject
 InheritedtrackID : int
[read-only] Track id
SoundObject
 Inheritedvoice : SiONVoice
Voice data to play
SoundObject
 Inheritedvolume : Number
Channel volume (0:Minimum - 1:Maximum), this property can control track after play().
SoundObject
Public Methods
 MethodDefined By
  
constructor
MonophonicSynthesizer
 Inherited
fadeIn(time:Number):void
Set fading in.
SoundObject
 Inherited
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
 Inherited
reset():void
Reset
SoundObject
 Inherited
setVolume(slot:int, volume:Number):void
Set volume by index.
SoundObject
  
stop():void
[override] stop streaming
MonophonicSynthesizer
Events
 Event Summary Defined By
 Inherited Dispatch when the sound ends.SoundObject
 Inherited Dispatch when the note off appears in the sequence.SoundObject
 Inherited Dispatch when the sound starts.SoundObject
 Inherited Dispatch when the note on appears.SoundObject
Property Detail
delayproperty
delay:Number[override]

Sound delay, uint in 16th beat.

The default value is 0..


Implementation
    public function get delay():Number
    public function set delay(value:Number):void
noteproperty 
note:int[override]

current note in the sequence, you cannot change this property.


Implementation
    public function get note():int
    public function set note(value:int):void
quantizeproperty 
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..


Implementation
    public function get quantize():Number
    public function set quantize(value:Number):void
Constructor Detail
MonophonicSynthesizer()Constructor
public function MonophonicSynthesizer(synth:VoiceReference = null)

constructor

Parameters
synth:VoiceReference (default = null) — synthesizer to play
Method Detail
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