org.jfugue
Class IntervalNotation

java.lang.Object
  extended by org.jfugue.IntervalNotation

public class IntervalNotation
extends java.lang.Object

A IntervalNotation is a MusicString that only contains interval information and durations, not actual notes. A riff is converted into an actual MusicString by applying a root note.

Version:
4.0
Author:
David Koelle

Constructor Summary
IntervalNotation(java.lang.String musicStringWithIntervals)
           
 
Method Summary
 java.lang.String getMusicStringWithIntervals()
           
 Pattern getPatternForRootNote(Note rootNote)
           
 Pattern getPatternForRootNote(Pattern pattern)
           
 Pattern getPatternForRootNote(java.lang.String musicString)
           
 void setMusicStringWithIntervals(java.lang.String musicStringWithIntervals)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntervalNotation

public IntervalNotation(java.lang.String musicStringWithIntervals)
Method Detail

setMusicStringWithIntervals

public void setMusicStringWithIntervals(java.lang.String musicStringWithIntervals)

getMusicStringWithIntervals

public java.lang.String getMusicStringWithIntervals()

getPatternForRootNote

public Pattern getPatternForRootNote(java.lang.String musicString)

getPatternForRootNote

public Pattern getPatternForRootNote(Pattern pattern)

getPatternForRootNote

public Pattern getPatternForRootNote(Note rootNote)