I hope I’m not flooding this forum with silly questions. But someone once told me that I should always ask things first, so I don’t re-invent the wheel.
Ok, I’m doing a MIDI Sequencer. So I want to know how I will handle the actual PPQ Loop.
If you don’t know what’s PPQ, check this out:
I want to make it variable, so the user can change this when creating a new song. From 48 to 960 PPQ.
Now I need to know how I will calculate the time from one PPQ to the next one. Of course, this will be done in its own THREAD, so the rest of the LCD, Knobs, etc … doesn’t affect this loop.
One idea is to make the thread idle until the next PPQ, but that’s not exactly ideal. Still, I need to know how I will calculate the TEMPO x PPQ so I know how many MS (micro seconds) each PPQ takes.
I will use the Emulator to run some tests, while my FEZ doesn’t arrive here. 8)
Thanks in advance for any help. Wk