|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.toot.music.tonality.Chord.Voicing
public static class Chord.Voicing
A Chord.Voicing is an aggregation of a theoretical root position (i.e uninverted) Chord with all voicing information such as missing intervals and (one day) octave transpositions of present intervals. It isn't rooted to a pitch though, it's still just in terms of intervals.
Constructor Summary | |
---|---|
Chord.Voicing(Chord chord)
Construct a new Voicing with no missing intervals. |
|
Chord.Voicing(Chord chord,
int[] missingIndices)
Construct a new Voicing with missing intervals. |
Method Summary | |
---|---|
Chord |
getChord()
Get the Chord that this Voicing uses. |
int[] |
getIntervals()
Return the array of intervals that exist after missing intervals have been removed. |
int[] |
getMissingIndices()
Return an array of the indices of the intervals which are missing. |
java.lang.String |
getMissingString()
Get the string representation of the missing intervals. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Chord.Voicing(Chord chord)
chord
- the Chord for this Voicingpublic Chord.Voicing(Chord chord, int[] missingIndices)
chord
- the Chord for this VoicingmissingIndices
- the array of the indices of the missing intervalsMethod Detail |
---|
public Chord getChord()
public int[] getMissingIndices()
public int[] getIntervals()
public java.lang.String getMissingString()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |