PPQ Position, Sample Position Simulation & a timer
Archive · 201021 old posts
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
djhayman ·
Hello,
If possible, a very helpful feature would be a couple of modules that simulate the values provided by the PPQ position and sample position modules when used in a vst host.
This would greatly improve workflow and efficiency as for each modification it would not be necessary to export the plugin and load it into a host to find out if it works. It would also greatly improve debugging time to watch any calculations in action.
It would also be great to have a module that can count in milliseconds from one value to another. The closest thing i have found so far is the slide object which isn't 100% accurate. It would also make designing tap tempo systems much easier.
Cheers
Dan
oddson ·
Here's a module which will fake the PPQ output within SynthMaker but not mess things up if you leave it in your VST export because the faker part is set to be purgeable.
Sample position is even simpler... it's just the output from an increment.
The values will reset whenever you reset the sound process (reselect the output, trigger the Clear Audio primitive).
philter5 ·
hey oddson thx a lot 😉
philter5 ·
hey oddson i need your help why does this not work in exported exe´s?
or i am doing something wrong... 😕
trogluddite ·
The PPQ faker part inside the module is set to be 'purgable' - so that part gets removed from exe's the same way it would when exporting a VST - that's the meaning of the black and yellow stripy border (you'll see it a lot on GUI previews inside the knobs and things, because the previews aren't needed in the final plugin).
Just right click the module and untick the Purgable setting - it will export as normal then.
philter5 ·
thx a lot man . sometimes i am completely blind 😀
parricide ·
thanks oddson. this should really help me
parricide ·
sorry for the newbness, but how does this work exactly?
i have put it all in its own module and saved that into the toolbox, then i have put that module into my project.
where do i go from here though?
oddson ·
parricide wrote: but how does this work exactly?...
My module above was only meant to be used in place of the stock PPQ primitive so that while working within SynthMaker you can use its faked output to troubleshoot during development instead of having to export to VST to try each step as you work through a problem. You use it exactly like the primitive. If you have a specific problem implementing a PPQ related feature I recommend posting a new help thread with some details on what your trying to achieve and what problems you're having.
(BTW - I never anticipated it being used in exe exports --although a slightly altered version with some user-interface could be helpful for implementing tempo-dependant features in an exe application.)
parricide ·
so you dont need the PPQ thing when this is in there?
and how do you connect it to, say an LFO?
Mo ·
parricide wrote: so you dont need the PPQ thing when this is in there?
and how do you connect it to, say an LFO?
You can substract the floor and compare <0.5 then send to an oscillators sync input.
Unfortunately the faker seems to stop after a few minutes, so mostly only useful for testing PPQ within SM.
oddson ·
Mo wrote: so mostly only useful for testing PPQ within SM.
Yes... but I'd say 'solely' instead of 'mostly'.
If you want one that keeps working (say for an exe version) you'd have reset the sample-counter to stop if from overflowing but still keep track of the PPQ count.
Mo ·
oddson wrote: If you want one that keeps working (say for an exe version) you'd have reset the sample-counter to stop if from overflowing but still keep track of the PPQ count.
I wonder how you can reset and keep the PPQ count or without introduce a offset if using the green stuff?
oddson ·
Mo wrote: ...keep the PPQ count or without introduce a offset if using the green stuff?
Yeah... you could track the integer part of the count in green i suppose. But then you have to reset it when appropriate.
I really haven't given this any thought. I was initially only answering djhayman's original post as I already had run across the problem of troubleshooting host data within SynthMaker itself.
Mo ·
I found a way to reset counting in ASM, thanks.
parricide ·
wow, a lot of this stuff is going straight over my head. maybe i should learn more before i get too deep.
i cant find any good tutorials or downloadable schematics to learn from. any ideas?
i use reaktor and i picked it up quite quick, and even though this is similar it is also completely different (if that makes sense). but with reaktor i downloaded other peoples work and analysed it and played until i got how it worked.
Mo ·
parricide wrote: wow, a lot of this stuff is going straight over my head. maybe i should learn more before i get too deep.
i cant find any good tutorials or downloadable schematics to learn from. any ideas?
i use reaktor and i picked it up quite quick, and even though this is similar it is also completely different (if that makes sense). but with reaktor i downloaded other peoples work and analysed it and played until i got how it worked.
You can find a few examples here, some with .osm: [old link] and there's examples all over the forum, use the search for what you want to study. But better use the Help section for these questions.. 😉
nix ·
Check the developer toolkit in reg users if you like. There are some funky blocks in there.
parricide ·
thanks everyone
i cant wait to learn the flow of synthmaker!
parricide ·
nix wrote: Check the developer toolkit in reg users if you like. There are some funky blocks in there.
where is this? i cant find it
trogluddite ·
It's here on the forum - Developers Toolkit - don't forget the search box at the top of the page! The most recent version is normally in the top post. There's also another really good one called 'missing links' - the guys who put these together really deserve a medal for all the work they've saved us!
Wrote something here? To have a post removed or your name hidden, write to [email protected].