Program Change question

Discuss Lemur and share techniques.
biologik
Newbie
Posts:34
Joined:29 Jan 2012 15:43
Program Change question

Post by biologik » 02 May 2013 05:50

Hi Guys,
You've all been super helpful and I thank you for that! I have another question though :)
I'm modifying an existing program change template. Seems simple enough right?

The issue is that I actually want it to control 16 banks each filled with 16 tracks.
For example, the button on the left would control banks 1-16. Then, the button on the right would control tracks 1-16 on the right.
It's basically just a pattern change using program changes (I know that right now this exceeds 127 - I'll deal with that later once I figure out how to access the other half :))

The first issue is this:
Since I added 16 buttons there is now overlap. For instance I can get to program # 15 but either hitting 0 on the left and 15 on the right OR 1 on the left and 5 on the right. See what I mean?
Any ideas how to change the code so that this does not happen? I can't think of how I would do this..

The next question is this:
How can I change the left buttons to display a letter (A-P) instead of #s 0-15? Is that even possible?

Any help greatly appreciated. Template attached!
Attachments
programchange.jzlib
(3.31KiB)Downloaded 92 times

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Program Change question

Post by Softcore » 02 May 2013 15:17

Im really not getting this:

1.Do you want both the columns to send program change messages? If yes, shouldnt they at least send on different midi channels so that you can sort of "seperate" what you are actually controlling in the software?

2.Shouldnt the display above change ONLY when the "tracks" columns sends data? (according to your description this would be the right column)....

Im confused.... lol

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Program Change question

Post by Softcore » 02 May 2013 15:29

Ok I think Im getting it now....You have 16 tracks in bank1, then another 16 in bank 2 etc etc....

So, for example when you press left column 2 - right column 1 the monitor value goes 20 while the selected track should be bank 2 - first track, therefore the 17th track....
So I think you havent though this through correctly.....

Am i close? lol

In any case, if you describe correctly and sufficiently what you are trying to send (midi wise) this will be easy to make!

Also, what if we choose last bank last track....there is no 16 x 16 midi message that I know of....Or are you changing the banks and then the tracks change in sets of 16?

Still confused...

biologik
Newbie
Posts:34
Joined:29 Jan 2012 15:43

Re: Program Change question

Post by biologik » 02 May 2013 15:35

Yes, that's exactly right.

The issue is that I can create combos to get the same program change number instead of having a fluid increasing number (eg. for program change 11 I can select 0 and 11 or 1 and 1).
I DO understand why this is, but I can't figure out a work around.

At this point I'd settle for an 8 x 16 (or 16x16) switch but for whatever reason I can't get the values to increase. It's either the max or min value (ie. 1 or 127, not 1 TO 127).

In terms of the 16x16 I'll actually just make it 2x 8x8. Let's forget about that for now..

This is what I want:
Left row to control banks, right row to control patterns in banks. This has to be done using program changes (1-127)
There are 16 banks and each bank consists of 16 patterns.
So, for example, Left button 2, right button 11 would be Bank 2, pattern 11.

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Program Change question

Post by Softcore » 02 May 2013 17:12

Ok sorry for asking again but thats only to understand and help you....

Lets say we want bank 2 pattern11, we press the related buttons.....but WHAT will be the desired program change output so that you can actually use it in your controlled software?
Is it going to be program change 37? is this what you are after?

What Im trying to say is that with a total of 16 patterns in 16 banks you have 256 patterns total - how are you planning to select them when you use a single program change message which will go up to 127 ( a total of 128 index numbers)?

isnt there a way (in your to-be-controlled-software) for another solution? For example program change on midi channel 1 -> pattern in bank 1, program change on midi channel 2 -> pattern in bank 2 (and so on)....

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Program Change question

Post by Softcore » 02 May 2013 17:25

Here it is by the way.....but as I said....it goes up to 256.....

bank1 patt 1 ->pchange 1
bank1 patt16 ->pchange16
bank2 patt1-> pchange17

Is the logic.....and so does the "Track" monitor display
programchange-upto256-lol.jzml
(3.44KiB)Downloaded 106 times

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Program Change question

Post by Softcore » 02 May 2013 17:33

Oh here's the other litle thing you asked....
programchange-256-LABELED.jzml
(3.8KiB)Downloaded 104 times

biologik
Newbie
Posts:34
Joined:29 Jan 2012 15:43

Re: Program Change question

Post by biologik » 02 May 2013 17:49

Ah! So basically all I had to do was multiply by 16! I don't know why this confused me so much.
I really appreciate your help Softcore!!

I've attached the template here. You can see how I modified it to control two banks of 127 as I needed. This is for the Elektron Octatrack.
By hitting the bottom button it allows access to the other half (it just sends a cc of 0).

Ideally I'd have the text change on the two columns when I hit the button but that'll take some research :)
Thanks again Softcore!!
Attachments
bank_pattern_elektron_octatrack.jzml
(4.22KiB)Downloaded 93 times

biologik
Newbie
Posts:34
Joined:29 Jan 2012 15:43

Re: Program Change question

Post by biologik » 02 May 2013 17:50

ooh, you posted while I posted. This is amazing!

Softcore
Regular
Posts:1639
Joined:04 Nov 2012 08:34

Re: Program Change question

Post by Softcore » 02 May 2013 18:07

Ok so Im assuming the bottom button will also need to change the names on the "banks"....

;)
bank_pattern_elektron_octatrack-labeled.jzml
(4.96KiB)Downloaded 102 times

Post Reply