Page 1 of 2
[Solved] Preset Bug in Trogs ruby Bitmap knob
Posted: Tue Nov 10, 2015 2:48 pm
by Walter Sommerfeld
Hi guys,
found this nice knob in my toolbox...
If i save the actual program i see the actual knob value -
but when i switch to the next preset it's back 2 it's previous value

someone has a clue for me?!
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Tue Nov 10, 2015 5:48 pm
by tulamide
Wow, this is a tough one!
Scenario:
Preset 1, I changed the value from 0.14 to 0.7. Switched to preset 2, then back to preset 1. Shows 0.14. Now investigating code/routings
RubyEdit works correctly. I "watched" all variables Trog used, and they all say 0.7 . Just the input "from_preset" is at 0.14, which is strange. It becomes even weirder.
Since Ruby works I look at the VST preset module. The "Preset Value" input is at 0.7, the "Display String" input is at "0.14 blobs" and the Param-Prim's "current value"-output is at 0.14
I suspect the Param-Prim not working correctly, but I don't know why.
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 7:58 am
by Nubeat7
try to set the lock flag in the presetmanager on and off again, it looks like that the presetmanager primitive doesn't recognise this flag correctly...
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 10:30 am
by Spogg
Nubeat7 wrote:try to set the lock flag in the presetmanager on and off again, it looks like that the presetmanager primitive doesn't recognise this flag correctly...
This is interesting to me because I found the Lock flag doesn't do what I expect in any of my projects.
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 12:17 pm
by Walter Sommerfeld
Nope Rene,
forgot 2 add another 'normal' knob - this works so the lock isn't the problem here - i think...
like tulamide mentioned - it seems 2 be really a tough one this time... i could live w/o it's working in my actual project but you know: we are curious

btw:
Another effect if added in my never ending big master controller emulation project is
that if i control it remotely (Midi or set value) i get a very low redraw rate w/o smoothness

Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 7:26 pm
by Nubeat7
@walter just worked here.. fs 3.06
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 7:53 pm
by tulamide
Nubeat7 wrote:@walter just worked here.. fs 3.06
That makes it even more tough. I'm on 3.0.6 as well. Did you change anything?
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 9:17 pm
by Nubeat7
as described above, just set the lock flag on and off again... nothing else.
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 9:32 pm
by tulamide
Nubeat7 wrote:as described above, just set the lock flag on and off again... nothing else.
Sorry, but I thought of that as well - it didn't change the behaviour. So, either you are a special case, or there is more to it than just toggling on/off.
Re: Preset Bug in Trogs ruby Bitmap knob
Posted: Wed Nov 11, 2015 9:54 pm
by Nubeat7
no, just that on my machine, i also doublechecked it with downloading the original fsm from the first post, tried it - error confirmed - toggled the lock on / off - and it works as it should!
