brokencandyqueen / dsmi

Automatically exported from code.google.com/p/dsmi
0 stars 0 forks source link

Pre-defined message types #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sending and receiving MIDI messages would be easier with pre-defined
message types like NOTE_ON, CC_CHANGE, etc.

Original issue reported on code.google.com by wey...@gmail.com on 9 Feb 2009 at 4:03

GoogleCodeExporter commented 8 years ago
I think that this might be handled decently already.

Originally I had thought maybe making a MIDI Message struct would be nice for 
users
of the library.   but now I'm leaning towards keeping the old model of calling a
function like

send_message(message, data1, data2);

Or in the iphone port, this is split out to 
send_message(message_type, midi_channel, data1, data2);

The thing I like about the iphone version is that the user doesn't need to 
understand
how the or | operator works.

Original comment by collin.m...@gmail.com on 24 Feb 2009 at 9:18