public class LilyPondParserListener extends ParserListenerAdapter
| Constructor and Description |
|---|
LilyPondParserListener() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLyString() |
void |
onChordParsed(Chord chord) |
void |
onInstrumentParsed(byte instrument)
Called when the parser encounters a new instrument selection.
|
void |
onNoteParsed(Note note2)
We may have actually parsed a musical note!
In previous versions of JFugue, ParserListener had separate listeners for parallel notes and sequential notes
(now termed harmonic and melodic notes, respectively)
In this version of JFugue, whether a note is the first note, a harmonic note, or a melodic note is kept
as a property on the Note object itself.
|
void |
onTrackChanged(byte track)
Called when the parser encounters a new track (also known as a channel; previously in JFugue,
known as a Voice).
|
afterParsingFinished, beforeParsingStarts, onBarLineParsed, onChannelPressureParsed, onControllerEventParsed, onFunctionParsed, onKeySignatureParsed, onLayerChanged, onLyricParsed, onMarkerParsed, onNotePressed, onNoteReleased, onPitchWheelParsed, onPolyphonicPressureParsed, onSystemExclusiveParsed, onTempoChanged, onTimeSignatureParsed, onTrackBeatTimeBookmarked, onTrackBeatTimeBookmarkRequested, onTrackBeatTimeRequestedpublic void onTrackChanged(byte track)
ParserListeneronTrackChanged in interface ParserListeneronTrackChanged in class ParserListenerAdaptertrack - the new track event that has been parsedpublic void onInstrumentParsed(byte instrument)
ParserListeneronInstrumentParsed in interface ParserListeneronInstrumentParsed in class ParserListenerAdapterinstrument - the MIDI instrument value that has been parsedpublic void onNoteParsed(Note note2)
ParserListeneronNoteParsed in interface ParserListeneronNoteParsed in class ParserListenerAdapternote2 - The note that was parsed. Please see the Note class for more details about notes!Notepublic void onChordParsed(Chord chord)
onChordParsed in interface ParserListeneronChordParsed in class ParserListenerAdapterpublic java.lang.String getLyString()