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 TypeMethodDescriptionvoidvoidclose()voidlistenForMillis(long millis) Used instead of startListening() and stopListening() - listens for a pre-defined amount of time.voidvoid
-
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:
MidiUnavailableExceptionInterruptedException
-
close
public void close()
-