Logo Search packages:      
Sourcecode: csound version File versions  Download package

CsoundMidiInputStream Class Reference

#include <cs_glue.hpp>

Inheritance diagram for CsoundMidiInputStream:

List of all members.

Detailed Description

The following class allows sending MIDI input messages to a Csound instance.

Definition at line 635 of file cs_glue.hpp.

Public Member Functions

 CsoundMidiInputStream (Csound *csound)
 CsoundMidiInputStream (CSOUND *csound)
void EnableMidiInput (CsoundArgVList *argv)
void SendChannelPressure (int channel, int value)
void SendControlChange (int channel, int ctl, int value)
void SendMessage (int status, int channel, int data1, int data2)
void SendMessage (int msg)
void SendNoteOff (int channel, int key)
void SendNoteOff (int channel, int key, int velocity)
void SendNoteOn (int channel, int key, int velocity)
void SendPitchBend (int channel, int value)
void SendPolyphonicPressure (int channel, int key, int value)
void SendProgramChange (int channel, int pgm)

Protected Member Functions

int GetMidiData (unsigned char *buf, int nBytes)

Static Private Member Functions

static int midiInCloseCallback (CSOUND *, void *)
static int midiInOpenCallback (CSOUND *, void **, const char *)
static int midiInReadCallback (CSOUND *, void *, unsigned char *, int)

Private Attributes

unsigned char buf_ [4096]


class CsoundCallbackWrapper

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index