|
|||||||||
| Home >> All >> com >> virtuosotechnologies >> asaph >> model >> [ notation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.virtuosotechnologies.asaph.model.notation
Interface NotationFactory

- public interface NotationFactory
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(java.lang.String str)
Parse a Chord from a String |
Chord[] |
parseChordArray(java.lang.String str)
Parse a Chord array from a String |
Note |
parseNote(java.lang.String str)
Parse a Note from a String |
Note[] |
parseNoteArray(java.lang.String str)
Parse a Note array from a String |
java.lang.String |
unparseChordArray(Chord[] chords)
Generate a string for a chord array |
| Method Detail |
getCommonIntervals
public Interval[] getCommonIntervals()
- Get an array of the common intervals.
This is used to construct choosers for intervals.
getBaseNotes
public Note[] getBaseNotes()
- Get an array of the base notes-- that is, with a default modifier (usually natural).
This is used to construct choosers for notes.
getCommonModifiersForNote
public NoteModifier[] getCommonModifiersForNote(Note note)
- Get an array of common modifiers for the given base note.
This is used to construct choosers for notes.
getDefaultNoteModifierFor
public NoteModifier getDefaultNoteModifierFor(Note n)
- Get the default NoteModifier (typically natural) for the given note.
parseNote
public Note parseNote(java.lang.String str)
- Parse a Note from a String
parseNoteArray
public Note[] parseNoteArray(java.lang.String str)
- Parse a Note array from a String
parseChord
public Chord parseChord(java.lang.String str)
- Parse a Chord from a String
parseChordArray
public Chord[] parseChordArray(java.lang.String str)
- Parse a Chord array from a String
unparseChordArray
public java.lang.String unparseChordArray(Chord[] chords)
- Generate a string for a chord array
getEmptyChord
public Chord getEmptyChord()
- Construct an empty Chord
getDefaultNote
public Note getDefaultNote()
- Construct a default Note
|
|||||||||
| Home >> All >> com >> virtuosotechnologies >> asaph >> model >> [ notation overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC