Highly Liquid Forum facebook twitter google plus rss feed
  #21  
Old 09-12-2014, 09:24 PM
Steamrocks Steamrocks is offline
Junior Member
 
Join Date: Sep 2014
Posts: 2
Default

I haven't seen the matrix you have, but it MIGHT be possible to reverse the roles of Data and Output lines from the CPU to the matrix, which might take care of the polarity problem. Compare your matrix to available terminal configurations. Experiment with 'loose' diodes outside of the keyboard.

Even if this is a 61 note keyboard (which now, by the way, will have no velocity sensitivity) switching out 61 diodes is not a 'forever' task. I MIDIfied a pipe organ console with close to 500 switching diodes in it, and the job eventually got done.
Reply With Quote
  #22  
Old 09-13-2014, 05:14 AM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by Steamrocks View Post
I have built a VirTual Theater Pipe Organ with three manuals, 117 stops, pedals, and a full Theater Pipe Organ console controlling the virtual equivalent of 23 ranks (Sets) of pipes and six tuned percussion instruments. The MIDIfied 1920's vintage console drives a large sample player through a utility called jOrgan.

I am rebuilding the console MIDI electronics after an electrical surge accident, and need the Highly Liquid MIDI CPUs to be able to scan a full 128 key and switch closures for each of the 4 boards I am incorporating.

I have reviewed all the material on matrix switching I could find, including the very informative posts on this thread. I have tried many configurations, but the most I can achieve is 120 switches since terminal 19 is not capable of being a logic output.

I have found by extensive experiment that I can't reverse the order of Data Inputs and Outputs, since the Data Inputs must be the lowest terminal numbers, and all be continuous, and the Outputs must be the highest terminal numbers, again, all continuous.

While a 128 note encoder may not be very commonly used in other music applications, those of use who build virtual organs find it very handy. A full Highly Liquid console encoder system would cost an order of magnitude less than other available systems, and additionally take up much less space in the console.

If anyone has found a way to program the unit so that it can handle all 128 notes and switches, I'm all ears! I've tried a lot of alternatives, and haven't found one yet.

By the way, the long explanation that John put up at the beginning of this thread is very clear and helpful. NOW, if he could only tell us how to turn terminal 19 into a Logic Output!
Hi Steamrocks, welcome to the forum.

The trick is to use CT 16-23 as data, and use CT 0-15 as select/common lines. This works around the limitation of CT 19 as input only.

Each matrix select mode has a version for data input on CT 0-7, 8-15, or 16-23.

Here's a wiring diagram. Let me know if this helps!

Reply With Quote
  #23  
Old 09-09-2015, 05:05 PM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Default PCB of 128 DIP switch matrix engraved next week !

Hello !
My midi controller with 128 DIP Switch is for soon !
I've followed your schema (upper in this post !) but I wonder if the firmware will use the matrix without re-programming it, it is just a on/off midi controller...
Can you tell me ?
THX !
Reply With Quote
  #24  
Old 09-09-2015, 10:49 PM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by Earslicker View Post
Hello !
My midi controller with 128 DIP Switch is for soon !
I've followed your schema (upper in this post !) but I wonder if the firmware will use the matrix without re-programming it, it is just a on/off midi controller...
Can you tell me ?
THX !
Hi Earslicker,

Yes, you must send a sysex to the MIDI CPU in order to configure it for using the switch matrix. The information is provided at the top of this thread, and also in the firmware user manual.
Reply With Quote
  #25  
Old 09-14-2015, 09:11 AM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Default

I will post my try of sysex programmation of the cpu for a 128 dip switch controller, finally I've decided to configure it as a note keyboard, because my sofware can be configurated to use it as a switch controller ^^.

Last edited by Earslicker; 09-16-2015 at 01:59 PM.
Reply With Quote
  #26  
Old 09-18-2015, 10:26 AM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Default Midi Ox is cool !

I've just seen that I can edit sysex with the freeware MidiOx ;-) !
Reply With Quote
  #27  
Old 09-18-2015, 03:39 PM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Default Sysex code for a 128 dip switch controler, is it good ?

