Packageorg.si.sound.patterns
Classpublic class Sequencer
InheritanceSequencer Inheritance Object

The Sequencer class provides simple one track pattern player.



Public Properties
 PropertyDefined By
  defaultGateTime : Number
default gate time, this value is refered when the Note's gate time property is Number.NaN.
Sequencer
  defaultLength : Number
default length, this value is refered when the Note's length property is Number.NaN.
Sequencer
  defaultNote : int
default note (0-127), this value is refered when the Note's note property is under 0 (ussualy -1).
Sequencer
  defaultVelocity : int
default velocity (minimum:0 - maximum:255, the value over 128 makes distotion), this value is refered when the Note's velocity property is under 0 (ussualy -1).
Sequencer
  division : int
Frame divition of 1 measure.
Sequencer
  eventTriggerID : int
Track event trigger ID
Sequencer
  frameCount : int
[read-only] current frame count, -1 means waiting for start
Sequencer
  gateTime : Number
[read-only] curent note's gate time (0-1).
Sequencer
  length : Number
[read-only] curent note's length.
Sequencer
  mute : Boolean
mute
Sequencer
  nextPattern : Vector.<Note> = null
next pattern, the pattern property is replaced to this vector at the head of next segment
Sequencer
  note : int
[read-only] curent note number (0-127)
Sequencer
  noteOffTriggerType : int
[read-only] Track note off trigger type
Sequencer
  noteOnTriggerType : int
[read-only] Track note on trigger type
Sequencer
  pattern : Vector.<Note> = null
pattern note vector to play
Sequencer
  sequencePointer : int
sequence pointer, -1 means waiting for start
Sequencer
  velocity : int
[read-only] curent note's velocity (minimum:0 - maximum:255, the value over 128 makes distotion).
Sequencer
  voiceList : Array = null
voice list referenced by Note.voiceIndex.
Sequencer
Property Detail
defaultGateTimeproperty
defaultGateTime:Number

default gate time, this value is refered when the Note's gate time property is Number.NaN.


Implementation
    public function get defaultGateTime():Number
    public function set defaultGateTime(value:Number):void
defaultLengthproperty 
defaultLength:Number

default length, this value is refered when the Note's length property is Number.NaN.


Implementation
    public function get defaultLength():Number
    public function set defaultLength(value:Number):void
defaultNoteproperty 
defaultNote:int

default note (0-127), this value is refered when the Note's note property is under 0 (ussualy -1).


Implementation
    public function get defaultNote():int
    public function set defaultNote(value:int):void
defaultVelocityproperty 
defaultVelocity:int

default velocity (minimum:0 - maximum:255, the value over 128 makes distotion), this value is refered when the Note's velocity property is under 0 (ussualy -1).


Implementation
    public function get defaultVelocity():int
    public function set defaultVelocity(value:int):void
divisionproperty 
division:int

Frame divition of 1 measure. Set 16 to play notes in 16th beats.


Implementation
    public function get division():int
    public function set division(value:int):void
eventTriggerIDproperty 
eventTriggerID:int

Track event trigger ID


Implementation
    public function get eventTriggerID():int
    public function set eventTriggerID(value:int):void
frameCountproperty 
frameCount:int  [read-only]

current frame count, -1 means waiting for start


Implementation
    public function get frameCount():int
gateTimeproperty 
gateTime:Number  [read-only]

curent note's gate time (0-1).


Implementation
    public function get gateTime():Number
lengthproperty 
length:Number  [read-only]

curent note's length.


Implementation
    public function get length():Number
muteproperty 
mute:Boolean

mute


Implementation
    public function get mute():Boolean
    public function set mute(value:Boolean):void
nextPatternproperty 
public var nextPattern:Vector.<Note> = null

next pattern, the pattern property is replaced to this vector at the head of next segment

See also

pattern
noteproperty 
note:int  [read-only]

curent note number (0-127)


Implementation
    public function get note():int
noteOffTriggerTypeproperty 
noteOffTriggerType:int  [read-only]

Track note off trigger type


Implementation
    public function get noteOffTriggerType():int
noteOnTriggerTypeproperty 
noteOnTriggerType:int  [read-only]

Track note on trigger type


Implementation
    public function get noteOnTriggerType():int
patternproperty 
public var pattern:Vector.<Note> = null

pattern note vector to play

sequencePointerproperty 
sequencePointer:int

sequence pointer, -1 means waiting for start


Implementation
    public function get sequencePointer():int
    public function set sequencePointer(value:int):void
velocityproperty 
velocity:int  [read-only]

curent note's velocity (minimum:0 - maximum:255, the value over 128 makes distotion).


Implementation
    public function get velocity():int
voiceListproperty 
public var voiceList:Array = null

voice list referenced by Note.voiceIndex.

See also

org.si.sound.Note.voiceIndex