View Issue Details

IDProjectCategoryView StatusLast Update
0001949OpenMPTPlugins / VSTpublic2026-02-21 11:37
Reporterh_laes Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionno change required 
Platformx64OSWindowsOS Version10
Product VersionOpenMPT 1.32.06.00 / libopenmpt 0.8.4 (upgrade first) 
Summary0001949: Redux VST only active when song is playing, playing notes in stopped state produces no sound
Description

Stopping song playback causes the Redux plugin to stop receiving line input (suspended?) and playing notes no longer reactivates it in the current version.

However it continues to receive MIDI input, and if Redux's own sampler is made to produce sound by creating a sample in it (even an empty sample works) it will become active again and receive line input normally.

Another quirk of the effect-instrument duality?

Steps To Reproduce

Tested on Redux versions 1.3.5+1.4.4 and freshly unpacked OpenMPT 1.32.06.00 portable:

  • add Redux to a project, go to "Effects" tab and load its "#Line input" internal plugin
  • assign it to a channel or instrument, make sure it produces back the sound that OpenMPT sends to it
  • stop playback by pressing ESC, F8 or F5, see how the plugin's input and output meters freeze
  • play some notes on the keyboard, either instrument tab or pattern editor works: no sound comes out of the plugin
  • start song playback: playing notes should work again

This bug's effects become more obvious if you disable Dry Mix from the plugin. Auto-suspend is obviously turned off.

My current workaround is either adding a quiet sample (in the plugin's "Waveform" tab) that activates from MIDI (instrument mode only...) or setting the playback state by playing a single row so the line stays open.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2026-02-20 20:32

administrator   ~0006582

That is to be expected - stopping song playback completely stops any audio rendering, including plugins. I am aware that this is very different to how most DAWs operate, but it's how ModPlug Tracker always did it, and changing it isn't super simple. Eventually it would be nice to have more DAW-like behaviour in this regard.

h_laes

h_laes

2026-02-20 21:33

reporter   ~0006583

Should playing notes in recording mode/instrument editor not re-activate rendering of VSTs then? This is how it worked in all previous versions I've tested (up to & including 1.32.00.28), the problem began to manifest only after updating to 1.32.06.00.

To clarify: I am NOT requesting that VST effects like delays keep playing after song playback is stopped. The new bug I'm referring to seems to be exclusive to the Redux plugin, which stops receiving sound from OpenMPT but only when playback is stopped after loading the plugin. As long as I don't stop playback (e.g. by pressing ESC or F8) after loading the plugin notes can be played normally and the sound goes in and out of Redux.

Saga Musix

Saga Musix

2026-02-20 22:23

administrator   ~0006584

I think I see what's going on now. OpenMPT 1.32 contains various fixes to reporting its playback state to plugins in an objectively more correct way. In particular, this means that OpenMPT no longer claims that the DAW transport is actually in a playing state (i.e. it correctly reports that song playback is paused). Redux appears to take this as a cue that its line input should not be running, for whatever reason. The fact that internally triggering a note inside Redux causes the line input to work again, even while OpenMPT still reports that the transport is paused, indicates to me that this is clearly a Redux bug. Redux developers should be informed that some internal FX might not be working as intended when kVstTransportPlaying is not set.

Saga Musix

Saga Musix

2026-02-20 22:25

administrator   ~0006585

To make my point even more clear, even when the line input in Redux is not working, OpenMPT is still sending audio data to the plugin even when you are playing notes in the sample editor. Redux just chooses to ignore it.

h_laes

h_laes

2026-02-20 23:29

reporter   ~0006586

That seems right. I tested in some other DAWs and Redux indeed doesn't receive sound when the DAW's playback is stopped, even when notes are played. Still, calling an update that breaks expected behavior an "objective" improvement irritates me, no matter if a bug was what caused it to function properly in the first place.

Well, off the the Renoise forums then...

Saga Musix

Saga Musix

2026-02-21 11:25

administrator   ~0006587

Last edited: 2026-02-21 11:26

I didn't say that is an objective improvement; just that the new code is objectively more in line with how the VST API is supposed to be used, as your experiments with other DAWs confirm. Unfortunately the VST API is full with these sort of pitfalls and inconsistencies, so often a change can fix one plugin (otherwise I wouldn't have done it) and at the same time break wanted behaviour from another.

Issue History

Date Modified Username Field Change
2026-02-19 04:25 h_laes New Issue
2026-02-20 20:32 Saga Musix Note Added: 0006582
2026-02-20 21:33 h_laes Note Added: 0006583
2026-02-20 22:23 Saga Musix Note Added: 0006584
2026-02-20 22:25 Saga Musix Note Added: 0006585
2026-02-20 23:29 h_laes Note Added: 0006586
2026-02-21 11:25 Saga Musix Note Added: 0006587
2026-02-21 11:26 Saga Musix Note Edited: 0006587
2026-02-21 11:37 Saga Musix Status new => closed
2026-02-21 11:37 Saga Musix Resolution open => no change required