blue.music
Class Instrument
java.lang.Object
|
+--blue.music.Instrument
- Direct Known Subclasses:
- Flute, Synthesizedbass, Whistle, Xylophone
- public class Instrument
- extends java.lang.Object
Field Summary |
protected java.applet.Applet |
applet
|
Constructor Summary |
Instrument(java.applet.Applet applet)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
applet
protected java.applet.Applet applet
Instrument
public Instrument(java.applet.Applet applet)
play
public void play(Note note)
rest
public void rest(Note note)
determineRealTime
public double determineRealTime(Note note)
audioClipKey
public java.lang.String audioClipKey(Note note)
registerName
public java.lang.String registerName(int n)
pitchClassName
public java.lang.String pitchClassName(int degree,
int modifier,
Key key)