public class MusicQueue extends Object
| Constructor and Description |
|---|
MusicQueue(InstrumentParameter instrument,
int melodyChannel,
int chordChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllFromMusicQueue(MusicQueue q) |
void |
addChord(int[] chord,
int lenght,
int vel,
int chordLenght,
int nextChord) |
void |
addNote(int note,
int vel,
int noteLenght,
int nextNote) |
void |
addPause(int duration) |
InstrumentParameter |
getInstrument() |
int |
getMelodyChannel() |
Note[] |
getNotes() |
void |
parse(String s,
int channel,
int tempo,
int volume) |
public MusicQueue(InstrumentParameter instrument, int melodyChannel, int chordChannel)
melodyChannel - chordChannel - public void parse(String s, int channel, int tempo, int volume) throws MusicException
MusicExceptionpublic int getMelodyChannel()
public InstrumentParameter getInstrument()
public void addAllFromMusicQueue(MusicQueue q)
public void addNote(int note,
int vel,
int noteLenght,
int nextNote)
public void addPause(int duration)
public void addChord(int[] chord,
int lenght,
int vel,
int chordLenght,
int nextChord)
public Note[] getNotes()
Copyright © 2021 Markus Heberling. All rights reserved.