Spread the love

Sometimes it’s convenient to have a free running clock, and sometimes you would like to Sync the clock to the host DAW. With this prefab you can have the best of both worlds.

NOTE: The BPM Sync will be stuck at the internal SE clock rate of 120BPM until the prefab is included in a VST and is running inside a host DAW. The free running clock will work fully within SE and a host DAW.

For the free running clock I have used Elena’s DSP Timer module with pulse length T1 set to 50 milliseconds, and the pulse interval T2 made variable from 330 to 1000 milliseconds. This works out at a range of 60 to 181 BPM. Switching between the Synced clock, and the free running is just a matter of using a Many>1 switch.

BPM Display

To convert the control voltage to a BPM readout the following structure is used. The control voltage from the slider is converted to an Integer value for the timer module, and also fed into an ED Divide (Int) module, where we divide the value by 60000 to obtain the BPM (ms/60000 = BPM). It’s then converted to text, and has the BPM text appended to it.

Adjustable clock pulse length.

This is achieved by using the stock monostable to vary the length of the pulse. The only point of note is that to save using a divide module to scale the readout, I used the Animation Position plug on the Patch Memory instead of the Value Out plug, as this is already scaled down (or normalized) for 0-10 to the 0-1 range.

You can download the Prefab here