Replies: 5 comments 6 replies
-
generally speaking: |
Beta Was this translation helpful? Give feedback.
-
ok i've posted a mini panel (that helped me resolve something else), and it has not manifested the problem i was having. now i've posted the current panel-in-progress, which DOES have the 'bug'. and i've identified what's happening by getting it to print to console. cannot, however identify yet why it is happening. ... very odd, i've check everything, and it's the same method running, same names. i'm considering removing all the links and doing them again, might be best. link to file post is here, and go up a post or two for the mini-panel: what is happening appears to be that if i change the first combo, no problem, it prints that combo name. but now if i go to combo 4 and move that, it prints combo 4 but also combo 1, which is changing in the UI, following last changed combo, which is all wrong, not supposed to be linked. and it's the same with combo 2 and 3: they always change combo 1 as well. eg: there are 4 combos here, and in the other view there are another 4 combos, so it's linked like that, across 2 views/tabs. |
Beta Was this translation helpful? Give feedback.
-
i'm having the same problem again with 'modulatorValue' not showing in the list of available properties to link to. can't figure out what it is, but i think if i try again and again, at some point, by fluke or some other cause, it will show again in the list, as it has done before. this is weird buggy Ctrlr behaviour i think. unless anyone can explain how to 'unlock' this, if i have a wrong setting somewhere (i don't think so, think it is as described, and randon behaviour by Ctrlr). btw: i un-linked all of those modulators, in order to link them up again. |
Beta Was this translation helpful? Give feedback.
-
You can avoid infinite loops when linking two Also I don't think changePartner = function(--[[ CtrlrModulator --]] mod --[[ number --]], value --[[ number --]], source) local name = L(mod:getName()) local t = {B1 = "A1", A1 = "B1"} --panel:getModulatorByName(t[name]):setModulatorValue(value,false,false,false) -- will create infinite -- loop and crash ctrlr when trying to sync two or more combos so -- we will make the values match by accessing the JUCE object ComboBox --https://docs.juce.com/master/classComboBox.html local c = panel:getComboComponent(t[name]) if c ~= nil then local otherCombo = c:getOwnedComboBox() otherCombo:setSelectedId(value + 1, 0) end end |
Beta Was this translation helpful? Give feedback.
-
Try deleting those combos and recreating. I’ve had issues like that before.
Also if you delete uiGroup, then uiSlider, uiCombo etc will still exist hidden
in your panel so find them and delete them. If those hidden modulators have
the same name as the ones creating the problem, that could very possibly be
the source of the problem.
…On Tue, Dec 5, 2023 at 2:48 subv0x ***@***.***> wrote:
my panel doesn't show signs of an infinite loop (that i'm aware of).
i just have this weird bug - which i'll hopefully get to the root of -
where combo1 is affected by combos 2,3,4.
the other issue, which i think is a Ctrlr bug, is not being able to access
'modulatorValue' as a link property, because sometimes it just doesn't
appear on this list. - and can then inexplicably re-appear again.
—
Reply to this email directly, view it on GitHub
<#574 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASKFXQ62EHUJ73OVFQDJBY3YHYEGRAVCNFSM6AAAAAA62ML7VWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TONJVHE4TM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
wondering how to handle Linked Modulators, in terms of hooking up with a single incoming and outgoing parameter value.
should i just consider them as one (and ? name accordingly?), and only address one of them with incoming values?
here's a little panel to illustrate. modulators are linked in Ctrlr properties, using 'modulatorValue' as common property.
this is Roland D-series btw
i built it this way because i couldn't think of another way to handle the list mismatch for synth waveform/PCM bank (see notes in panel below). the other linked pair are the two lists corresponding to the selection when PCM bank is selected (...with the other linked pair).
this functions ok in the UI, but needs to respond to incoming values, and produce a single value (per pair) in the parameter values.
Linked Modulators_1_0_start_2023-11-02_06-49.zip


Beta Was this translation helpful? Give feedback.
All reactions