June 16, 2015 at 5:36 pm #50519
Hi, it would be nice if someone could help me.
My problem: Some Modulators are sending the values they receive via setModulatorValue, setValue or setValueMapped to MIDI-Out. They are identical to the ones that do not send unwanted data to MIDI-Out. One thing that I can say: they are all UiCombos. But as said, there are some UiCombos that are behaving correct.
I tried many things to get rid of this, but nothing helped.
So can someone tell me what’s wrong with this line?
Or here another one:
pmod=panel:getModulatorByName("BendRng") Lo=patchDump:getByte(30) Hi=patchDump:getByte(59) if Lo==0x00 and Hi==0x00 then pv=0 elseif Lo==0x20 and Hi==0x00 then pv=32 elseif Lo==0x40 and Hi==0x00 then pv=64 elseif Lo==0x60 and Hi==0x00 then pv=96 elseif Hi==0x01 then pv=127 end pmod:setValueMapped(pv,false,true)
June 16, 2015 at 6:37 pm #50523dasfakerKeymaster
- This topic was modified 7 years, 2 months ago by Possemo.
- Topics: 80
- Replies: 793
- Total: 873
Yes, this is a known bug, combos ignore the “false” setting.
The ones you see are behaving correctly, it’s very possible that the value they receive is the same value they had previously, that’s why they don’t send any new value.
What I do is to use panel property “No MIDI output from panel” when I assign values to modulators after receiving a dump.June 17, 2015 at 9:32 am #50552
I just wantet to add that every uiCombo has the bug, as you say – the ones that do not send data receive the same value as they already have (first switch: false). “No MIDI output from panel” is a workaround for this – thanks. I am thinking about changing a few uiCombos to uiListBox. I like the ListBox as it shows you all possible settings of a prameter at once. But yea of course I needs more space on the screen.September 17, 2015 at 7:21 am #58111
I tried to set panel property “No MIDI output from panel” before changing modulator’s value but some uiCombos still send midi out messages due delay processing I suppose. I think there is two solutions of that issue. The fist one is using appropriate timer before restoring panel property. The second is setting uiCombo property “modulatorMute” before changing values and restoring after. Any idea?September 18, 2015 at 3:23 am #58173
I was not into Ctrlr for some time. I changed the uiCombos to uiListbox’es but I am still interested in a solution for uiCombos. May I ask – how do you set the switch “No MIDI output from panel” with LUA?September 18, 2015 at 6:30 am #58174
Somehow like that:
I tried used to panel:setPropertyInt(“panelMidiPauseOut”,1) but it didn’t work for me.
There is another way. It’s possible to midi mute uiCombor for a while.September 18, 2015 at 12:08 pm #58186
Ah I see. There was a trhead about this:
Got to see how dasfaker did it. His Virus panels look like serious sh*t. A pity I do not have a Virus.
Thanks bloodykot. Will keep you informed if I find out something new.
So far that’s all I found in dasfakers Viruspanel:
It does not seem he used:
Will look some further.
September 22, 2015 at 9:52 am #58444
- This reply was modified 6 years, 11 months ago by Possemo.
I’m testing now solution like that:
panel:getModulatorByName(“osc1wave”):setModulatorValue(programData:getByte(31), true, false, true)
panel:getModulatorByName(“osc1wave”):setPropertyString(“componentDisabled”,”0″)September 22, 2015 at 12:59 pm #58454
Great, looks like a valid path. And as it just concerns uiCombos it’s not too much work. Unfortunately I don’t have much time at the moment but I definitely want to test this asap.January 10, 2016 at 11:36 pm #67969
Life has been hard – I had so much other things to do. But now I finally managed to test this out.
With the newest Ctrlr-Build (5.3.183) this issue got even more important. Maybe it is me that broke something in my panel, don’t know. Anyway – the “false” parameter on the “setModulatorValue” command does not seem to work anymore.
But hey, this works like a charm:
after Sysex-Messages reenable:
That’s it. Thanks bloodykot
- The forum ‘Using Ctrlr’ is closed to new topics and replies.