F0 00 01 5d 04 10
00
10 00 7f 00 00 00
10 01 7f 00 00 00
12 00 7f 00 00 00
12 01 7f 00 00 00
13 00 7f 00 00 00
13 01 7f 00 00 00
14 00 7f 00 00 00
14 01 7f 00 00 00
15 00 7f 00 00 00
15 01 7f 00 00 00
16 00 7f 00 00 00
16 01 7f 00 00 00
17 00 7f 00 00 00
17 01 7f 00 00 00

00 00 2c 00 00 00
01 00 2c 00 08 00
02 00 2c 00 10 00
03 00 2c 00 18 00
04 00 2c 00 20 00
05 00 2c 00 28 00
06 00 2c 00 30 00
07 00 2c 00 38 00
08 00 2c 00 40 00
09 00 2c 00 48 00
0a 00 2c 00 50 00
0b 00 2c 00 58 00
0c 00 2c 00 60 00
0d 00 2c 00 68 00
0e 00 2c 00 70 00
0f 00 2c 00 78 00
f7
Reply With Quote
  #28  
Old 09-19-2015, 01:20 AM
John's Avatar
John John is offline
Moderator
 
Join Date: Jan 2009
Posts: 3,007
Default

Quote:
Originally Posted by Earslicker View Post
F0 00 01 5d 04 10
00
10 00 7f 00 00 00
10 01 7f 00 00 00
12 00 7f 00 00 00
12 01 7f 00 00 00
13 00 7f 00 00 00
13 01 7f 00 00 00
14 00 7f 00 00 00
14 01 7f 00 00 00
15 00 7f 00 00 00
15 01 7f 00 00 00
16 00 7f 00 00 00
16 01 7f 00 00 00
17 00 7f 00 00 00
17 01 7f 00 00 00

00 00 2c 00 00 00
01 00 2c 00 08 00
02 00 2c 00 10 00
03 00 2c 00 18 00
04 00 2c 00 20 00
05 00 2c 00 28 00
06 00 2c 00 30 00
07 00 2c 00 38 00
08 00 2c 00 40 00
09 00 2c 00 48 00
0a 00 2c 00 50 00
0b 00 2c 00 58 00
0c 00 2c 00 60 00
0d 00 2c 00 68 00
0e 00 2c 00 70 00
0f 00 2c 00 78 00
f7
There are some errors in there. This thread has the config that you should use:

http://forum.highlyliquid.com/showthread.php?t=477
Reply With Quote
  #29  
Old 09-19-2015, 06:06 AM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Talking Okay !

May be add this text in the " MIDI CPU Firmware Version 1.2 User Manual "
at the end of the " 3.5.1 Matrix Select: Note On / Note Off " paragraph would be cool :
".
" Note the difference between mode 2C, 2D, and 2E. 2C expects data on terminals 0-7, mode 2D monitors data on terminals 8-15, and mode 2E monitors terminals 16-23. "

Source: http://forum.highlyliquid.com/showthread.php?p=2759

Began in hexadecimal was really cool, I've liked this little challenge ^^.

I can't test the program because I must wait one week or two more for acid to engrave the PCB of the matrix, and then solder the 128 DIP Switch and diodes on it ( about more than 800 soldering in total with the Midi CPU ! ) .

Big THX for your support !
Reply With Quote
  #30  
Old 11-27-2015, 06:40 PM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Default It's working ! ^^

Hello ! I've just send the sysex in the MidiCPU and it is working as a strange piano keyboard.
But that's not exactly that I wanted.
I want it to stay ON after the first press of a switch and go OFF at another press of the same switch.
Is it possible to program another sysex for that ? If yes how ?
THX.
Reply With Quote
  #31  
Old 11-27-2015, 07:28 PM
Earslicker Earslicker is offline
Junior Member
 
Join Date: Sep 2014
Posts: 11
Default I've found !

"Highly Liquid MIDI CPU Firmware V. 1.2
3.5.2 Matrix Select: Note Toggle
Alternating Note On and Note Off messages are generated when a switch state changes from high to low."

But I don't understand how is it working, and where I have to put those line in my sysex...
Reply With Quote
Reply

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 05:28 PM.


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