| Property | Defined By | ||
|---|---|---|---|
| bassNote : int [override]  bass note number, lowest note of "On Chord".  | Chord | ||
![]()  | centerOctave : int  center octave   | Scale | |
| name : String [override]  Chord name.  | Chord | ||
![]()  | rootNote : int  root note number   | Scale | |
| Property | Defined By | ||
|---|---|---|---|
| _bassNoteOffset : int  bass note offset from root   | Chord | ||
| _chordTableDictionary : * [static]  chord table dictionary   | Chord | ||
![]()  | _defaultCenterOctave : int  default center octave, this apply when there are no octave specification.  | Scale | |
![]()  | _noteNames : Array [static]  note names   | Scale | |
![]()  | _scaleName : String  scale name   | Scale | |
![]()  | _scaleNotes : Vector.<int>  notes on the scale   | Scale | |
![]()  | _scaleTable : int  scale table   | Scale | |
![]()  | _scaleTableDictionary : * [static]  scale table dictionary   | Scale | |
![]()  | _tensionNotes : Vector.<int>  notes on 1octave upper scale  | Scale | |
| Method | Defined By | ||
|---|---|---|---|
Chord(chordName:String, defaultCenterOctave:int = 5)  constructor 
            | Chord | ||
![]()  | check(note:int):Boolean  check note availability on this scale.  | Scale | |
[override]  copy from another chord
            | Chord | ||
![]()  | getNote(index:int):int  get note by index on this scale.  | Scale | |
![]()  | getScaleIndex(note:int):int  get scale index from note.  | Scale | |
![]()  | setScaleTable(name:String, rootNote:int, table:Array):void  set scale table manualy.  | Scale | |
![]()  | shift(note:int):int  shift note to the nearest note on this scale.  | Scale | |
| Method | Defined By | ||
|---|---|---|---|
_errorInvalidChordName(name:String):Error  Invalid chord name error   | Chord | ||
![]()  | _errorInvalidScaleName(name:String):Error  Invalid scale name error   | Scale | |
| Constant | Defined By | ||
|---|---|---|---|
| CT_69TH : int = 0x1204211 [static]  Chord table of C69   | Chord | ||
| CT_7TH : int = 0x0490491 [static]  Chord table of C7   | Chord | ||
| CT_9TH : int = 0x0484491 [static]  Chord table of C9   | Chord | ||
| CT_ADD9 : int = 0x1084091 [static]  Chord table of Cadd9   | Chord | ||
| CT_AUG : int = 0x1111111 [static]  Chord table of Carg   | Chord | ||
| CT_DIM : int = 0x1489489 [static]  Chord table of Cdim   | Chord | ||
| CT_MAJ7 : int = 0x0890891 [static]  Chord table of CM7   | Chord | ||
| CT_MAJ9 : int = 0x0884891 [static]  Chord table of CM9   | Chord | ||
| CT_MAJOR : int = 0x1091091 [static]  Chord table of C   | Chord | ||
| CT_MIN69 : int = 0x1204209 [static]  Chord table of Cm69   | Chord | ||
| CT_MIN7 : int = 0x0488489 [static]  Chord table of Cm7   | Chord | ||
| CT_MIN9 : int = 0x0484489 [static]  Chord table of Cm9   | Chord | ||
| CT_MINADD9 : int = 0x1084089 [static]  Chord table of Cmadd9   | Chord | ||
| CT_MINOR : int = 0x1089089 [static]  Chord table of Cm   | Chord | ||
| CT_MM7 : int = 0x0888889 [static]  Chord table of CmM7   | Chord | ||
| CT_MM9 : int = 0x0884889 [static]  Chord table of CmM9   | Chord | ||
| CT_SUS4 : int = 0x10a10a1 [static]  Chord table of Csus4   | Chord | ||
| CT_SUS47 : int = 0x04a04a1 [static]  Chord table of Csus47   | Chord | ||
![]()  | ST_BLUE_NOTE : int = 0x14e94e9 [static]  Scale table of Cb   | Scale | |
![]()  | ST_CHROMATIC : int = 0x1ffffff [static]  Scale table of Cc   | Scale | |
![]()  | ST_COMB_DIMINISH : int = 0x16db6db [static]  Scale table of Ccd   | Scale | |
![]()  | ST_DIMINISH : int = 0x1249249 [static]  Scale table of Cd   | Scale | |
![]()  | ST_DORIAN : int = 0x16ad6ad [static]  Scale table of Cdor   | Scale | |
![]()  | ST_DPERFECT : int = 0x14a14a1 [static]  Scale table of Csus47   | Scale | |
![]()  | ST_GYPSY : int = 0x19b39b3 [static]  Scale table of Cgyp   | Scale | |
![]()  | ST_HANGARIAN : int = 0x1acdacd [static]  Scale table of Chan   | Scale | |
![]()  | ST_HARMONIC_MINOR : int = 0x19ad9ad [static]  Scale table of Chm   | Scale | |
![]()  | ST_JAPANESE : int = 0x14a54a5 [static]  Scale table of Cjap   | Scale | |
![]()  | ST_LOCRIAN : int = 0x156b56b [static]  Scale table of Cloc   | Scale | |
![]()  | ST_LYDIAN : int = 0x1ad5ad5 [static]  Scale table of Clyd   | Scale | |
![]()  | ST_MAJOR : int = 0x1ab5ab5 [static]  Scale table of C   | Scale | |
![]()  | ST_MELODIC_MINOR : int = 0x1aadaad [static]  Scale table of Cmm   | Scale | |
![]()  | ST_MINOR : int = 0x15ad5ad [static]  Scale table of Cm   | Scale | |
![]()  | ST_MINOR_PENTATONIC : int = 0x14a94a9 [static]  Scale table of Cmp   | Scale | |
![]()  | ST_MIXOLYDIAN : int = 0x16b56b5 [static]  Scale table of Cmix   | Scale | |
![]()  | ST_PENTATONIC : int = 0x1295295 [static]  Scale table of Cp   | Scale | |
![]()  | ST_PERFECT : int = 0x10a10a1 [static]  Scale table of Csus4   | Scale | |
![]()  | ST_PHRIGIAN : int = 0x15ab5ab [static]  Scale table of Cphr   | Scale | |
![]()  | ST_POWER : int = 0x1081081 [static]  Scale table of C5   | Scale | |
![]()  | ST_RYUKYU : int = 0x18b18b1 [static]  Scale table of Cryu   | Scale | |
![]()  | ST_SPANISH : int = 0x15ab5ab [static]  Scale table of Cspa   | Scale | |
![]()  | ST_UNISON : int = 0x1001001 [static]  Scale table of Cu   | Scale | |
![]()  | ST_WHOLE_TONE : int = 0x1555555 [static]  Scale table of Cw   | Scale | |
| _bassNoteOffset | property | 
protected var _bassNoteOffset:intbass note offset from root
| _chordTableDictionary | property | 
protected static var _chordTableDictionary:*chord table dictionary
| bassNote | property | 
bassNote:int[override] bass note number, lowest note of "On Chord".
    public function get bassNote():int    public function set bassNote(value:int):void| name | property | 
