inheritance tree
Score.note PitchClassMixin
| |
`--------+----'
|
Note2
class definition
[concrete class] Note2 extends the Strasheela core class Score.note by the parameters pitchClass and octave. In addition, Note2 constrains the relation between the three pitch parameters pitch, pitchClass, and octave. The pitchUnit for Note2 instances are set implicitly and depend on the pitches per octave set by DB.setPitchesPerOctave.
For further details, see the doc for PitchClassMixin.
class Note2 (Inheritance-free)
feat !PitchClassMixinType
attr octave pitchClass
- getInitInfo($ ...)
- getOctave(X)
- getOctaveParameter(X)
- getPitchClass(X)
- getPitchClassParameter(X)
- init(octave:Oct pitchClass:PC ...)
- initPitchClassMixin(octave:Oct pitchClass:PC)
- noteInterval($ MyNote dbFeatures:DBFeats)
Expects a note object MyNote and returns the interval between self and MyNote. If the self is higher than MyNote, then the intervals direction is downwards (i.e. 0). Additional interval features can be specified with the optional argument dbFeatures (default nil).
end