Package org.jfugue.devices
Class MusicTransmitterToParserListener
java.lang.Object
org.jfugue.devices.MusicTransmitterToParserListener
Represents a device that will send music. For example, you can attach this
to your external MIDI keyboard and play music on the keyboard, which is then recorded here.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
listenForMillis
(long millis) Used instead of startListening() and stopListening() - listens for a pre-defined amount of time.void
void
-
Constructor Details
-
MusicTransmitterToParserListener
- Throws:
MidiUnavailableException
-
-
Method Details
-
addParserListener
-
getParserListeners
-
getTransmitter
-
getMidiParserReceiver
-
startListening
- Throws:
MidiUnavailableException
-
stopListening
public void stopListening() -
listenForMillis
Used instead of startListening() and stopListening() - listens for a pre-defined amount of time.- Parameters:
millis
-- Throws:
MidiUnavailableException
InterruptedException
-
close
public void close()
-