name:String[override] Chord name. The regular expression of name is /(o[0-9])?([A-Ga-g])([+#\-])?([a-z0-9]+)?(,[0-9]+[+#\-]?)?(,[0-9]+[+#\-]?)?/. The 1st letter means center octave. default octave = 5 (when omit). The 2nd letter means root note. The 3nd letter (option) means note shift sign. "+" and "#" shift +1, "-" shifts -1. The 4th letters (option) means chord as follows.
| the 3rd letters | chord | 
|---|---|
| (no matching), maj | Major chord | 
| m | Minor chord | 
| 7 | 7th chord | 
| m7 | Minor 7th chord | 
| M7 | Major 7th chord | 
| mM7 | Minor major 7th chord | 
| 9 | 9th chord | 
| m9 | Minor 9th chord | 
| M9 | Major 9th chord | 
| mM9 | Minor major 9th chord | 
| add9 | Add 9th chord | 
| madd9 | Minor add 9th chord | 
| 69 | 6,9th chord | 
| m69 | Minor 6,9th chord | 
| sus4 | Sus4 chord | 
| sus47 | Sus4 7th chord | 
| dim | Diminish chord | 
| arg | Augment chord | 
    public function get name():String    public function set name(value:String):void| Chord | () | Constructor | 
public function Chord(chordName:String, defaultCenterOctave:int = 5)constructor
ParameterschordName:String — chord name.
           | |
defaultCenterOctave:int (default = 5) — default center octave, this apply when there are no octave specification.
           | 
See also
| _errorInvalidChordName | () | method | 
 protected function _errorInvalidChordName(name:String):ErrorInvalid chord name error
Parameters
name:String | 
Error | 
| copyFrom | () | method | 
override public function copyFrom(src:Scale):Scalecopy from another chord
Parameters
src:Scale — another Chord instance copy from
          | 
Scale | 
| CT_69TH | Constant | 
protected static const CT_69TH:int = 0x1204211Chord table of C69
| CT_7TH | Constant | 
protected static const CT_7TH:int = 0x0490491Chord table of C7
| CT_9TH | Constant | 
protected static const CT_9TH:int = 0x0484491Chord table of C9
| CT_ADD9 | Constant | 
protected static const CT_ADD9:int = 0x1084091Chord table of Cadd9
| CT_AUG | Constant | 
protected static const CT_AUG:int = 0x1111111Chord table of Carg
| CT_DIM | Constant | 
protected static const CT_DIM:int = 0x1489489Chord table of Cdim
| CT_MAJ7 | Constant | 
protected static const CT_MAJ7:int = 0x0890891Chord table of CM7
| CT_MAJ9 | Constant | 
protected static const CT_MAJ9:int = 0x0884891Chord table of CM9
| CT_MAJOR | Constant | 
protected static const CT_MAJOR:int = 0x1091091Chord table of C
| CT_MIN69 | Constant | 
protected static const CT_MIN69:int = 0x1204209Chord table of Cm69
| CT_MIN7 | Constant | 
protected static const CT_MIN7:int = 0x0488489Chord table of Cm7
| CT_MIN9 | Constant | 
protected static const CT_MIN9:int = 0x0484489Chord table of Cm9
| CT_MINADD9 | Constant | 
protected static const CT_MINADD9:int = 0x1084089Chord table of Cmadd9
| CT_MINOR | Constant | 
protected static const CT_MINOR:int = 0x1089089Chord table of Cm
| CT_MM7 | Constant | 
protected static const CT_MM7:int = 0x0888889Chord table of CmM7
| CT_MM9 | Constant | 
protected static const CT_MM9:int = 0x0884889Chord table of CmM9
| CT_SUS4 | Constant | 
protected static const CT_SUS4:int = 0x10a10a1Chord table of Csus4
| CT_SUS47 | Constant | 
protected static const CT_SUS47:int = 0x04a04a1Chord table of Csus47