Writing a plugin that uses host info to place events in a bar I noticed that the precision was less than the expected ksmps/sr. I could track this down to HOST_PPQ_POS not being updated every k-cycle. I attach a reduced version of the plugin which prints the values in a csoundoutput window each k-cycle as long as IS_PLAYING. The same happens with TIME_IN_SECONDS.
Is there anything I am doing wrong or does it really only update every 11.61ms (which is 16x 32/44100Hz, so every 16th k-cycle)? Could the host (REAPER) be the reason? Can that
frequency be increased? (preferentially without decreasing ksmps)
ppqpostest.zip (3.8 MB)