Highly Liquid Forum facebook twitter google plus rss feed
  #1  
Old 12-01-2009, 08:38 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default Configuring MD24 Note Response

R. writes:

Quote:
Can I daisy chain another md24 to the md24 that I already have and then be able to receive midi data for the next 23 notes on the keyboard? Right now I have middle c + 23 notes about two octaves.
Yes, multiple MD24 boards can be chained together. Each output of each board is independently configurable, so any range of notes can be used to trigger the outputs.

First, grab the MD24 hardware & firmware user manuals from the MD24 product page.

Next, make sure you can send a MIDI SysEx message from the MIDI Out port of your computer. There are links to software (such as SendSX) on this page:

http://forum.highlyliquid.com/showthread.php?t=280

The "MIDI Configuration" section of the MD24 Firmware User Manual describes how to format a SysEx message so that the output configuration can be changed. All numbers in the SysEx message are formatted as hexadecimal ("hex").

In the Ver 1.0 Firmware Manual, Figure 2-2 shows the "factory default" configuration. (my comments after the "//"):

Quote:
//header
F0 00 01 5D 03 01
//output config
00 01 00 3C
01 01 00 3D
02 01 00 3E
03 01 00 3F
04 01 00 40
05 01 00 41
06 01 00 42
07 01 00 43
08 01 00 44
09 01 00 45
0A 01 00 46
0B 01 00 47
0C 01 00 48
0D 01 00 49
0E 01 00 4A
0F 01 00 4B
10 01 00 4C
11 01 00 4D
12 01 00 4E
13 01 00 4F
14 01 00 50
15 01 00 51
16 01 00 52
17 01 00 53
// Footer
F7
In the "output config" section above, each line supplies the MIDI configuration for a single MD24 output:
  • First column specifies the MD24 output number in hex.
  • Second column specifies the output mode. 01h is the basic "note trigger" mode.
  • Third column is the MIDI channel. The value 00h directs the output to respond to the channel as specified by the DIP switch setting.
  • Since the mode is 01h, the fourth column specifies the note number in hex.
We have two MD24 units. We'll leave the first in the "factory default" configuration which is shown above. This means that the unit responds to MIDI notes 60-83 (or, in hex, 3Ch-53h).

We want the second unit to respond to the next 24 notes in sequence. That would be MIDI notes 84-107. In hex, the note numbers are 54h-6Bh. You can see the MIDI note numbers in this chart:

http://forum.highlyliquid.com/showthread.php?t=1125

...you can also convert a decimal number to hex using Google. For example, enter:
Quote:
84 in hex
and you'll get the result:
Quote:
84 = 0x54
Putting the "0x" before the number is just like putting "h" after it. (In other words, "0x54" is the same as "54h".)

So, we can change the note numbers in the default configuration above so that we have a configuration for the new note range that we want:

Quote:
//header
F0 00 01 5D 03 01
//output config
00 01 00 54
01 01 00 55
02 01 00 56
03 01 00 57
04 01 00 58
05 01 00 59
06 01 00 5A
07 01 00 5B
08 01 00 5C
09 01 00 5D
0A 01 00 5E
0B 01 00 5F
0C 01 00 60
0D 01 00 61
0E 01 00 62
0F 01 00 63
10 01 00 64
11 01 00 65
12 01 00 66
13 01 00 67
14 01 00 68
15 01 00 69
16 01 00 6A
17 01 00 6B
// Footer
F7
So, to reconfigure the second MD24 unit, connect the MIDI Out from your computer to the MIDI In on the MD24, then send the above SysEx to the MD24:

Start the application that you'll use to send the SysEx message, and load the SysEx message contents. If you're using SendSX, it will look like this:



Note: Remember to select the correct MIDI interface using the SendSX "MIDI Out" menu! Also, lines beginning with "//" are ignored by SendSX.

When everything is ready, click the SendSX "Send" button. The contents of the "MIDI Out" pane will be sent out from the computer's MIDI interface to the connected MD24.

If everything worked, the MD24 will acknowledge the receipt of the new configuration with 3 blinks of its activity LED. Once the new configuration is acknowledged, it will be stored inside the MD24 permanently (or until a new configuration SysEx message is received).

Finally, to chain the two MD24 units together, simply wire the MIDI Thru from one unit to the MIDI In of the other. The block diagram for this is shown in the "MIDI Wiring" section of the MD24 Hardware User Manual. (Specifically, see Figure 7-4 in the Rev E Hardware User Manual.)

As a result, you'll have two MD24 boards acting together to respond to MIDI notes 60-107.

Last edited by John; 12-02-2009 at 03:28 PM. Reason: spelling
Reply With Quote
Reply

Tags
configuration, md24, sendsx, sysex

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.