Packageorg.si.sound
Classpublic class BassSequencer
InheritanceBassSequencer Inheritance PatternSequencer Inheritance SoundObject Inheritance flash.events.EventDispatcher

Bass sequencer provides simple monophonic bass line.



Public Properties
 PropertyDefined By
  changePatternOnNextSegment : Boolean
True to change bass line pattern at the head of segment.
BassSequencer
  chordName : String
specify chord by name
BassSequencer
 InheritedcoarseTune : int
Master coarse tuning, 1 for half-tone.
SoundObject
 Inheriteddelay : Number
Sound delay, uint in 16th beat.
SoundObject
 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] Bass note of chord
BassSequencer
 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
  pattern : Array
Number Array of the sequence notes.
BassSequencer
  patternNumber : int
bass line Pattern number
BassSequencer
  patternNumberMax : int
[read-only] maximum limit of bass line Pattern number
BassSequencer
 InheritedpitchBend : Number
Channel pitch bend, 1 for halftone, this property can control track after play().
SoundObject
 Inheritedportament : int
portament
PatternSequencer
  presetPattern : BassSequencerPresetPattern
[read-only] Preset pattern list
BassSequencer
 Inheritedquantize : Number
Synchronizing quantizing, uint in 16th beat.
SoundObject
  scale : Scale
chord instance
BassSequencer
 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
  
BassSequencer(chord:* = null, patternNumber:int = 6, changePatternOnSegment:Boolean = true)
constructor
BassSequencer
 Inherited
fadeIn(time:Number):void
Set fading in.
SoundObject
 Inherited
fadeOut(time:Number):void
Set fading out.
SoundObject
 Inherited
play():void
[override] start sequence
PatternSequencer
 Inherited
reset():void
Reset
SoundObject
 Inherited
setVolume(slot:int, volume:Number):void
Set volume by index.
SoundObject
 Inherited
stop():void
[override] stop sequence
PatternSequencer
Events
 Event Summary Defined By
   Dispatch in each frame in PatternSequencer.BassSequencer
   Dispatch in each segment in PatternSequencer.BassSequencer
 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
changePatternOnNextSegmentproperty
changePatternOnNextSegment:Boolean

True to change bass line pattern at the head of segment.

The default value is true.


Implementation
    public function get changePatternOnNextSegment():Boolean
    public function set changePatternOnNextSegment(value:Boolean):void
chordNameproperty 
chordName:String

specify chord by name


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

Bass note of chord


Implementation
    public function get note():int
    public function set note(value:int):void
patternproperty 
pattern:Array

Number Array of the sequence notes. If the value is 0, insert rest instead.


Implementation
    public function get pattern():Array
    public function set pattern(value:Array):void
patternNumberproperty 
patternNumber:int

bass line Pattern number


Implementation
    public function get patternNumber():int
    public function set patternNumber(value:int):void
patternNumberMaxproperty 
patternNumberMax:int  [read-only]

maximum limit of bass line Pattern number


Implementation
    public function get patternNumberMax():int
presetPatternproperty 
presetPattern:BassSequencerPresetPattern  [read-only]

Preset pattern list


Implementation
    public function get presetPattern():BassSequencerPresetPattern
scaleproperty 
scale:Scale

chord instance


Implementation
    public function get scale():Scale
    public function set scale(value:Scale):void
Constructor Detail
BassSequencer()Constructor
public function BassSequencer(chord:* = null, patternNumber:int = 6, changePatternOnSegment:Boolean = true)

constructor

Parameters
chord:* (default = null) — Bassline scale or chord or chord name.
 
patternNumber:int (default = 6) — bass line pattern number
 
changePatternOnSegment:Boolean (default = true) — When this is true, pattern and chord are changed at the head of next segment.

See also

Event Detail
enterFrame Event
Event Object Type: org.si.sound.events.SoundObjectEvent
SoundObjectEvent.type property = org.si.sound.events.SoundObjectEvent.ENTER_FRAME

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
enterSegment Event  
Event Object Type: org.si.sound.events.SoundObjectEvent
SoundObjectEvent.type property = org.si.sound.events.SoundObjectEvent.ENTER_SEGMENT

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