Goldfield ·
i have modified the mono readout "sequence Position" to redraw of 1 ms.
how can i dispay the PPQ position whth a update -time to 1ms ?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
Goldfield ·
i have modified the mono readout "sequence Position" to redraw of 1 ms.
how can i dispay the PPQ position whth a update -time to 1ms ?
trogluddite ·
To get the readout as a time, two methods come to mind....
1) Add a 'Tempo' primitive and calculate Time = PPQPos / Tempo * 60.
2) Use the 'Sample Position' and 'Sample Rate' primitives to calculate Time = SamplePosition / SampleRate.
Goldfield ·
No. not as a time, every 1 ms..... how did that go ?
example ? thank you
trogluddite ·
If you want the display updated every 1ms then the short answer is that you can't - the 'Green' and 'Yellow' parts used for displays etc. simply can't be updated that fast (or that accurately). Even using a 'Timer' set to 1ms will not send the required triggers at that speed as they rely on a Windows background task which has a relatively low priority. The time that you set is only nominal and is dependent upon how hard your CPU is working - times below about 20ms are pretty meaningless, as SM cannot process triggers that quickly. Also, generating ReDraws at that speed would bring your CPU to its knees, as they use considerable CPU power - besides which, even a high quality monitor will not be re-scanned at anything like that speed (i.e. even if you could perform such fast updates, you would not be able to see them).
Goldfield ·
ever wich interval updated PPQPos his data?
trogluddite ·
The 'PPQPos' component is a stream (blue/white) part, so the value there is updated for every sample - it is only the value converted to Green/Yellow that is affected by the slower data rate. Inside the PPQ display module you should see a component called 'M2F' - this is the part that samples the fast data for sending to the display.
infuzion ·
trogluddite wrote: 'M2F' - this is the part that samples the fast data for sending to the display.
As in, dependent on Window's timers, so not super-accurate but should be OK.
We really need the OSM; I'm guessing you don't have an audio-out turned on so the Mono-Streams (blue) run.
Goldfield ·
ahhh ok...
thank you 🙂 🙂 🙂 🙂 🙂 🙂 🙂 🙂
oddson ·
I'm I missing something here... doesn't PPQPos only work in a host?
trogluddite ·
oddson wrote: I'm I missing something here...
More likely me missing that Goldfield is new to SM and may not know the stuff that is second nature to me!
Thanks (yet again!) to you and Infuzion for pointing out the obvious stuff staring me in the face that I somehow always manage to miss! Lord help me if I ever became a teacher - elementary school maths; lesson one; calculus! 😉
@Goldfield. Sorry if I led you down a blind alley there! As Oddson points out, the PPQPos primitive just outputs zero until it is exported as a plugin and used in a VST host. If you need a 'fake' PPQ signal to test your design within SM, you can find one at this thread.
Wrote something here? To have a post removed or your name hidden, write to [email protected].