Jump to content

foot controller to note-on


ultrasound
 Share

Recommended Posts

Hi

I have uploaded ain64_din128_dout128_v1_3 to my PIC and i have connected 1x core + 2x AIN (no pots soldered, all unused pins are soldered to the ground) + 1x DIN (with only 1 button soldered).

The problem is that i have foot controller on DIN, and i want to switch them to note-on buttons, how can i change it?

Greets

Link to comment
Share on other sites

becouse USER_DIN_NotifyToggle call events from  MIOS_MPROC_EVENT_TABLE in this example

please change values in this table (mios_tables.inc)

MIOS_MPROC_EVENT_TABLE
	;; entry 0x00-0x0f
	MT_ENTRY	0x90, 0x00     ;90 for note at chan 1  - switch 1
	MT_ENTRY	0xb0, 0x01
	MT_ENTRY	0xb0, 0x02
	MT_ENTRY	0xb0, 0x03
	MT_ENTRY	0xb0, 0x04
	MT_ENTRY	0xb0, 0x05
	MT_ENTRY	0xb0, 0x06
	MT_ENTRY	0xb0, 0x07
	MT_ENTRY	0xb0, 0x08
	MT_ENTRY	0xb0, 0x09
	MT_ENTRY	0xb0, 0x0a
	MT_ENTRY	0xb0, 0x0b
	MT_ENTRY	0xb0, 0x0c
	MT_ENTRY	0xb0, 0x0d
	MT_ENTRY	0xb0, 0x0e
	MT_ENTRY	0xb0, 0x0f

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...