PPQ or Something else?

For general discussion related FlowStone
Post Reply
aefa
Posts: 48
Joined: Wed Mar 26, 2014 12:52 pm

PPQ or Something else?

Post 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
MichaelBenjamin
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: PPQ or Something else?

Post by MichaelBenjamin »

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 11:04 am, edited 2 times in total.
aefa
Posts: 48
Joined: Wed Mar 26, 2014 12:52 pm

Re: PPQ or Something else?

Post by aefa »

Thank you very much, MichaelBenjamin! I'll give this a try and post back.
aefa
Posts: 48
Joined: Wed Mar 26, 2014 12:52 pm

Re: PPQ or Something else?

Post 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
Attachments
Sorry for the flip side!
Sorry for the flip side!
dspcode.jpg (70.4 KiB) Viewed 25163 times
MichaelBenjamin
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: PPQ or Something else?

Post by MichaelBenjamin »

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 11:04 am, edited 2 times in total.
aefa
Posts: 48
Joined: Wed Mar 26, 2014 12:52 pm

Re: PPQ or Something else?

Post 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.
MichaelBenjamin
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: PPQ or Something else?

Post by MichaelBenjamin »

.
Attachments
ppq.jpg
ppq.jpg (136.53 KiB) Viewed 25145 times
Last edited by MichaelBenjamin on Mon Sep 21, 2020 10:06 am, edited 1 time in total.
aefa
Posts: 48
Joined: Wed Mar 26, 2014 12:52 pm

Re: PPQ or Something else?

Post by aefa »

So far I figured that PPQPos doesn't work without an Audio Out prim. (I'm working MIDI only though)
aefa
Posts: 48
Joined: Wed Mar 26, 2014 12:52 pm

Re: PPQ or Something else?

Post 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!!
Attachments
PPQPos.fsm
(26.78 KiB) Downloaded 985 times
Post Reply