|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
API providing a factory for notation objects
Method Summary | |
Note[] |
getBaseNotes()
Get an array of the base notes-- that is, with a default modifier (usually natural). |
Interval[] |
getCommonIntervals()
Get an array of the common intervals. |
NoteModifier[] |
getCommonModifiersForNote(Note note)
Get an array of common modifiers for the given base note. |
Note |
getDefaultNote()
Construct a default Note |
NoteModifier |
getDefaultNoteModifierFor(Note n)
Get the default NoteModifier (typically natural) for the given note. |
Chord |
getEmptyChord()
Construct an empty Chord |
Chord |
parseChord(String str)
Parse a Chord from a String |
Chord[] |
parseChordArray(String str)
Parse a Chord array from a String |
Note |
parseNote(String str)
Parse a Note from a String |
Note[] |
parseNoteArray(String str)
Parse a Note array from a String |
String |
unparseChordArray(Chord[] chords)
Generate a string for a chord array |
Method Detail |
public Interval[] getCommonIntervals()
public Note[] getBaseNotes()
public NoteModifier[] getCommonModifiersForNote(Note note)
note
- Note to modify
public NoteModifier getDefaultNoteModifierFor(Note n)
n
- the note
public Note parseNote(String str)
str
- source String
public Note[] parseNoteArray(String str)
str
- source String
public Chord parseChord(String str)
str
- source String
public Chord[] parseChordArray(String str)
str
- source String
public String unparseChordArray(Chord[] chords)
chords
- array of Chords
public Chord getEmptyChord()
public Note getDefaultNote()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |