Package | org.si.sound |
Class | public class ChordPad |
Inheritance | ChordPad ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
changePatternOnSegment : Boolean True to change bass line pattern at the head of segment. | ChordPad | ||
chord : Chord chord instance | ChordPad | ||
chordName : String specify chord by name | ChordPad | ||
![]() | 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 Track gate time (0:Minimum - 1:Maximum). | SoundObject | |
![]() | isPlaying : Boolean [read-only] is playing ? | SoundObject | |
![]() | length : Number Sound length in 16th beat, 0 sets inifinity length. | SoundObject | |
![]() | mute : Boolean Channel mute, this property can control track after play(). | SoundObject | |
![]() | name : String Name. | SoundObject | |
note : int [override] root note of current chord | ChordPad | ||
noteLength : Number note length in 16th beat. | ChordPad | ||
![]() | noteOffTriggerType : int [read-only] Track note off trigger type | SoundObject | |
![]() | noteOnTriggerType : int [read-only] Track note on trigger type | SoundObject | |
operatorCount : int [read-only] Number of monophonic operators | ChordPad | ||
operators : Vector.<Sequencer> [read-only] list of monophonic operators | ChordPad | ||
![]() | 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' length. | ChordPad | ||
![]() | pitchBend : Number Channel pitch bend, 1 for halftone, this property can control track after play(). | SoundObject | |
![]() | quantize : Number Synchronizing quantizing, uint in 16th beat. | SoundObject | |
![]() | synthesizer : VoiceReference Synthesizer to generate sound | SoundObject | |
![]() | trackCount : int [read-only] Returns the number of tracks. | MultiTrackSoundObject | |
![]() | trackID : int [read-only] Track id | SoundObject | |
![]() | voice : SiONVoice Voice data to play | SoundObject | |
voiceMode : int voicing mode | ChordPad | ||
![]() | volume : Number Channel volume (0:Minimum - 1:Maximum), this property can control track after play(). | SoundObject |
Method | Defined By | ||
---|---|---|---|
ChordPad(chord:* = null, operatorCount:int = 3, voiceMode:int, pattern:Array = null, changePatternOnSegment:Boolean = true) constructor
| ChordPad | ||
![]() | fadeIn(time:Number):void Set fading in. | SoundObject | |
![]() | fadeOut(time:Number):void Set fading out. | SoundObject | |
play():void [override] play drum sequence | ChordPad | ||
![]() | reset():void Reset | SoundObject | |
![]() | setVolume(slot:int, volume:Number):void Set volume by index. | SoundObject | |
stop():void [override] stop sequence | ChordPad |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatch in each frame in PatternSequencer. | ChordPad | |||
Dispatch in each segment in PatternSequencer. | ChordPad | |||
![]() | 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 |
Constant | Defined By | ||
---|---|---|---|
CLOSED : int = 0x543210 [static] closed voicing mode [o5c,o5e,o5g,o5b,o6e,o6g] for CM7 | ChordPad | ||
HIGH : int = 0x765432 [static] high-position voicing mode [o5g,o5b,o6e,o6g,o6b,o7e] for CM7 | ChordPad | ||
MIDDLE : int = 0x654321 [static] middle-position voicing mode [o5e,o5g,o5b,o6e,o6g,o6b] for CM7 | ChordPad | ||
OPENED : int = 0x654320 [static] opened voicing mode [o5c,o5g,o5b,o6e,o6g,o6b] for CM7 | ChordPad | ||
OPENED_HIGH : int = 0x876542 [static] opened high-position voicing mode [o5g,o6e,o6g,o6b,o7e,o7g] for CM7 | ChordPad |
changePatternOnSegment | property |
changePatternOnSegment:Boolean
True to change bass line pattern at the head of segment.
The default value is true
.
public function get changePatternOnSegment():Boolean
public function set changePatternOnSegment(value:Boolean):void
chord | property |
chord:Chord
chord instance
The default value is Chord("C")
.
public function get chord():Chord
public function set chord(value:Chord):void
chordName | property |
chordName:String
specify chord by name
The default value is "C"
.
public function get chordName():String
public function set chordName(value:String):void
note | property |
note:int
[override] root note of current chord
The default value is 60
.
public function get note():int
public function set note(value:int):void
noteLength | property |
noteLength:Number
note length in 16th beat.
public function get noteLength():Number
public function set noteLength(value:Number):void
operatorCount | property |
operatorCount:int
[read-only] Number of monophonic operators
public function get operatorCount():int
operators | property |
operators:Vector.<Sequencer>
[read-only] list of monophonic operators
public function get operators():Vector.<Sequencer>
pattern | property |
pattern:Array
Number Array of the sequence notes' length. If the value is 0, insert rest instead.
public function get pattern():Array
public function set pattern(value:Array):void
voiceMode | property |
voiceMode:int
voicing mode
The default value is CLOSED
.
public function get voiceMode():int
public function set voiceMode(value:int):void
ChordPad | () | Constructor |
public function ChordPad(chord:* = null, operatorCount:int = 3, voiceMode:int, pattern:Array = null, changePatternOnSegment:Boolean = true)
constructor
Parameterschord:* (default = null ) — org.si.sion.utils.Chord, chord name String or null is suitable.
| |
operatorCount:int (default = 3 ) — Number of monophonic operators (1-6).
| |
voiceMode:int (default = NaN ) — Voicing mode.
| |
pattern:Array (default = null ) — Number Array of the sequence notes' length. If the value is 0, insert rest instead.
| |
changePatternOnSegment:Boolean (default = true ) — When this is true, pattern and chord are changed at the head of next segment.
|
play | () | method |
override public function play():void
play drum sequence
stop | () | method |
override public function stop():void
stop sequence
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 |
CLOSED | Constant |
public static const CLOSED:int = 0x543210
closed voicing mode [o5c,o5e,o5g,o5b,o6e,o6g] for CM7
See also
HIGH | Constant |
public static const HIGH:int = 0x765432
high-position voicing mode [o5g,o5b,o6e,o6g,o6b,o7e] for CM7
See also
MIDDLE | Constant |
public static const MIDDLE:int = 0x654321
middle-position voicing mode [o5e,o5g,o5b,o6e,o6g,o6b] for CM7
See also
OPENED | Constant |
public static const OPENED:int = 0x654320
opened voicing mode [o5c,o5g,o5b,o6e,o6g,o6b] for CM7
See also
OPENED_HIGH | Constant |
public static const OPENED_HIGH:int = 0x876542
opened high-position voicing mode [o5g,o6e,o6g,o6b,o7e,o7g] for CM7
See also