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

Ignorant question re: stock step LFO/sequencer

For general discussion related FlowStone

Ignorant question re: stock step LFO/sequencer

Postby Duckett » Fri Jan 31, 2020 5:07 pm

Hi all,

I've always appreciated our old pal StepLFO, but it was only recently that I'd poked around it long enough to notice that the number of horizontal steps is accessible through Properties; I said to myself, "Self, wouldn't having access to this on the GUI be a handy feature?" and proceeded to kludge that up. Seemed to work very well- would re-draw the specified number of steps, adjusting width to fit in the GUI window, great! Yet.. them details done messed me up again.. after exporting a synth with these, I tried to change one from 14 steps to 15- and, while the step window dutifully changed to show 15 steps, the added 15th step was non-editable, "invisible" to the mouse. Lessening steps is fine, but adding steps seems to always cause the added ones to do the same.

I'm not knowledgeable enough to grasp by myself what should be addressed to fix this, and maybe there's been a user-submitted step LFO/sequencer that allows easy selection of # of steps that I've missed, but I've learned; "it might be simple, it might be obvious, but not ever asking means it possibly another year before the light finally switches on" ;)

A shame that enjoying tinkering and being naturally organized do not always go hand-in-hand *cough cough*
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
User avatar
Duckett
 
Posts: 132
Joined: Mon Dec 14, 2015 12:39 am

Re: Ignorant question re: stock step LFO/sequencer

Postby trogluddite » Fri Jan 31, 2020 6:40 pm

I just had a poke around inside it, and I think I can see the problem. The storage for the step values is the 'VST Preset Array' primitive inside the 'Preset' sub-module. Unlike normal arrays, VST Preset Arrays can't have their size changed after the VST has been exported, as it would mess up the way that preset data is formatted and stored. So, the number of steps that you export the VST with becomes the maximum possible - there's no space in the VST Preset Array to store any more.

As you've found, using less than the maximum is no problem, so the simplest fix would be to give the VST Preset Array a fixed maximum size (just replace the "Steps H" wireless receiver to the 'N' input with a fixed integer inside the 'Preset' module). You'll then just have to make sure that your GUI selector for the number of steps can never exceed this size. As it's only a list of float values, even a maximum in the hundreds isn't going dent the VST's performance noticeably; it'll just need a little bit more memory, that's all.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Ignorant question re: stock step LFO/sequencer

Postby Duckett » Sat Feb 01, 2020 4:43 am

Lovely to learn, many thanks! Of course, I'm now thinking "Hmmm, not that expensive to get less quantized approximations of standard waveforms, eh?" Something resembling u-he's 128-value Mapping Generator wouldn't be out of the question, theoretically..

In any case, thanks again, and I'll just add that my new LFO rule is: always include an "invert" and a "uni/bipolar" switch ;)
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
User avatar
Duckett
 
Posts: 132
Joined: Mon Dec 14, 2015 12:39 am

Re: Ignorant question re: stock step LFO/sequencer

Postby trogluddite » Sat Feb 01, 2020 10:31 am

Duckett wrote:...and I'll just add that my new LFO rule is: always include an "invert" and a "uni/bipolar" switch

I likes 'em for modulation envelopes, too! :D
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Ignorant question re: stock step LFO/sequencer

Postby Duckett » Wed Feb 05, 2020 4:23 am

Grover voice Heeeey Troggy-baby!

Just wanted to say thanks again for steering me right :D
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
User avatar
Duckett
 
Posts: 132
Joined: Mon Dec 14, 2015 12:39 am

Re: Ignorant question re: stock step LFO/sequencer

Postby k brown » Fri Feb 07, 2020 11:24 am

I think this is the same problem I experienced a long time ago. The only fix I found was to always save the schematic and generate the .dll with the maximum number of desired steps showing. The when you open it as a vst, you'll be able to change the number of steps at will and all will be 'active'.
Website for the plugins : http://kbrownsynthplugins.weebly.com/
k brown
 
Posts: 1198
Joined: Tue Aug 16, 2016 7:10 pm
Location: San Francisco, CA USA

Re: Ignorant question re: stock step LFO/sequencer

Postby Duckett » Mon Feb 10, 2020 7:14 pm

Yep, that was it! StepLFO with variable steps here:http://www.dsprobotics.com/support/viewtopic.php?f=3&t=37285
I know there's already been full-fledged step sequencer modules etc., but I was thinking this idea is a bit more encouraging of quick experimentation by the user, and makes adding sequencing options to single-panel designs easier.

Please feel free to play around with it, dead simple as it is... maybe there's a k brown project it would work nicely in ;)
We have to train ourselves so that we can improvise on anything... a bird, a sock, a fuming beaker! This, too, can be music. Anything can be music. -Biff Debris
User avatar
Duckett
 
Posts: 132
Joined: Mon Dec 14, 2015 12:39 am


Return to General

Who is online

Users browsing this forum: No registered users and 40 guests