Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Knobs Reset on Project Load

For general discussion related FlowStone

Knobs Reset on Project Load

Postby Perfect Human Interface » Wed Jan 22, 2014 12:16 am

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 14054 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 14054 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.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Knobs Reset on Project Load

Postby Frad » Wed Jan 22, 2014 2:43 am

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.
Frad
 
Posts: 8
Joined: Wed Jan 22, 2014 12:19 am
Location: canada

Re: Knobs Reset on Project Load

Postby nix » Thu Jan 23, 2014 2:06 am

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

Postby nix » Thu Jan 23, 2014 2:19 am

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
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Knobs Reset on Project Load

Postby Perfect Human Interface » Thu Jan 23, 2014 6:33 am

Stared at this for hours. Gave up. The LFO's are just going to feed the "off" value. It's not possible like this.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Knobs Reset on Project Load

Postby Nubeat7 » Thu Jan 23, 2014 12:13 pm

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
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Knobs Reset on Project Load

Postby Perfect Human Interface » Thu Jan 23, 2014 2:04 pm

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


Oh that's good... How did you come up with that?
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: Knobs Reset on Project Load

Postby Nubeat7 » Thu Jan 23, 2014 3:32 pm

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 821 times
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Knobs Reset on Project Load

Postby Perfect Human Interface » Fri Jan 31, 2014 6:01 pm

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.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm


Return to General

Who is online

Users browsing this forum: No registered users and 73 guests