com.softsynth.jmsl.score.transcribe
Class RestsToTiedNotes

java.lang.Object
  extended by com.softsynth.jmsl.score.transcribe.RestsToTiedNotes

public class RestsToTiedNotes
extends java.lang.Object

Scan through the notes of a score, and extend notes whose hold times extend beyond their beat across a run of rests

Author:
Nick Didkovsky, (c) 2002 Nick Didkovsky, All Rights reserved.

Constructor Summary
RestsToTiedNotes()
           
 
Method Summary
 void extendOverRests()
          For each note that has a sustain > its beat, extend its sustain over subsequent rests as tied notes.
 void setNotes(java.util.Vector v)
          set the Vector of NoteBeats recently added to ONE staff of a score.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestsToTiedNotes

public RestsToTiedNotes()
Method Detail

setNotes

public void setNotes(java.util.Vector v)
set the Vector of NoteBeats recently added to ONE staff of a score.


extendOverRests

public void extendOverRests()
For each note that has a sustain > its beat, extend its sustain over subsequent rests as tied notes. These runs only continue through the rests.