BPM clock for adjusting vst synth arp and rate

For general discussion related FlowStone
Post Reply
Casper78oo
Posts: 9
Joined: Tue Oct 31, 2023 10:31 am
Contact:

BPM clock for adjusting vst synth arp and rate

Post by Casper78oo »

I need to know how to make a bpm clock for syncing arp’s and effect rates. I have looked thru the modules and cannot find one, should be a way of assembling one. Synth Edit another vst maker has a bpm clock module and almost every VST I use has a bpm clock. I want to make one that works in .exe form not in a host daw. Any help would be appreciated - I am brand new at flowstone.
adamszabo
Posts: 667
Joined: Sun Jul 11, 2010 7:21 am

Re: BPM clock for adjusting vst synth arp and rate

Post by adamszabo »

You need to use the Time Signature module, and you have to calculate the bpm from that
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: BPM clock for adjusting vst synth arp and rate

Post by R&R »

Casper78oo wrote: I want to make one that works in .exe form not in a host daw.
adamszabo wrote:You need to use the Time Signature module, and you have to calculate the bpm from that
"Syncing" .exe export from FS?
Would have to be via midi input somehow then, perhaps the Time signature prim won't work in that case?

Or are you just after BPM to frequency to make internal sync signal?
Attachments
BPM_to_freq.fsm
(566 Bytes) Downloaded 2419 times
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: BPM clock for adjusting vst synth arp and rate

Post by R&R »

I guess one has to adjust according to different samplerates though :lol:

Think I messed that up myself :lol: :oops: have to check/fix my synth...
Casper78oo
Posts: 9
Joined: Tue Oct 31, 2023 10:31 am
Contact:

Re: BPM clock for adjusting vst synth arp and rate

Post by Casper78oo »

Thanks, will try that. “Sync” referring to certain tempo like 80bpm for example when I use drum machine I need the time on my synth to be the same BPM so arp, effect rates etc are together in time. I need to set like 80bpm then also a 1/4 / 1/8 etc…. So I am looking for a BPM clock to set or else it is stuck at 120bpm or whatever the exe is programmed like. Basically the bpm clock a daw has but build into my .exe….
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: BPM clock for adjusting vst synth arp and rate

Post by Spogg »

If you have a stand-alone exe it obviously can’t pick up on any external settings; the Tempo-related prims are all expecting to found inside a DAW, so there’s no point in using them in an exe.

So you can input a BPM via a number entry box or similar, and get a frequency value out without using sample rate. It’s super accurate so if you need, say a BPM of 98.72, it will sync pretty much forever.
Sample rate is taken care of in the Hz to freq 0-1 module, because 1 represents half the current sample rate (Nyquist). Once in the 0-1 range ("normalised") the oscillator will then step at the correct rate for the whatever is the current sample rate and produce the correct frequency.

So, BPM/60 is the simple formula for converting Beats Per Minute to Hz. Then you use a Hz to Freq module for the LFO. For beat ratios you could change the 60 or use a multiplier for the frequency.
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: BPM clock for adjusting vst synth arp and rate

Post by R&R »

I'd recommend to follow any of Spoggs examples/explanation when learning...

My own implementation in my synths LFO is slightly different. Also i'm relatively new at FS and not even close to being as knowledgable as Spogg at all this audio stuff.
The green schematic snippet I posted above was derived adhoc from inside the "Step LFO" toolbox module in FS.
User avatar
pwesynthmaker
Posts: 82
Joined: Fri Feb 12, 2016 7:18 pm

Re: BPM clock for adjusting vst synth arp and rate

Post by pwesynthmaker »

Me again ... "pwesynthmaker"
Search through my posts in User Examples Forum and a lot of my schematics have BPM sync mods in executables
that are accurate TBOMK.

Quick Link:
http://www.dsprobotics.com/support/view ... 3&t=123933
https://www.inventorefx.com/_ifxfstone/_ifxfstone.htm
Inventor eFX Technology FlowStone WebPage

https://www.inventorefx.com/
Inventor eFX Technology
Post Reply