October 17, 2020 at 6:18 am #120341
A pull down menu would be great for options like choosing between Saw, Sine, Triangle, etc. waveforms.
Right now I have an Inc/Dec button to do this.
I have a SysEx message in there like so:
F0 41 10 00 00 77 12 19 01 20 00 xx z5 F7
The xx “calls to” the min and max values further down, which in this case are 0-7.
I don’t see where the uiCombo button has any SysEx message you can put it.
I see the list – so I can put “Saw”, “Sine” etc. in – and I can see that work on the screen.
But obviously when you click “Sine” I want it to send:
F0 41 10 00 00 77 12 19 01 20 00 03 z5 F7
Or whatever it has to do to do this.
Do I have to make it call to a table of SysEx messages stored somewhere else?
Edit: I lookeed at “Buzzzy” and there’s an additional thing called “MySysEX” or something like above the usual choices in one of the call to boxes.
So I assume that’s a list of SysEx messages somewhere that this pull down menu is calling to.
It shows up in the Lua console, so I guess I need to learn how to do a little Lua programming!
October 17, 2020 at 10:25 am #120344October 17, 2020 at 8:25 pm #120349
- This topic was modified 3 years, 1 month ago by llatham.
It totally worked just like I expected it to originally! I don’t know what was happening – I think I was trying to replace the existing control with the uiCombo, but when I did, I ended up deslecting it so I wasn’t seeing the right fields in the RH panel!
Got it working now, thanks!
Scratch that – now it’s taking like 1 second for every parameter to change. I pull up my old panel and it works fine, now when I made these changes it takes a litttle while for it to make changes on any element. Just because I changed two things from Inc/Dec to uiCombos?
EDIT: I changed the global delay on MIDI messages to 0 and it works as it did before. Not sure how that got changed but maybe I accidentally dragged across it…October 17, 2020 at 11:29 pm #120352
I got it all working – except 1 thing – and I think I know why:
I have an “Octave Shift button. I’d like to use uiCombo for this too (currently inc/dec).
It has 7 values but it runs from 61 – 67 and I think that’s the issue – all of the other ones start at 0 and go 0-1, or 0-9, and so on and they work fine.
I don’t see anywhere to set any kind of offset (and I tried various parameters to no avail).
Help 🙂October 18, 2020 at 2:18 am #120353
In area Expression to evaluate … of the Octave Shift uiCombo set it to
That should do the trick!
Regards,October 18, 2020 at 7:39 am #120356
That should do the trick!
Is there a way to invert it? It “ascends” as you go down the menu – which for Presets and things like that that’s the normal way. Since it’s an 8ve Shift it would be cool if the “+1 octave” was above the mid-point.
So right now I have it:
which is OK but it’d be cool to have:
for this one.
If there’s no way or it’s really complex it’s OK the way it is.
Thanks for all your help! I feel like I’m pestering you guys to death and I’m trying to learn…all this stuff is pretty new to me – I’ve learned CC and SysEx messages before but the best I could do was figure out the offsets and what numbers I needed to put in based on Roland’s manuals (which could be clearer…).
SteveOctober 18, 2020 at 10:13 am #120358
I think learning Ctrlr is difficult, because there is no manual except for one Goodweather wrote, but you have to track that down – I don’t know where it is, so personally I like to share what little knowledge I have of this amazing program. So don’t worry about firing off a hundred questions!
Attachments:You must be logged in to view attached files.October 18, 2020 at 11:31 am #120361October 18, 2020 at 7:48 pm #120364
Thanks. I found that, but unfortunately there aren’t tips like “whatever you do, don’t resize your panel” – if I’ve made that mistake! 🙂
So I probably should have done this:
1. Started not zoomed in or out.
2. Put in Tabs first.
3. Put in Combos next.
4. Put components into the Combos, in order of design layout (so the VST and modulator indices might be better numbered).
5. Copied and pasted all the SysEx strings into the modulator list and make the necessary changes as I go (or you could do it in the Panel as the fields will say in the same place as you click each component).October 20, 2020 at 3:30 am #120378
(6-modulatorValue)+61work ??October 20, 2020 at 3:51 am #120379
It did! Thanks!!!
I’m trying to understand why this works.
61 – 62 – 63 – 64 – 65 – 66 – 67 are my values.
But it’s basically sending 0 – 1 – 2 – 3 – 4 – 5 – 6
So adding 61 to those makes them the numbers needed.
6-0 = 6 + 61 = 67 – so now the 0 value is the highest value of 67.
6-1 = 5 = 66
6-2 = 4 = 65
6-3 = 3 = 64
6-4 = 2 = 63
6-5 = 1 = 62
6-6 = 0 = 61
My brain wants to tell me that It should be 7 because there are 7 units, but it’s clear the math works out here.
So is it consistent that if I had 12 values, I’d have to use an 11 as the prefix to get it to work – a number 1 less than the number of values?October 20, 2020 at 5:08 am #120380
There are seven values. The first is not 1, it’s 0
so 0-6 = 7 values
I know – it’s always confusing and when I first tested this in order to answer your question I naturally put (7-modulatorValue)+61, but it was wrong. I think it’s difficult to think of 0 as a value sometimes! It gets me every time!
So 0-11 = 12 values, yes!
🙂October 21, 2020 at 12:00 am #120392
Ha ha – I’m glad I’m not the only one who thought 7 then!
Can you take a look at my question on panel size when you get a chance please.
- The forum ‘Programming’ is closed to new topics and replies.