Home › Forums › General › Using Ctrlr › Can I copy all the faders from one tab to another without copying all the tabs?
Tagged: groups and tabs
- This topic has 88 replies, 4 voices, and was last updated 6 years, 3 months ago by human fly.
-
AuthorPosts
-
September 22, 2017 at 6:07 am #73022
If I understand correctly you are able to send values 462-562 as sysex to the PCM-70 and it shows 0%-100%.
I think all you need to do is change the uiSlider to a uiFixedSlider and then enter the following into the field ‘slider contents’:
0%=0
1%=1
…
100%=100
Now the slider will reflect what you are seeing on the PCM-70.Note: As far as I am aware you can’t enter 0%=452,1%=453 etc. uiFixedSlider always starts from 0. I think uiCombo is the same.
…then you may have to write a Lua callback function in the “Called when Modulator Value Changes” that takes the value and adds 462 to it. Set Midi Message Type to none if you have it currently set to “SysEx”. Now you may need that msb,lsb function I posted earlier.
mySendSysEx=function(mod,value,source) value=value+462 panel:sendMidiMessageNow(CtrlrMidiMessage( {0xf0, ......value ,0xF7})) end
September 22, 2017 at 1:11 pm #73026cz we’re on the next page, and zmix might miss it..
did you see that the “expression to evaluate” *works* for this?September 22, 2017 at 1:21 pm #73027You guys are great.. let me try to wrap my head around all this and see what works..!
September 22, 2017 at 2:16 pm #73029think you will find the “evaluate” box is the simplest.
that is exactly what it’s for. thanks for getting me to look at
it more closely, because i noticed the k1r panel had high values
on the faders, to deal with msb – which is a bit confusing if
you’re referring to the h/w device at the same time.September 22, 2017 at 2:32 pm #73030I downloaded your evaluate panel, that looks promising.. I’ll play with ‘expression to evaluate’ on my panel and report back..!
September 22, 2017 at 3:54 pm #73031‘expression to evaluate’ + number worked perfectly! Thanks.
Now to map other non sequential numbers, like the 15 possible filter cutoff settings, room sizes etc..
Will that require some sort of lookup table?
September 22, 2017 at 4:08 pm #73032gimme a clue. you mean ‘table 13 frequencies’? are you sure
those aren’t sequentially numbered? aren’t those the frequencies
themselves? try 0- … or 1-… first
i’ve just had my first look at that pdf so..looks like an interesting unit. had a quick listen to a youtube vid
as well. got a better link? sounded very nice.
is that an expensive unit? i’m not much of a reverb fan generally,
but a good one could make the difference.September 22, 2017 at 4:19 pm #73033oh wow, no s***, it really is ‘analagously’, literally the
value is the frequency. so how do they do that with the
sample delay times, when values go into the 31k, with just
2 bytes?if it has to be a table, then refer to dnaldoog’s method.
you’d have to work out the msb/lsb combination for each
step, make a numbered table of all that, and then call
from the table with each if/elseif – which i’m not too
confident/fluent with yet.edit: i’ve never used fixedUIslider: is this like the
combolist where you can define each step of the fader?September 22, 2017 at 5:47 pm #73034Ok, so for example, there are 32 listed frequencies for the High Cut filter:
0Hz
170
350
530
720
920
1120
—
snip
—
12300
13600
15000HzThe modulator covers these 32 values by sending 496-527 in the Sysex parameter range MSB / LSB
When you get into the reverberation times, it has a table of 32 more magic numbers 5,6,8,9,11,12,13,14,15,17,18,20,22,244,26,28,30,34,38,42,46,52,57,65,75,85,100,120160,220,350 and 700
These numbers are entered into a formula which varies based on the program, the selected size, etc..it’s in the manual on page 6-13
Attachments:
You must be logged in to view attached files.September 22, 2017 at 6:01 pm #73037So weird.. when I change the uiSlider to a uiFixedSlider I can no longer adjust the thumb width or height?
September 22, 2017 at 6:04 pm #73038in any normal fx unit.. like yamaha whatever, these values
would be associated with midi values, starting 0(or1) in a
selection list. this is a helluva manual.
how about making a couple of buttons, sticking 2 values on
them, and see if you get the expected results? ie: that it
selects the frequency you want.
have you got the lexicon responding to sysex yet?September 22, 2017 at 6:09 pm #73039yeah because you’ve got to type in the slider contents.
it’s like the combo list where you enter the list items
as you want them to appear – and then you can follow
those with ‘ =0, =1,=2’ etc. – you don’t see that bit,
it is just to define values for Ctrlr.it’s what dnaldoog was talking about, ie: you could go:
0%=0
1%=1
and then maybe skip to
50%=3i think, though, you could type in literally what you want,
as a consecutive list, and then have it = 0,1,2 etc.see box: ‘slider contents’. seems to make sense, going to have
a go now.September 22, 2017 at 6:14 pm #73040yeah look:
Attachments:
You must be logged in to view attached files.September 22, 2017 at 6:23 pm #73042BEST thing about using the uiFixed slider is that I can put in the display values, and their direct Sysex values…!!!
170Hz=497
350Hz=498
530Hz=499
720Hz=500
920Hz=501
1.12kHz=502
1.33kHz=503
1.55kHz=504
1.78kHz=505
2.02kHz=506
2.27kHz=507
2.53kHz=508
2.81kHz=509
3.1kHz=510
3.41kHz=511
3.73kHz=512
4.08kHz=513
4.45kHz=514
4.85kHz=515
5.28kHz=516
5.75kHz=517
6.27kHz=518
6.83kHz=519
7.47kHz=520
8.19kHz=521
9.02kHz=522
10kHz=523
11.1kHz=524
12.3kHz=525
13.6kHz=526
15kHz=527September 22, 2017 at 6:26 pm #73043but that mainly helps with what you are displaying.
-which what you want-
however Ctrlr is only getting 1,2,3,4,5you may well at this point need a lua method such as
described, ie: if fixie == 1, sendMIDImessage this,
elseif fixie == 2, send that, etc.
and then you associate that with ‘when value changes’,
and you’ll have to work out the msb/lsb values needed
at that point, if that’s what the lexicon needs.
strange, though… lol, not saying this manual’s a bit
pedantic, but.. it does send you back+forth, getting
you to refer to instructions at 10/ etc.
i have absolutely no idea what they mean haha:
‘value =(row*10)+column’…
ok, so there are 4 rows and 10 columns?
so if you want a reverb time of 120, you need:
(row)3*10, =30, +8, = 38 ?? is that it?September 22, 2017 at 6:28 pm #73044BEST thing about using the uiFixed slider is that I can put in the display values, and their direct Sysex values…!!!
ah yes !
September 22, 2017 at 8:12 pm #73045have you got the lexicon responding to sysex yet?
It has been working perfectly the whole time, I’m a little confused by all the diversion into byte order, etc.. I’ve got all that worked out already.. Maybe I wasn’t clear enough about that.
I was looking for a way to get the settings on the panel to correspond to the parameter values, and thanks to you guys I have that mostly worked out.
I’m still unsure about making a multi algo panel, it might be a waste of time given the structure of the PCM-70.. maybe it will require sending and receiving full 312 byte data dumps..
Also still not getting modulator names to appear in the DAW using the AU component.. is there a secret I’m missing?
September 22, 2017 at 8:49 pm #73046you can use the tab change (via buttons) to send an instruction
to device to send current program data…ie: a single preset
dump, if it does that? so that each time you change tab, it
fetches all program data – if all of those are limited to what
appears on the tab. if not.. if it sends all parameters..how
would you sort, to get just the parameters that appear on
that tab?as i’m not even confident updating a panel with all parameters
for a preset, i can only theorise.good that you’re working with the unit next to you, though,
and getting the results.September 22, 2017 at 8:57 pm #73047Yes, it’s so exciting to have complete control of every parameter int eh PCM-70, especially when using the Mackie C4 32-encoder control surface to adjust it in real time..I only wish the parameter names would say more than “Undefined_01…Undefined_64”
Since the PCM 70 doesn’t have direct access to the algos, and using a program change is worthless since it pops out of preset mode as soon as you adjust anything, some sort of bulk, send to the working buffer in the unit might ensure that I am starting from a known algorithm.
I have a collection of 312 byte sysex presets, how could I activate them via a tab, and then send the panel parameter settings?
September 23, 2017 at 1:26 am #73048Hi Zmix,
It’s great that you got the uiFixedSlider option worked out.
I didn’t know you could start with values like 497, and if you are sending sysex from the panel I discovered you can do something like:
F0 ?? ?? ?? ?? ?? MS LS “checksum here” F7
to split the bytes into two values MS,LS (which would work on the Roland JD990) much like the function I posted, but then how do you calculate the checksum, without going into lua? For Roland it is ‘z5’ – are you just using that?I would be curious to know how you are sending these big values to the PCM-70.
How are values above 127 split?I looked at the manual very briefly. It seems very different from the Roland system and I’m only familiar with that.
Regards.
-
AuthorPosts
- The forum ‘Using Ctrlr’ is closed to new topics and replies.