Package | org.si.sound |
Class | public class BassSequencer |
Inheritance | BassSequencer ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
changePatternOnNextSegment : Boolean True to change bass line pattern at the head of segment. | BassSequencer | ||
chordName : String specify chord by name | BassSequencer | ||
![]() | coarseTune : int Master coarse tuning, 1 for half-tone. | SoundObject | |
![]() | delay : Number Sound delay, uint in 16th beat. | SoundObject | |
![]() | 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] Bass note of chord | BassSequencer | ||
![]() | 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 | |
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 | ||
![]() | pitchBend : Number Channel pitch bend, 1 for halftone, this property can control track after play(). | SoundObject | |
![]() | portament : int portament | PatternSequencer | |
presetPattern : BassSequencerPresetPattern [read-only] Preset pattern list | BassSequencer | ||
![]() | quantize : Number Synchronizing quantizing, uint in 16th beat. | SoundObject | |
scale : Scale chord instance | BassSequencer | ||
![]() | 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 | ||
---|---|---|---|
BassSequencer(chord:* = null, patternNumber:int = 6, changePatternOnSegment:Boolean = true) constructor
| BassSequencer | ||
![]() | fadeIn(time:Number):void Set fading in. | SoundObject | |
![]() | fadeOut(time:Number):void Set fading out. | SoundObject | |
![]() | play():void [override] start sequence | PatternSequencer | |
![]() | reset():void Reset | SoundObject | |
![]() | setVolume(slot:int, volume:Number):void Set volume by index. | SoundObject | |
![]() | stop():void [override] stop sequence | PatternSequencer |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatch in each frame in PatternSequencer. | BassSequencer | |||
Dispatch in each segment in PatternSequencer. | BassSequencer | |||
![]() | Dispatch when the sound ends. | SoundObject | ||
![]() | Dispatch when the note off appears in the sequence. | SoundObject | ||
![]() | Dispatch when the sound starts. | SoundObject | ||
![]() | Dispatch when the note on appears. | SoundObject |
changePatternOnNextSegment | property |
changePatternOnNextSegment:Boolean
True to change bass line pattern at the head of segment.
The default value is true
.
public function get changePatternOnNextSegment():Boolean
public function set changePatternOnNextSegment(value:Boolean):void
chordName | property |
chordName:String
specify chord by name
public function get chordName():String
public function set chordName(value:String):void
note | property |
note:int
[override] Bass note of chord
public function get note():int
public function set note(value:int):void
pattern | property |
pattern:Array
Number Array of the sequence notes. If the value is 0, insert rest instead.
public function get pattern():Array
public function set pattern(value:Array):void
patternNumber | property |
patternNumber:int
bass line Pattern number
public function get patternNumber():int
public function set patternNumber(value:int):void
patternNumberMax | property |
patternNumberMax:int
[read-only] maximum limit of bass line Pattern number
public function get patternNumberMax():int
presetPattern | property |
presetPattern:BassSequencerPresetPattern
[read-only] Preset pattern list
public function get presetPattern():BassSequencerPresetPattern
scale | property |
scale:Scale
chord instance
public function get scale():Scale
public function set scale(value:Scale):void
BassSequencer | () | Constructor |
public function BassSequencer(chord:* = null, patternNumber:int = 6, changePatternOnSegment:Boolean = true)
constructor
Parameterschord:* (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
enterFrame | Event |
org.si.sound.events.SoundObjectEvent
org.si.sound.events.SoundObjectEvent.ENTER_FRAME
Dispatch in each frame in PatternSequencer.
The properties of the event object have the following values:
Property | Value |
---|---|
cancelable | false |
soundObject | Target SoundObject. |
track | null. no meanings. |
eventTriggerID | Trigger ID specifyed by setEventTrigger(). |
note | Note number. |
bufferIndex | 0. no meanings |
enterSegment | Event |
org.si.sound.events.SoundObjectEvent
org.si.sound.events.SoundObjectEvent.ENTER_SEGMENT
Dispatch in each segment in PatternSequencer.
The properties of the event object have the following values:
Property | Value |
---|---|
cancelable | false |
soundObject | Target SoundObject. |
track | null. no meanings. |
eventTriggerID | Trigger ID specifyed by setEventTrigger(). |
note | 0. no meanings |
bufferIndex | 0. no meanings |