|
||||||||||
| 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.DurationPatternTool
public class DurationPatternTool
Calculates the length of the given pattern, in pulses per quarter (PPQ)
| Constructor Summary | |
|---|---|
DurationPatternTool()
|
|
| Method Summary | |
|---|---|
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 |
noteEvent(Note note)
Called when the parser encounters an initial note event. |
void |
reset()
Resets the variables in a subclass of PatternTool. |
void |
voiceEvent(Voice voice)
Called when the parser encounters a voice event. |
| Methods inherited from class org.jfugue.PatternTool |
|---|
execute |
| Methods inherited from class org.jfugue.ParserListenerAdapter |
|---|
channelPressureEvent, controllerEvent, instrumentEvent, keySignatureEvent, layerEvent, measureEvent, parallelNoteEvent, pitchBendEvent, polyphonicPressureEvent, sequentialNoteEvent, tempoEvent, timeEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DurationPatternTool()
| Method Detail |
|---|
public 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 noteEvent(Note note)
ParserListenerAdapter
noteEvent in interface ParserListenernoteEvent in class ParserListenerAdapternote - the event that has been parsedNotepublic void reset()
PatternTool
reset in class PatternToolpublic java.lang.Object getResult()
PatternTool
getResult in class PatternTool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||