Property | Type | Description | |
---|---|---|---|
Chromatic | |||
HarmonicMinor | |||
Major | |||
MelodicMinorAscending | |||
MelodicMinorDescending | |||
NaturalMinor | |||
Patterns | Midi.ScalePattern[] |
Method | Description | |
---|---|---|
Contains ( Pitch pitch ) : bool |
Returns true if pitch is in this scale.
|
|
Equals ( System obj ) : bool |
Value equality.
|
|
GetHashCode ( ) : int |
Hash code.
|
|
Scale ( Midi.Note tonic, |
Constructs a scale from its tonic and its pattern.
|
|
ScaleDegree ( Pitch pitch ) : int |
Returns the scale degree of the given pitch in this scale.
|
|
ToString ( ) : string |
ToString returns the scale's human-readable name.
|
|
operator ( ) : bool |
Inequality operator does value inequality because Chord is immutable.
|
Method | Description | |
---|---|---|
Build ( Midi.Note tonic, |
Builds a scale.
|
public Contains ( Pitch pitch ) : bool | ||
pitch | Pitch | The pitch to test. |
return | bool |
public Scale ( Midi.Note tonic, |
||
tonic | Midi.Note | The tonic note. |
pattern | The scale pattern. | |
return | System |
public ScaleDegree ( Pitch pitch ) : int | ||
pitch | Pitch | The pitch to test. |
return | int |
public static ScalePattern,Midi HarmonicMinor | ||
return |
public static ScalePattern,Midi MelodicMinorAscending | ||
return |
public static ScalePattern,Midi MelodicMinorDescending | ||
return |
public static ScalePattern,Midi NaturalMinor | ||
return |