Class RestsToTiedNotes

java.lang.Object
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

    Constructors
    Constructor Description
    RestsToTiedNotes()  
  • Method Summary

    Modifier and Type Method Description
    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 Details

    • RestsToTiedNotes

      public RestsToTiedNotes()
  • Method Details

    • 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.