how do i take bpm and song position info from the host app.?
Archive · 20104 old posts
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
parricide ·
hi
i am new to synthmaker and this forum and i was wondering if anyone can help me learn how to make an input for host bpm and track position.
basically i am trying to create a simple LFO and envelope generator and the first step i need to take is to tell the VST this information so i can have a synced speed on the LFO and also so that when the track is played from say, mid bar, it will not effect the position of the oscillator compared to if it was played from the beginning of the bar.
i hope this makes sense and i look forward to putting as much info into this forum as i learn from it
thank you in advance everyone
nix ·
'PPQ' ?
I am playing around with envelopes too.
(edit)and Tempo
You could search 'host' if you wanna.
Hope helps 🙂
trogluddite ·
Welcome to the forum,
SM has just the tools you need - first make sure you have the 'Developer Mode' button turned on at the top of the editing window; it should be already but it's always worth checking.
If you then look in the VST folder of the toolbox, there are ready made prmitives for PPQ, Tempo, Sample Position etc.that will read the values from your VST host.
The tricky bit is that SynthMaker isn't a VST host - however you can get around this by using Oddson's PPQ Simulator Module to fake being inside a host.
The PPQ primtive outputs a floating point value that is an integer (1,2,3,4...) as it crosses the boundary of the beat. Alternatively there's a VST sample position primtive that just counts the samples from Bar 0, Beat 0.
parricide ·
thank you very much.
i will try this out now. however i might well be back with more questions 🙂
thanks
Wrote something here? To have a post removed or your name hidden, write to [email protected].