// // MidiEventOutput.h // WiiToMidi // // Created by Mike Verdone on 13/02/07. // Copyright 2007 __MyCompanyName__. All rights reserved. // #import #import #define MIDI_LIST_SIZE 1024 #define MIDI_TIME_NOW 0 #define MIDI_DEFAULT_VELOCITY 100 @interface MidiEventOutput : NSObject { MIDIPacketList *_list; MIDIPacket *_cur; int _channel; } -(id) init; -(void) dealloc; -(id) pushControl:(unsigned char)controlId value:(unsigned char)value; -(id) pushNoteOn:(unsigned char)noteId velocity:(unsigned char)velocity; -(id) pushNoteOff:(unsigned char)noteId velocity:(unsigned char)velocity; -(id) setChannel:(int)channel; -(id) clearList; -(MIDIPacketList*) list; -(int) channel; @end