Class: PortMidiInterface

Environment: Siren
Superclass: Siren.SirenExternalInterface
Category: MusicIO-External
Imports: private Siren.PortMidiInterfaceDictionary.*
Attributes:
#(#(#includeFiles #('portmidi_lite.h')) #(#includeDirectories #('Siren7.5/DLLCC')) #(#libraryFiles #('portmidi_lite.dylib' 'portmidi.dylib' 'CoreMIDI')) #(#libraryDirectories #('/usr/local/lib' '/System/Library/Frameworks/CoreMIDI.framework/Versions/Current')) #(#beVirtual false) #(#optimizationLevel #full))

types

OEoop

procedures

pm_close: which

pm_count_devices

pm_default_input_device

pm_default_output_device

pm_dev_dir: which

pm_get: which

pm_get_name: which

pm_has_error: which

pm_initialize

pm_open: device with: direction

pm_poll: which

pm_read: which

pm_read_controllers: which with: fromController with: toController with: data

pm_start_controller_cacheing

pm_stop_controller_cacheing

pm_terminate

pm_test

pm_write_data2: which with: d1 with: d2

pm_write_data3: which with: d1 with: d2 with: d3

pm_write_long: which with: msg with: length

pm_write_short: which with: msg

MetaClass: PortMidiInterface class

examples

example1
Demonstrate using the PortMidiInterface

testMIDI
Demonstrate using the PortMidiInterface to call the test note function in the driver

testMIDI2
Demonstrate using the PortMidiInterface to play a note on/off cmd pair