Main Page   Data Structures   File List   Data Fields   Globals  

/ccrma/midi.h File Reference

MIDI client functions. More...

#include "global.h"
#include "buffer.h"

Go to the source code of this file.

Functions

void midiInit (void)
 Initializes the MIDI function library.

u08 midiNoteOnOut (u08 note, u08 vel, u08 channel)
 Sends a MIDI note on message with arguments for note number, velocity, and channel.

u08 midiNoteOffOut (u08 note, u08 vel, u08 channel)
 Sends a MIDI note off message with arguments for note number, velocity, and channel. equivalent to Note On with velocity 0.

u08 midiControlChangeOut (u08 controller, u08 value, u08 channel)
 Sends a MIDI control change message with arguments for controller numer, value, and channel.

u08 midiPolyTouchOut (u08 note, u08 pressure, u08 channel)
 Sends a MIDI program change message with arguments for program numer and channel. Sends a MIDI polyphonic aftertouch message with arguments for note numer, pressure value, and channel.

u08 midiChannelTouchOut (u08 pressure, u08 channel)
 Sends a MIDI channel aftertouch message with arguments for pressure value and channel.

u08 midiPitchBendOut (u08 bendLSB, u08 bendMSB, u08 channel)
 Sends a MIDI picth bend message with arguments for LSByte, MSByte, and channel.


Detailed Description

MIDI client functions.

Definition in file midi.h.


Function Documentation

void midiInit void   
 

Initializes the MIDI function library.

Channel arguments are always between 0 and 15. All other arguments are always between 0 and 127.

Definition at line 28 of file midi.c.

References uartInit().

u08 midiPitchBendOut u08    bendLSB,
u08    bendMSB,
u08    channel
 

Sends a MIDI picth bend message with arguments for LSByte, MSByte, and channel.

LSByte is the lowest order 7 bits MSByte is the higher order 7 bits

Definition at line 94 of file midi.c.


Generated on Fri Aug 1 10:42:43 2003 for Procyon AVRlib by doxygen1.2.18