|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfugue.ParserListenerAdapter
org.jfugue.PatternTool
org.jfugue.extras.GetPatternForVoiceTool
public class GetPatternForVoiceTool
Returns all of the MusicString events that are played in the requested Voice (i.e., Channel)
| Constructor Summary | |
|---|---|
GetPatternForVoiceTool(int voice)
|
|
| Method Summary | |
|---|---|
void |
channelPressureEvent(ChannelPressure channelPressure)
Called when the parser encounters a channel pressure event. |
void |
controllerEvent(Controller controller)
Called when the parser encounters a controller event. |
java.lang.String |
getDescription()
Indicates what this PatternTool does. |
java.lang.Object |
getResult()
Returns the result of the pattern tool after it has been executed on a pattern. |
void |
instrumentEvent(Instrument instrument)
Called when the parser encounters an instrument event. |
void |
keySignatureEvent(KeySignature keySig)
Key Signature changes affect the voice regardless of what voice they appear to be in |
void |
layerEvent(Layer layer)
Called when the parser encounters a layer event. |
static void |
main(java.lang.String[] args)
|
void |
measureEvent(Measure measure)
Called when the parser encounters a measure event. |
void |
noteEvent(Note note)
Called when the parser encounters an initial note event. |
void |
parallelNoteEvent(Note note)
Called when the parser encounters a parallel note event. |
void |
pitchBendEvent(PitchBend pitchBend)
Called when the parser encounters a pitch bend event. |
void |
polyphonicPressureEvent(PolyphonicPressure polyphonicPressure)
Called when the parser encounters a polyphonic pressure event. |
void |
reset()
Resets the variables in a subclass of PatternTool. |
void |
sequentialNoteEvent(Note note)
Called when the parser encounters a sequential note event. |
void |
tempoEvent(Tempo tempo)
Tempo changes affect the voice regardless of what voice they appear to be in |
void |
timeEvent(Time time)
Called when the parser encounters a time event. |
void |
voiceEvent(Voice voice)
Called when the parser encounters a voice event. |
| Methods inherited from class org.jfugue.PatternTool |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetPatternForVoiceTool(int voice)
| Method Detail |
|---|
public void reset()
PatternTool
reset in class PatternToolpublic java.lang.String getDescription()
PatternTool
getDescription in class PatternToolpublic void voiceEvent(Voice voice)
ParserListenerAdapter
voiceEvent in interface ParserListenervoiceEvent in class ParserListenerAdaptervoice - the event that has been parsedVoicepublic void tempoEvent(Tempo tempo)
tempoEvent in interface ParserListenertempoEvent in class ParserListenerAdaptertempo - the event that has been parsedTempopublic void keySignatureEvent(KeySignature keySig)
keySignatureEvent in interface ParserListenerkeySignatureEvent in class ParserListenerAdapterKeySignaturepublic void instrumentEvent(Instrument instrument)
instrumentEvent in interface ParserListenerinstrumentEvent in class ParserListenerAdapterinstrument - the event that has been parsedInstrumentpublic void layerEvent(Layer layer)
layerEvent in interface ParserListenerlayerEvent in class ParserListenerAdapterlayer - the event that has been parsedLayerpublic void measureEvent(Measure measure)
measureEvent in interface ParserListenermeasureEvent in class ParserListenerAdaptermeasure - the event that has been parsedMeasurepublic void timeEvent(Time time)
timeEvent in interface ParserListenertimeEvent in class ParserListenerAdaptertime - the event that has been parsedTimepublic void controllerEvent(Controller controller)
controllerEvent in interface ParserListenercontrollerEvent in class ParserListenerAdaptercontroller - the event that has been parsedpublic void channelPressureEvent(ChannelPressure channelPressure)
channelPressureEvent in interface ParserListenerchannelPressureEvent in class ParserListenerAdapterchannelPressure - the event that has been parsedChannelPressurepublic void polyphonicPressureEvent(PolyphonicPressure polyphonicPressure)
polyphonicPressureEvent in interface ParserListenerpolyphonicPressureEvent in class ParserListenerAdapterpolyphonicPressure - the event that has been parsedPolyphonicPressurepublic void pitchBendEvent(PitchBend pitchBend)
pitchBendEvent in interface ParserListenerpitchBendEvent in class ParserListenerAdapterpitchBend - the event that has been parsedPitchBendpublic void noteEvent(Note note)
noteEvent in interface ParserListenernoteEvent in class ParserListenerAdapternote - the event that has been parsedNotepublic void sequentialNoteEvent(Note note)
sequentialNoteEvent in interface ParserListenersequentialNoteEvent in class ParserListenerAdapternote - the event that has been parsedNotepublic void parallelNoteEvent(Note note)
parallelNoteEvent in interface ParserListenerparallelNoteEvent in class ParserListenerAdapternote - the event that has been parsedNotepublic java.lang.Object getResult()
PatternTool
getResult in class PatternToolpublic static final void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||