org.jfugue
Class MicrotoneNotation

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

public class MicrotoneNotation
extends java.lang.Object

Facilitates playing microtonal music - Indian, Turkish, Indonesian, etc. styles. Also useful for performing slides and other effects that rely on "the notes in between the notes". This feature is covered in detail in "The Complete Guide to JFugue"

Version:
3.0, 4.0 - renamed from MicrotoneHelper; mictoronal notes now encased in angle brackets instead of square brackets, for consistency
Author:
David Koelle

Constructor Summary
MicrotoneNotation()
           
 
Method Summary
static java.lang.String convertFrequencyToMusicString(double freq)
          Converts the given frequency to a music string that involves the Pitch Wheel and notes to create the frequency
 double get(java.lang.String key)
           
 java.lang.String getMusicString(java.lang.String key)
           
 Pattern getPattern(java.lang.String notation)
           
static java.lang.String getResetPitchWheelString()
           
 void put(java.lang.String key, double freq)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MicrotoneNotation

public MicrotoneNotation()
Method Detail

put

public void put(java.lang.String key,
                double freq)

get

public double get(java.lang.String key)

getMusicString

public java.lang.String getMusicString(java.lang.String key)

convertFrequencyToMusicString

public static java.lang.String convertFrequencyToMusicString(double freq)
Converts the given frequency to a music string that involves the Pitch Wheel and notes to create the frequency

Parameters:
freq - the frequency
Returns:
a MusicString that represents the frequency

getResetPitchWheelString

public static java.lang.String getResetPitchWheelString()

getPattern

public Pattern getPattern(java.lang.String notation)