Page 1 of 1

PPQ or Something else?

Posted: Mon Sep 18, 2017 1:42 pm
by aefa
Hi everyone,
I'm trying to get the bar position (or beat) to trigger an event on a VSTi every 2, 4, or 8 bars, according the time signature.
Any pointers to any resource or a pointer on how to use the PPQ prim?

Thanks

Re: PPQ or Something else?

Posted: Mon Sep 18, 2017 3:21 pm
by MichaelBenjamin
.

Re: PPQ or Something else?

Posted: Mon Sep 18, 2017 4:38 pm
by aefa
Thank you very much, MichaelBenjamin! I'll give this a try and post back.

Re: PPQ or Something else?

Posted: Mon Sep 18, 2017 5:13 pm
by aefa
This is what I get on the DSP code...
Only one streamin and no streamout, and the code doesn't recognize anything after the int declaration

Re: PPQ or Something else?

Posted: Mon Sep 18, 2017 5:31 pm
by MichaelBenjamin
.

Re: PPQ or Something else?

Posted: Mon Sep 18, 2017 6:42 pm
by aefa
Thanks for the reply!
I tried the code but still don't see the mono readout change (still only zero). I'm just implementing the basis on FL Studio's flowstone plugin for now so not to mess the plugin I'm working on. For now I'd like to see, at least, the mono readout count to the number of bars I would like to wait before trigger.

Re: PPQ or Something else?

Posted: Mon Sep 18, 2017 8:25 pm
by MichaelBenjamin
.

Re: PPQ or Something else?

Posted: Tue Sep 19, 2017 5:30 am
by aefa
So far I figured that PPQPos doesn't work without an Audio Out prim. (I'm working MIDI only though)

Re: PPQ or Something else?

Posted: Tue Sep 19, 2017 6:48 am
by aefa
This is what I came up with. So far it seems to do what I need.
Thank you very much MichaelBenjamin for your inputs!!