#include <MIDIIO.h>

Public Member Functions | |
| MIDIOut () | |
| ~MIDIOut () | |
| unsigned | buffer_size () |
| void | set_buffer_size (unsigned bufferSize) |
| long | latency () |
| void | set_latency (long latency) |
| status | open () |
| status | open (int deviceID) |
| void | set_message (CSL_MIDIMessage msg, long when) |
| status | write () |
| status | write (CSL_MIDIMessage *msg, long length) |
| status | write_short (CSL_MIDIMessage msg) |
| status | write_SysEX (long when, unsigned char *msg) |
| status | write_NoteOn (unsigned channel, unsigned pitch, unsigned velocity) |
| status | write_NoteOn (unsigned channel, float frequency, float amplitude) |
| status | write_NoteOff (unsigned channel, unsigned pitch, unsigned velocity) |
| status | write_NoteOff (unsigned channel, float frequency, float amplitude) |
| status | write_PolyTouch (unsigned channel, unsigned pitch, unsigned amount) |
| status | write_ControlChange (unsigned channel, unsigned function, unsigned value) |
| status | write_ProgramChange (unsigned channel, unsigned programNum) |
| status | write_Aftertouch (unsigned channel, unsigned amount) |
| status | write_PitchWheel (unsigned channel, unsigned amount) |
Protected Attributes | |
| long | mBufferSize |
| long | mLatency |
| CSL_MIDIMessage | mMsg |
| MIDIOut::MIDIOut | ( | ) |
References mBufferSize, csl::MIDIIO::mDeviceID, csl::MIDIIO::mIsInput, csl::MIDIIO::mIsOutput, and mLatency.
| MIDIOut::~MIDIOut | ( | ) |
| unsigned MIDIOut::buffer_size | ( | ) |
References mBufferSize.
| void MIDIOut::set_buffer_size | ( | unsigned | bufferSize | ) |
References mBufferSize.
| long MIDIOut::latency | ( | ) |
References mLatency.
| void MIDIOut::set_latency | ( | long | latency | ) |
References mLatency.
| status MIDIOut::open | ( | ) | [virtual] |
Reimplemented from csl::MIDIIO.
References DRIVER_INFO, csl::MIDIIO::get_device_info(), csl::MIDIIO::handle_error(), mBufferSize, csl::MIDIIO::mDeviceID, csl::MIDIIO::mIsPortTimeStarted, mLatency, csl::MIDIIO::mMIDIStream, TIME_INFO, TIME_PROC, and TIME_START.
Referenced by open(), and output_test().
| status MIDIOut::open | ( | int | deviceID | ) |
References csl::MIDIIO::mDeviceID, and open().
| void MIDIOut::set_message | ( | CSL_MIDIMessage | msg, | |
| long | when | |||
| ) |
References csl::copy_CSL_MIDIMessage(), and mMsg.
| status MIDIOut::write | ( | ) |
References csl::CSL_MIDIMessageToPmEvent(), csl::MIDIIO::handle_error(), csl::MIDIIO::mMIDIStream, and mMsg.
Referenced by write().
| status MIDIOut::write | ( | CSL_MIDIMessage * | msg, | |
| long | length | |||
| ) |
References csl::copy_CSL_MIDIMessage(), mMsg, and write().
| status MIDIOut::write_short | ( | CSL_MIDIMessage | msg | ) |
| status MIDIOut::write_SysEX | ( | long | when, | |
| unsigned char * | msg | |||
| ) |
References csl::MIDIIO::handle_error(), and csl::MIDIIO::mMIDIStream.
| status MIDIOut::write_NoteOn | ( | unsigned | channel, | |
| unsigned | pitch, | |||
| unsigned | velocity | |||
| ) |
| status MIDIOut::write_NoteOn | ( | unsigned | channel, | |
| float | frequency, | |||
| float | amplitude | |||
| ) |
| status MIDIOut::write_NoteOff | ( | unsigned | channel, | |
| unsigned | pitch, | |||
| unsigned | velocity | |||
| ) |
| status MIDIOut::write_NoteOff | ( | unsigned | channel, | |
| float | frequency, | |||
| float | amplitude | |||
| ) |
| status MIDIOut::write_PolyTouch | ( | unsigned | channel, | |
| unsigned | pitch, | |||
| unsigned | amount | |||
| ) |
| status MIDIOut::write_ControlChange | ( | unsigned | channel, | |
| unsigned | function, | |||
| unsigned | value | |||
| ) |
| status MIDIOut::write_ProgramChange | ( | unsigned | channel, | |
| unsigned | programNum | |||
| ) |
| status MIDIOut::write_Aftertouch | ( | unsigned | channel, | |
| unsigned | amount | |||
| ) |
| status MIDIOut::write_PitchWheel | ( | unsigned | channel, | |
| unsigned | amount | |||
| ) |
long csl::MIDIOut::mBufferSize [protected] |
Referenced by buffer_size(), MIDIOut(), open(), and set_buffer_size().
long csl::MIDIOut::mLatency [protected] |
Referenced by latency(), MIDIOut(), open(), and set_latency().
CSL_MIDIMessage csl::MIDIOut::mMsg [protected] |
Referenced by set_message(), and write().
1.5.8