org.rubato.rubettes.util
Class ContrapuntalVoice

java.lang.Object
  extended by org.rubato.rubettes.util.ContrapuntalVoice

public class ContrapuntalVoice
extends java.lang.Object


Constructor Summary
ContrapuntalVoice(LimitDenotator note, double onset, double pitch, double duration)
           
 
Method Summary
 void addNote(LimitDenotator note, double onset, double pitch, double duration)
           
 double getFirstOnset()
           
 double getLastPitch()
           
 java.util.List<LimitDenotator> getNotes()
           
 boolean hasRoomFor(double onset, double duration)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContrapuntalVoice

public ContrapuntalVoice(LimitDenotator note,
                         double onset,
                         double pitch,
                         double duration)
Method Detail

addNote

public void addNote(LimitDenotator note,
                    double onset,
                    double pitch,
                    double duration)

hasRoomFor

public boolean hasRoomFor(double onset,
                          double duration)

getFirstOnset

public double getFirstOnset()

getLastPitch

public double getLastPitch()

getNotes

public java.util.List<LimitDenotator> getNotes()