Knobs Reset on Project Load

For general discussion related FlowStone
Post Reply
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Knobs Reset on Project Load

Post by Perfect Human Interface »

I have a problem in my current project where some of the knobs reset after a project is saved and reloaded. I know why it's doing this but I'm asking for any ideas how I might be able to work around it.

Here's what's going on. My knobs have a function where they can have their values set via an external input. Most knobs in this project can be linked to an LFO via this module:
KnobSet1.PNG
KnobSet1.PNG (24.3 KiB) Viewed 17061 times


The topmost value of the selector is empty; that's the "no LFO" setting.

Now, some of my knobs are bipolar, meaning their default value is at 0.5. Those knobs use this:
KnobSet2.PNG
KnobSet2.PNG (26.44 KiB) Viewed 17061 times


Notice the value at the top connector. That's so that the "no LFO" setting resets it to the proper default setting rather than full left.

So what seems to be happening is that when the project is loaded, that 0.5 value is being sent to the knob, defaulting it, whereas when nothing is connected there, the knobs stay set to their previous values.

I haven't a clue how to work around this right now so if anyone has any ideas please let me know. :) Thanks.
Frad
Posts: 8
Joined: Wed Jan 22, 2014 12:19 am
Location: canada

Re: Knobs Reset on Project Load

Post by Frad »

I'm relatively new at this...
But here's an idea:

pass your 0.5f through a Sample & Hold module before sending it to your Selector, and for the trigger use the AfterLoad module...

this is untested and dont have enough time as of now to test this
The essence of matter and forces all boils down to a vibration.
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Knobs Reset on Project Load

Post by nix »

If it's going to be for a VST,
you will have to make it behave with a preset parameter.

But if it's just going to be loaded in FS,
since the one with the blank in works,
u could use a second selector before the lfo one on the .5 .

leave the first connector blank,
and trigger it to move to the .5 if 'no LFO' is input by u after load.

You can return it to blank with the 'close' primitive.
User avatar
nix
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Knobs Reset on Project Load

Post by nix »

Welcome Frad!
Hope u like our hang-out 8D

edit- i'm not sure if my thought works-
because it will read zero on close and send that value maybe
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Knobs Reset on Project Load

Post by Perfect Human Interface »

Stared at this for hours. Gave up. The LFO's are just going to feed the "off" value. It's not possible like this.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Knobs Reset on Project Load

Post by Nubeat7 »

send a trigger (with boolt to trigger) if selector is set to no lfo to a sample and hold with the value 0.5 into a last primitive before the set-in of the knob, like this 0.5 is only triggered when you set the lfo to off, else it is always the last setting value

if i understood your problem right
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Knobs Reset on Project Load

Post by Perfect Human Interface »

Nubeat7 wrote:Bool to trigger > Sample and Hold > Last Switch


Oh that's good... How did you come up with that?
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: Knobs Reset on Project Load

Post by Nubeat7 »

you also could get rid of the s&h and feed a fix value into the last and trigger it when needed, the best place for external setting knobvalues is in the presetmanager before the preset parameter prim so also the output is updated (and not only the knob drawing) , here is an example look for the "external value settings" module inside the preset module
Attachments
external setting.fsm
(7.13 KiB) Downloaded 957 times
Perfect Human Interface
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Knobs Reset on Project Load

Post by Perfect Human Interface »

Nubeat7 wrote:you also could get rid of the s&h and feed a fix value into the last and trigger it when needed


Yes that works fine as well. Thank you very much. I wish you had showed up before I spent that entire day pulling my hair out over this though. :P I swore I had tried everything.
Post Reply