|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauditory.described.Orchestra
public class Orchestra
An encapsulation of an orchestra
Constructor Summary | |
---|---|
Orchestra(Score score)
Explicit Value Constructor |
|
Orchestra(Score score,
Metronome metronome)
Explicit Value Constructor |
Method Summary | |
---|---|
void |
handleTick(int millis)
Handle a Metronome tick (required by MetronomeListener) This method tells the Score to render itself. |
void |
start()
Start this Orchestra |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Orchestra(Score score) throws javax.sound.midi.MidiUnavailableException
score
- The Score to play
javax.sound.midi.MidiUnavailableException
public Orchestra(Score score, Metronome metronome) throws javax.sound.midi.MidiUnavailableException
score
- The Score to playmetronome
- The Metronome to use
javax.sound.midi.MidiUnavailableException
Method Detail |
---|
public void handleTick(int millis)
handleTick
in interface MetronomeListener
millis
- The number of milliseconds since the Metronome startedpublic void start()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |