Welcome to %s forums

BrainModular Users Forum

Login Register

LFO/Ramp with long Sync times (2bar/4bar/8bar/16bar)

I need help on a Patch
Post Reply
lytz1
Member
Posts: 123
Contact:

Unread post by lytz1 » 26 Feb 2016, 22:15

Hey guys,

I need a LFO (or ramp) that has longer sync times than bar. (i.e. 4/8/16 bars like in the Sampler modules)

My workaround right now is to "fake" this via cycle mode and barlists,
*however* I need to be able to change the bar size on a per preset (or per grid section) basis.


Any ideas on how to do that?

Thanks,

tL.

sephult
Member
Posts: 1144
Contact:

Unread post by sephult » 26 Feb 2016, 22:24

You could take the Master Synchro and figure a way to convert the duration of a cycle to frequency, then you could control the LFO frequency rather than using the synchro options. Ill see later if I can help out.

-s
"Every act of creation is first an act of destruction." -Picasso

lytz1
Member
Posts: 123
Contact:

Unread post by lytz1 » 26 Feb 2016, 22:56

Ah okay I see! I try to think about this as well. If you come up with a solution let me know.
For now I've solved this with a grainsampler (grainsampler -> pos out fader to mapper curve with LFO "Shapes" hand-drawn in)
Not very elegant but works for now. But I still would be happy to find a better solution.

Thanks,
tL.

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 27 Feb 2016, 11:08

calculate the time between say 16 bars (time) , in milliseconds then increment every millisecond a fader whith 1/time increment value
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

lytz1
Member
Posts: 123
Contact:

Unread post by lytz1 » 27 Feb 2016, 12:16

Thanks Oli, will give that a try.
However also seems not to be very flexible. (Like I said I need to be able to change the "bar" lenght on the fly on a per-section/per-preset basis)

So basically I would need to calculate the time between 2/4/8/16 bars and setup a 1/time increment value for every one of them, but what would be the best way to switch the values?

Multiple 1/x to Selector module?

And I would still need to use handdrawn shapes it seems. (Which actually is not a big deal... :) )

Thanks,
tL

Trogluddite
Member
Posts: 16
Contact:

Unread post by Trogluddite » 28 Feb 2016, 14:25

Hi Ltyz,

I've been working on a similar ramp generator as a sub-component of the clocking system of a bigger Usine add-on project. When I get some time, I could export it as an add-on in it's own right. It's specifically designed to allow the time signature to be independent of the global clock, as that is essential to me for the way I trigger loops. As it's a C++ add-on, the CPU load is very small as well, which is always nice. Don't know why I didn't think to export the clock as a module in it's own right before - it hadn't occurred to me that other people might find it useful!

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 28 Feb 2016, 15:32

I'm very interested in this bit of C++ code as I had trouble earlier to get proper timing for an audio ramp to animate various synthesis modules...
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

lytz1
Member
Posts: 123
Contact:

Unread post by lytz1 » 28 Feb 2016, 19:32

Hey Trog,

sounds great. I am on OSX though.. :)

Best,
tL.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests