Jump to content

Recommended Posts

Posted

hallo

it sounds easy but i need help:

4 buttons with leds

1 pot (pedal)

MB64

a)do the usual tweaking on main.asm

b)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 guitar

considering 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? 

thanks

simone

Posted

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.html

Using buttons:

http://www.ucapps.de/mios_c_send_din.html

Using LEDs:

http://www.ucapps.de/mios_c_set_dout.html

Best Regards, Thorsten.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...