inheritance tree
Score.temporalElement
|
|
|
PitchClassCollection
|
|
|
Chord InScaleMixinForChord
| |
`----------+---------'
|
DiatonicChord
class definition
[concrete class] Defines a Chord which relates to a Scale (the Scale is defined by getScales and isRelatedScale). When the parameter value of inScaleB (a 0/1 integer) = 1, then all Chord pitch classes are diatonic, i.e. they are also pitch classes of the related Scale.
See doc for Chord and InScaleMixinForChord for further details.
class DiatonicChord (Inheritance-free)
feat !ChordType !InScaleMixinForChordType !PitchClassCollectionType label
attr chordPCsInScale dbFeatures inScaleB index pitchClasses relatedScaleBs root scales transposition untransposedPitchClasses untransposedRoot
- degreeToPC(Degree Accidental PC)
Constraints PC (FD int) to Degree with Accidental (FD ints) in self.
NOTE: very weak propagation -- self must first be determined
- getChordPCsInScale(X)
- getDB(X)
The chord database is defined by DB.setDB. getDB returns the internal representation of this database (see the DB.setDB for more details).
- getDBFeature(X Feat)
Returns the value (FD int or FS) of the additional feature Feat.
- getDBFeatures(X)
Returns a record with the additional features defined in the database and 'announced' to self with the init argument dbFeatures.
- getInScaleB(X)
- getInScaleBParameter(X)
- getIndex(X)
- getIndexParameter(X)
- getInitInfo($ ...)
- getPitchClasses(X)
- getRelatedScaleBs(X)
Returns a list of 0/1-integers returned by {Map {} }. and are the functions given to initInScaleMixinForNote.
- getRoot(X)
- getRootParameter(X)
- getScales(X)
Returns the list of candidate scale objects, i.e. the value returned by the proc set via the getScales init argument.
- getTransposition(X)
- getTranspositionParameter(X)
- getUntransposedPitchClasses(X)
- getUntransposedRoot(X)
- getUntransposedRootParameter(X)
- init(...)
- initInScaleMixinForChord(...)
- isInScale(B)
see doc InChordMixinForNote, isInChord
- toPPrintRecord(X excluded:Excluded features:Features)
end