plugdata-team / plugdata

Pure Data as a plugin, with a new GUI
https://plugdata.org
GNU General Public License v3.0
1.48k stars 64 forks source link

playhead object: no ppq in LV2 #1265

Open agraef opened 10 months ago

agraef commented 10 months ago

The last outlet of the playhead object delivers a triple (Pd list) of time in ppq, sample number, and seconds. Which it does in the VST, but in the LV2 version of plugdata-fx the ppq value is always zero.

To reproduce, insert a MIDI track in an Ardour session with the plugdata-fx LV2 plugin on it, open the playhead-help patch, and press play to get Ardour's transport rolling. Observe the output from playhead's last outlet. For contrast, try the same with the VST.

This is not a new regression, it's in both 0.7.1 and 0.8.0. I'm not sure what part of the plugin stack is to blame here, but I'm pretty sure that LV2 exposes the relevant information and that Ardour has a way to provide it. So maybe this is a JUCE bug?

timothyschoen commented 10 months ago

This is probably an issue with JUCE. The good news is that we are now using our own fork of JUCE, so we might be able to fix this