Index of values


A
abort [Portmidi]
Abort a stream

C
close [Portmidi]
Close a stream
count_devices [Portmidi]
count_devices () returns the number of MIDI devices available

G
get_default_input_device_id [Portmidi]
get_default_input_device_id () returns the default input MIDI device
get_default_output_device_id [Portmidi]
get_default_output_device_id () returns the default output MIDI device
get_device_info [Portmidi]
get_device_info id returns a device_info record for device id

I
init [Portmidi]
Initialize the portmidi library.

M
message [Portmidi]
message status data1 data2 creates a message
message_contents [Portmidi]
message_contents msg returns the status and data bytes of message msg
message_data1 [Portmidi]
message_data1 msg returns the first data byte of message msg
message_data2 [Portmidi]
message_data2 msg returns the second data byte of message msg
message_status [Portmidi]
message_status msg returns the status of message msg

O
open_input [Portmidi]
open_input ?time_proc:(Some time_fun) ?time_info:(Some time_arg) device_id buffer_size * opens a MIDI stream ready for input on device device_id with a buffer of * buffer_size.
open_output [Portmidi]
open_input ?time_proc:(Some time_fun) ?time_info:(Some time_arg) device_id * buffer_size latency * opens a MIDI stream ready for ouput on device device_id with a buffer of * buffer_size.

P
poll [Portmidi]
poll st returns true of the input stream st has any events

R
read_stream [Portmidi]
read_stream st events ofs len reads up to len events from stream st * and stores them in events starting at ofs.

S
start [Portmidi.Time]
start res starts the timer with resolution res * in milliseconds.
stop [Portmidi.Time]
Stop the timer
string_of_error [Portmidi]
Get a description of an error.

T
terminate [Portmidi]
Close the library
time [Portmidi.Time]
Get the time in milliseconds

W
write_short [Portmidi]
write_short st when msg writes the event formed by message msg and * timestamp when to stream st
write_stream [Portmidi]
write_stream st events ofs len writes len events to the stream st from * events starting at ofs.
write_sysex [Portmidi]
write_short st when msg writes the SysEx formed by message msg and * timestamp when to stream st