DISTRHO / Cardinal

Virtual modular synthesizer plugin
https://cardinal.kx.studio/
GNU General Public License v3.0
2.29k stars 154 forks source link

Clock pulse missing on tempo changes in Reaper #649

Open taji opened 7 months ago

taji commented 7 months ago

Version

24.04

Plugin type

VST3

OS

Linux (PopOs 20.04)

DAW / Host (if applicable)

Reaper 6.34

Description

To reproduce (see the attached Reaper project file:

  1. Launch Reaper
  2. Add a track | Insert new Cardinal vst3 plugin instance (I used the multi channel version)
  3. In Cardinal, insert the following modules: Host Time & Host Audio
  4. Wire the Step output from the Host Clock module to the Host Audio module's input pin 1.

image

  1. Right click on the track and select Render/freeze tracks | Render tracks to Mono stem tracks

CardinalMissingClockPulse-Issue2

  1. View the rendered audio clip at the 60 bpm and 120 bpm tempo changes.

EXPECTED: Both tempo change points should have a clock pulse firing at beat 1. ACTUAL: The 60 BPM has the clock pulse, but the 120 BPM does not.

CardinalMissingClockPulse-Issue1

NOTE: Issue is not happening in VCV:

image

taji commented 7 months ago

Here's the rpp file for reproducing in Cardinal. Reaper-Cardinal-ClockPulseBug.RPP.zip

falkTX commented 7 months ago

thanks for the great report!

if you can please check if the same behaviour happens with other formats. so clap, lv2 and vst2. that will help a lot in understand the issue better

taji commented 7 months ago

Yes, will do. But it may be early next week as I'm out of touch this weekend.

taji commented 7 months ago

I'm returning to this to test CLAP, VST2 and LV2. I can't get CLAP plugins to load. I copied Cardinal.clap folder to ${HOME}/.clap. Reaper scans the folder successfully. But when I load the CLAP version of Cardinal in Reaper, I'm seeing this error message:

image

Do I need to install other files? Maybe the standalone application goes in /usr/local/share/cardinal?

TIA

taji commented 7 months ago

Testing LV2 plugin, I'm seeing the inverse of the VST3 issue: at the 60 BPM we do NOT see the clock pulse event but at 120 bpm we do.

image

taji commented 7 months ago

Testing VST2 fx plugin. I see the same missing spike at the 120 bpm marker:

image

taji commented 7 months ago

@falkTX : any thoughts on getting CLAP working? I'd like to complete my testing.

I'm returning to this to test CLAP, VST2 and LV2. I can't get CLAP plugins to load. I copied Cardinal.clap folder to ${HOME}/.clap. Reaper scans the folder successfully. But when I load the CLAP version of Cardinal in Reaper, I'm seeing this error message:

image

Do I need to install other files? Maybe the standalone application goes in /usr/local/share/cardinal?

TIA

taji commented 6 months ago

@falkTX : I see my problem is a duplicate of the issue here: https://github.com/DISTRHO/Cardinal/issues/583

I'll monitor the discussion and test once a solution is provided.