Interface TranscriberListener
- All Known Implementing Classes:
TranscribeScore8
,TranscribeToot06
public interface TranscriberListener
Classes implementing this interface can be added to a list of TranscriberListeners
in a com.softsynth.jmsl.score.transcribe.Transcriber.
They are notified when a transcribed Note is added to a Score.
They are also notified of note events within the current measure's time window that will round
up to the first beat of the next measure (ie they fell within this measure's time window
but will notated in the NEXT measure)
Use this to do things like add dynamics to a note, for example
- Author:
- Nick Didkovsky Nov 2, 2002
-
Method Summary
Modifier and Type Method Description void
noteAdded(Score score, Note note)
Notify listener when a Note is added to score by the transcriber.void
notifyCarriedOverMusicShape(Score score, int currentMeasureNumber, MusicShape musicShape)
Notify listener of note events that will spill over into the next measure, ie notes that are found within the current time window but will round up to beat 1 of the following measure.
-
Method Details
-
noteAdded
Notify listener when a Note is added to score by the transcriber. Use this to do special things to the Note, like set a dynamic, or transpose it if it is out of range of a particular instrument, etc -
notifyCarriedOverMusicShape
Notify listener of note events that will spill over into the next measure, ie notes that are found within the current time window but will round up to beat 1 of the following measure. Note: musicShape could be null if there was no spillover!
-