public class SchemeSequenceRecorder extends java.lang.Object implements MetroSequence, SchemeSequenceReadable, Invokable
Modifier and Type | Method and Description |
---|---|
static SchemeSequenceRecorder |
createSchemeSequenceRecorder(java.util.List<MetroPort> inputPorts,
java.util.List<MetroPort> outputPorts,
double recordLength,
boolean loop) |
java.util.List<MetroPort> |
getInputPorts() |
java.util.List<MetroPort> |
getOutputPorts() |
java.lang.Object |
invoke(java.lang.Object... args)
This method invokes the invokable which is denoted by the subclasses
implement this interface.
|
boolean |
isPlaying() |
boolean |
isRecording() |
<T> void |
processBuffered(Metro metro,
MetroTrack track,
MetroBufferedMidiReceiver<T> buffer) |
void |
processDirect(Metro metro,
int nframes,
int totalCursor,
java.util.List<MetroMidiEvent> in,
java.util.List<MetroMidiEvent> out) |
gnu.lists.LList |
readMusic() |
void |
setPlaying(boolean playing) |
void |
setRecording(boolean recording) |
public static SchemeSequenceRecorder createSchemeSequenceRecorder(java.util.List<MetroPort> inputPorts, java.util.List<MetroPort> outputPorts, double recordLength, boolean loop)
public java.util.List<MetroPort> getInputPorts()
public java.util.List<MetroPort> getOutputPorts()
public gnu.lists.LList readMusic()
readMusic
in interface SchemeSequenceReadable
public void setRecording(boolean recording)
public boolean isRecording()
public boolean isPlaying()
public void setPlaying(boolean playing)
public void processDirect(Metro metro, int nframes, int totalCursor, java.util.List<MetroMidiEvent> in, java.util.List<MetroMidiEvent> out)
processDirect
in interface MetroSequence
public <T> void processBuffered(Metro metro, MetroTrack track, MetroBufferedMidiReceiver<T> buffer)
processBuffered
in interface MetroSequence