cimo Posted January 13, 2008 Report Posted January 13, 2008 halloit sounds easy but i need help:4 buttons with leds1 pot (pedal)MB64a)do the usual tweaking on main.asmb)in mb64_meta.inc change meta event 00 MB64_META_Handler_00 ;; set global channel to the second byte of a F0 xx meta event movff MB64_GLOBAL_CHANNEL, MIDI_EVNT1 return tx TK c) change mb64_presets.inc MB64_Presets_OffsetButtons ;; DIN/DOUT group 0 BUTTON_ENTRY 0xf0, 0x01, 0x7f, 0x00 BUTTON_ENTRY 0xf0, 0x02, 0x7f, 0x00 BUTTON_ENTRY 0xf0, 0x03, 0x7f, 0x00 BUTTON_ENTRY 0xf0, 0x04, 0x7f, 0x00 BUTTON_ENTRY 0x94, 0x30, 0x7f, 0x00 BUTTON_ENTRY 0x95, 0x30, 0x7f, 0x00 BUTTON_ENTRY 0x96, 0x30, 0x7f, 0x00 BUTTON_ENTRY 0x97, 0x30, 0x7f, 0x00>>in main.asm i set pots number to 1 and buttons to 4>>i just need to change the cc/channel sent by the pot with the 4 buttons so also a "group" switch would be ok, but groups are only on MB64E not in MB64 -am i right?i need MB64 for the soft take over, it s a pedal for guitarconsidering a possible development, is it possible to assign the midi channel via meta event to 2 buttons (next/previous) and assign eg 8 leds to monitor in which global channel the box is? thankssimone Quote
TK. Posted January 14, 2008 Report Posted January 14, 2008 Before working with assembly language and meta events, I would suggest to go for the C wrapper for such a simple application, which would only use maybe 10% of the MIDIbox64 firmware.Here an example for soft-takeover:http://www.ucapps.de/mios_c_send_ain_takeover.htmlUsing buttons:http://www.ucapps.de/mios_c_send_din.htmlUsing LEDs:http://www.ucapps.de/mios_c_set_dout.htmlBest Regards, Thorsten. Quote
cimo Posted January 15, 2008 Author Report Posted January 15, 2008 .. that sounds like "c mon simone learn some C it s just about time.." Quote
bugfight Posted January 15, 2008 Report Posted January 15, 2008 .. that sounds like "c mon simone learn some C it s just about time.."c is easy, it's not like you need to get an "A" in it...*whack* Quote
cimo Posted January 16, 2008 Author Report Posted January 16, 2008 .. moving to the MIOS programming © forum Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.