radium icon indicating copy to clipboard operation
radium copied to clipboard

[Bug] LV2 MIDI plugins with no audio outputs, combined with automation, the warning window pops up on almost every play

Open kramlie opened this issue 7 months ago • 12 comments

1. Steps to reproduce the problem.

  1. Start Radium.
  2. Make a "MIDI messages" module
  3. Make an LV2 module that has no audio outputs. I use the "MIDI CC Map" by Robert Gareus, available on Ubuntu in the x42-plugins package. However, I have tested many plugins, it seems that any LV2 plugin without audio outputs will do.
  4. Connect the first module to the second with a MIDI connection.
  5. Set the MIDI Messages Damper (cc=64) to any value except the NoValue.
  6. Add an automation point in the editor track for the MIDI Messages Damper (cc=64).
  7. Play song from the beginning using AltGr + Space. This works.
  8. Play song from the beginning using AltGr + Space again. This soft crashes for me.

Alternatively, you can also load the track I have provided here: crash-example.rad.gz

  • I expected this to happen: The song plays.

  • This is what actually happened: Soft crash with the "Radium is in a state it should not be in" message, and the song does not play.

  • I've tried this recipe 1 time + the provided file 2 times.

  • The unexpected behavior happens approximately 50% of the times. It seems to alternate between success and failure. However, when using heavier tracks with more content, it seems to fail every time. It may also be related to whether the first automation point has been reached or not (not 100% sure).

2. Which version of Radium are you using? Do you know if an earlier version has worked?

Radium version 7.4.79. I have not tested earlier versions.

3. If relevant, which operating system did you run Radium on?

Ubuntu 20.04 x86_64.

kramlie avatar Jul 16 '24 14:07 kramlie