Class FluidSynthMidiDevice
java.lang.Object
org.jjazz.fluidsynthembeddedsynth.api.FluidSynthMidiDevice
- All Implemented Interfaces:
AutoCloseable,MidiDevice
A special MidiDevice which redirects incoming Midi messages to a FluidSynth instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.sound.midi.MidiDevice
MidiDevice.Info -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NAME
- See Also:
-
INFO
public static final org.jjazz.fluidsynthembeddedsynth.api.FluidSynthMidiDevice.FluidSynthMidiDeviceInfo INFO
-
-
Constructor Details
-
FluidSynthMidiDevice
-
-
Method Details
-
open
Open this MidiDevice.- Specified by:
openin interfaceMidiDevice- Throws:
MidiUnavailableException- If the FluidSynthJava is not already opened.
-
getDeviceInfo
- Specified by:
getDeviceInfoin interfaceMidiDevice
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceMidiDevice
-
getMaxReceivers
public int getMaxReceivers()- Specified by:
getMaxReceiversin interfaceMidiDevice
-
getMaxTransmitters
public int getMaxTransmitters()- Specified by:
getMaxTransmittersin interfaceMidiDevice
-
getMicrosecondPosition
public long getMicrosecondPosition()- Specified by:
getMicrosecondPositionin interfaceMidiDevice
-
getReceivers
- Specified by:
getReceiversin interfaceMidiDevice
-
getTransmitters
- Specified by:
getTransmittersin interfaceMidiDevice
-
getReceiver
- Specified by:
getReceiverin interfaceMidiDevice- Throws:
MidiUnavailableException
-
getTransmitter
- Specified by:
getTransmitterin interfaceMidiDevice- Throws:
MidiUnavailableException
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceMidiDevice
-