Environment: Siren
An instance of PortMIDIPort is the interface to the external driver that talks to the PortMIDI interface.
Instance Variables:
Shared Variables:
open/close
driver
Devices
Streams
close: stream
Close MIDI.
open
Open the MIDI driver -- start the lower-level driver up.
openInput: dev
Open the MIDI driver -- start the lower-level driver up.
openOutput: dev
Open the MIDI driver -- start the lower-level driver up.
terminate
Close MIDI.
ioctl
The MIDI driver input process loop.
startControllerCaching
Start caching MIDI controller in the driver.
stopControllerCaching
Stop caching MIDI controller in the driver.
initialize release
Setup the receiver's instance variables.
release
Release--break and dependencies on the error value.
read/write
Play the argument on the receiver--no duration-->no note-off.
playOff: streamID pitch: pitch amp: amp voice: voice
Play the argument on the receiver.
playOn: aPitch amp: anAmp voice: aVoice
Play the argument on the receiver--no duration-->no note-off.
playOn: streamID pitch: pitch amp: amp voice: voice
Play the argument on the receiver--no duration-->no note-off.
put: streamID data: data length: size
Send the argument (a ByteArray for historical reasons) to the receiver now.
put: data length: size
Send the argument (a ByteArray for historical reasons) to the receiver now.
readControllersFrom: lo to: hi into: array
Read a range of controllers
accessing
Answer whether the receiver is active.
MetaClass: PortMIDIPort class
examples
Open MIDI, play a note.
class initialization
Set up the class defaults.