| Package | Description |
|---|---|
| uk.co.xfactorylibrarians.coremidi4j |
A set of classes for enabling the javax.sound.midi package
to interact with CoreData on Mac OS X.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CoreMidiDeviceProvider.addNotificationListener(CoreMidiNotification listener)
Adds a notification listener to the listener set maintained by this class.
|
private void |
CoreMidiDeviceProvider.buildDeviceMap()
Builds the device map
|
void |
CoreMidiInputPort.connectSource(CoreMidiSource sourceDevice)
Connects a source to this input port
|
private int |
CoreMidiClient.createClient(String clientName)
Creates the MIDI Client
|
private int |
CoreMidiInputPort.createInputPort(int clientReference,
String portName)
Creates a CoreMIDI input port
|
private int |
CoreMidiOutputPort.createOutputPort(int clientReference,
String portName)
Creates a CoreMIDI output port
|
private static File |
Loader.createTempDirectory()
Creates the temporary directory used for unpacking the native library.
|
void |
CoreMidiInputPort.disconnectSource(CoreMidiSource sourceDevice)
Disconnects a source from input port
|
private void |
CoreMidiClient.disposeClient(int clientReference)
Disposes of a CoreMIDI Client
|
private int |
CoreMidiDeviceProvider.getDestination(int destinationIndex)
Gets the specified MIDI Destination EndPoint (JNI).
|
(package private) static CoreMidiClient |
CoreMidiDeviceProvider.getMIDIClient()
Gets the CoreMidiClient object
|
private CoreMidiDeviceInfo |
CoreMidiDeviceProvider.getMidiDeviceInfo(int reference)
Gets a MidiDevice.Info class for the specified reference (JNI).
|
private int |
CoreMidiDeviceProvider.getSource(int sourceIndex)
Gets the specified MIDI Source EndPoint
|
private int |
CoreMidiDeviceProvider.getUniqueID(int reference)
Gets the unique ID for an object reference (JNI).
|
private void |
CoreMidiDeviceProvider.initialise()
Initialises the system
|
CoreMidiInputPort |
CoreMidiClient.inputPortCreate(String name)
Creates a new CoreMidiInputPort
|
static boolean |
Loader.isAvailable()
Checks whether CoreMidi4J is available on the current system, in other words whether it is a Mac OS X system
and the native library was loaded successfully.
|
static boolean |
CoreMidiDeviceProvider.isLibraryLoaded()
Check whether we have been able to load the native library.
|
static void |
Loader.load()
Tries to load our native library.
|
private static String |
Loader.locateLibrary()
Locates the native library, extracting a temporary copy from our jar it does not already exist in the file system.
|
private long |
CoreMidiInputPort.midiPortConnectSource(int inputPortReference,
CoreMidiSource sourceDevice)
Connects a source end point to a MIDI input
|
private void |
CoreMidiInputPort.midiPortDisconnectSource(int inputPortReference,
long memoryReference,
CoreMidiSource sourceDevice)
Disconnects a source end point to a MIDI input
|
void |
CoreMidiNotification.midiSystemUpdated()
Called when a notification occurs
|
void |
CoreMidiDeviceProvider.midiSystemUpdated()
Called when a change in the MIDI environment occurs
|
void |
CoreMidiClient.notifyCallback()
The message callback for receiving notifications about changes in the MIDI environment from the JNI code
|
CoreMidiOutputPort |
CoreMidiClient.outputPortCreate(String name)
Creates a new CoreMidiOutputPort
|
static void |
CoreMidiDeviceProvider.removeNotificationListener(CoreMidiNotification listener)
Removes a notification listener from the listener list maintained by this class
|
void |
CoreMidiOutputPort.send(int destinationEndPointReference,
MidiMessage message,
long timestamp)
Sends a MIDI message on this output port to the specified destination end point
|
private void |
CoreMidiOutputPort.sendMidiMessage(int midiPortReference,
int destinationEndPointReference,
MidiMessage message,
long timestamp)
Transmits a MIDI message to the OSX CoreMidi device
|
| Constructor and Description |
|---|
CoreMidiClient(String name)
Constructor for class
|
CoreMidiDeviceProvider()
Class constructor
|
CoreMidiInputPort(int clientReference,
String portName)
Constructor
|
CoreMidiOutputPort(int clientReference,
String portName)
Constructor
|
Copyright © 2017. All rights reserved.