Uses of Enum Class
org.jjazz.harmony.api.Degree
Package
Description
Models for harmony objects: note, scale, degree, chord symbol, time signature, etc.
The model of a music phrase for a single instrument, e.g. a bass phrase or a drums phrase.
Objects and helper methods to generate musical phrases from the song and form the final backing track (see SongSequenceBuilder).
-
Uses of Degree in org.jjazz.harmony.api
Modifier and TypeMethodDescriptionTry to fit harmonically degree d to this chord type.Try to fit d to this scale.static Degree
StandardScaleInstance.fitDegree
(Degree d, StandardScaleInstance... ssis) Call fitDegree(d) on each of the StandardScaleInstance and return the first non-null result.ChordType.fitDegreeAdvanced
(ChordType.DegreeIndex di, StandardScaleInstance optScale) Rely on fitDegreeAdvanced(Degree d, optScales).ChordType.fitDegreeAdvanced
(Degree d, StandardScaleInstance optScale) Fit harmonically degree d to this chord type.ChordType.getDegree
(int relPitch) Find the chord type's degree who matches the relative pitch.ChordType.getDegree
(ChordType.DegreeIndex di) The degree corresponding to the specified DegreeIndex.ChordType.getDegree
(Degree.Natural nd) Find the chord type's degree who matches natural degree nd.static Degree
Degree.getDegree
(Degree.Natural n, int alt) Example: n=NINTH, alt=+1, return NINTH_SHARPScale.getDegree
(int relPitch) Get the scale degree corresponding to specified relative pitch, if any.ChordType.getDegreeMostProbable
(int relPitch) Find the most probable degree corresponding to relative pitch for this chordtype.static Degree
Degree.getDegreeMostProbable
(int relPitch) Provide the "most probable" degree for the specified relpitch.static Degree
Returns the enum constant of this class with the specified name.static Degree[]
Degree.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionChordType.getDegrees()
The ordered list of each ChordDegree composing this chord.Degree.getDegrees
(int relPitch) The degrees who match the relative pitch.Scale.getDegrees()
The list of degrees composing this scale.Scale.getDegrees
(Degree.Natural n) Get the scale degrees corresponding to a natural degree.Modifier and TypeMethodDescriptionTry to fit harmonically degree d to this chord type.Try to fit d to this scale.static Degree
StandardScaleInstance.fitDegree
(Degree d, StandardScaleInstance... ssis) Call fitDegree(d) on each of the StandardScaleInstance and return the first non-null result.ChordType.fitDegreeAdvanced
(Degree d, StandardScaleInstance optScale) Fit harmonically degree d to this chord type.ChordType.getDegreeIndex
(Degree d) The degreeIndex of specified degree.int
ChordSymbol.getRelativePitch
(Degree d) Return the relative pitch corresponding to the specified degree of this chord symbol.Modifier and TypeMethodDescriptionChordTypeDatabase.getChordType
(List<Degree> degrees) Get the ChordType which match the specified degrees. -
Uses of Degree in org.jjazz.phrase.api
Modifier and TypeMethodDescriptionSourcePhrase.getDestDegrees
(ExtChordSymbol ecsDest, SourcePhrase.ChordMode chordMode) Map each degree of this source phrase (as returned by getUsedDegrees()) to a degree of the specified destination chord symbol.SourcePhrase.getDestDegrees
(ExtChordSymbol ecsDest, SourcePhrase.ChordMode chordMode) Map each degree of this source phrase (as returned by getUsedDegrees()) to a degree of the specified destination chord symbol.SourcePhrase.getUsedDegrees()
Get all the source chord symbol degrees used in this source phrase. -
Uses of Degree in org.jjazz.rhythmmusicgeneration.api
Modifier and TypeMethodDescriptionUtilities.getRelativePitches
(int rootPitch, Degree[] degrees) Get the relative pitches corresponding to the degrees for a chord symbol whose root=rootPitch.