Packageorg.si.sound.events
Classpublic class SoundObjectEvent
InheritanceSoundObjectEvent Inheritance flash.events.Event

SoundObjectEvent is dispatched by all SoundObjects.

See also

org.si.sound.SoundObject


Public Properties
 PropertyDefined By
  bufferIndex : int
[read-only] Buffering index.
SoundObjectEvent
  eventTriggerID : int
[read-only] Trigger ID.
SoundObjectEvent
  note : int
[read-only] Note number.
SoundObjectEvent
  soundObject : SoundObject
[read-only] Target sound object
SoundObjectEvent
  track : SiMMLTrack
[read-only] Sequencer track instance.
SoundObjectEvent
Public Constants
 ConstantDefined By
  ENTER_FRAME : String = soundObjectEnterFrame
[static] Dispatch in each frame in PatternSequencer.
SoundObjectEvent
  ENTER_SEGMENT : String = soundObjectEnterSegment
[static] Dispatch in each segment in PatternSequencer.
SoundObjectEvent
  NOTE_OFF_FRAME : String = noteOffFrame
[static] Dispatch when the sound ends.
SoundObjectEvent
  NOTE_OFF_STREAM : String = noteOffStream
[static] Dispatch when the note off appears in the sequence.
SoundObjectEvent
  NOTE_ON_FRAME : String = noteOnFrame
[static] Dispatch when the sound starts.
SoundObjectEvent
  NOTE_ON_STREAM : String = noteOnStream
[static] Dispatch when the note on appears.
SoundObjectEvent
Property Detail
bufferIndexproperty
bufferIndex:int  [read-only]

Buffering index.


Implementation
    public function get bufferIndex():int
eventTriggerIDproperty 
eventTriggerID:int  [read-only]

Trigger ID.


Implementation
    public function get eventTriggerID():int
noteproperty 
note:int  [read-only]

Note number.


Implementation
    public function get note():int
soundObjectproperty 
soundObject:SoundObject  [read-only]

Target sound object


Implementation
    public function get soundObject():SoundObject
trackproperty 
track:SiMMLTrack  [read-only]

Sequencer track instance.


Implementation
    public function get track():SiMMLTrack
Constant Detail
ENTER_FRAMEConstant
public static const ENTER_FRAME:String = soundObjectEnterFrame

Dispatch in each frame in PatternSequencer.

The properties of the event object have the following values:

PropertyValue
cancelablefalse
soundObjectTarget SoundObject.
tracknull. no meanings.
eventTriggerIDTrigger ID specifyed by setEventTrigger().
noteNote number.
bufferIndex0. no meanings

ENTER_SEGMENTConstant 
public static const ENTER_SEGMENT:String = soundObjectEnterSegment

Dispatch in each segment in PatternSequencer.

The properties of the event object have the following values:

PropertyValue
cancelablefalse
soundObjectTarget SoundObject.
tracknull. no meanings.
eventTriggerIDTrigger ID specifyed by setEventTrigger().
note0. no meanings
bufferIndex0. no meanings

NOTE_OFF_FRAMEConstant 
public static const NOTE_OFF_FRAME:String = noteOffFrame

Dispatch when the sound ends.

The properties of the event object have the following values:

PropertyValue
cancelablefalse
soundObjectTarget SoundObject.
trackSiMMLTrack instance executing sequence.
eventTriggerIDTrigger ID specifyed by setEventTrigger().
noteNote number.
bufferIndexBuffering index

NOTE_OFF_STREAMConstant 
public static const NOTE_OFF_STREAM:String = noteOffStream

Dispatch when the note off appears in the sequence.

The properties of the event object have the following values:

PropertyValue
cancelablefalse
soundObjectTarget SoundObject.
trackSiMMLTrack instance executing sequence.
eventTriggerIDTrigger ID specifyed by setEventTrigger().
noteNote number.
bufferIndexBuffering index

NOTE_ON_FRAMEConstant 
public static const NOTE_ON_FRAME:String = noteOnFrame

Dispatch when the sound starts.

The properties of the event object have the following values:

PropertyValue
cancelablefalse
soundObjectTarget SoundObject.
trackSiMMLTrack instance executing sequence.
eventTriggerIDTrigger ID specifyed by setEventTrigger().
noteNote number.
bufferIndexBuffering index

NOTE_ON_STREAMConstant 
public static const NOTE_ON_STREAM:String = noteOnStream

Dispatch when the note on appears.

The properties of the event object have the following values:

PropertyValue
cancelablefalse
soundObjectTarget SoundObject.
trackSiMMLTrack instance executing sequence.
eventTriggerIDTrigger ID specifyed by setEventTrigger().
noteNote number.
bufferIndexBuffering index