The midi.c file is the midi header file for my pulsar programme, but hoefully it is well enough documented for you to be able to work out the midi code, especially usage such as:

midiword[0] = 0x90 + (channel-1);/* 0x90 is note on + channel */
midiword[1] = note;
midiword[2] = velocity;
Midiws(2,midiword);


Neil Wakeling
Sept 2000

neil@tuva.demon.co.uk