Constructor
new Scale()
- Source:
- See:
Members
semitones
The size of the scale in semitones (keys on a piano keyboard). For most scales, this value will be 12, which means the scale repeats every octave. In other words, when this is 12, if the scale starts on a C, it will end on the next higher C.
- Source:
Methods
pitch(relativePitch, octave) → {Pitch}
Parameters:
Name | Type | Description |
---|---|---|
relativePitch |
Number | RelativePitch | |
octave |
Number |
- Source:
Returns:
- Type
- Pitch
pitchClass(relativePitch) → {PitchClass}
Parameters:
Name | Type | Description |
---|---|---|
relativePitch |
Number | RelativePitch |
- Source:
Returns:
- Type
- PitchClass