View Issue Details

IDProjectCategoryView StatusLast Update
0001182OpenMPTUser Interfacepublic2018-12-30 11:44
Reporterteimoso Assigned To 
Status newResolutionopen 
Platformx64OSWindowsOS Version10
Product VersionOpenMPT / libopenmpt 0.4.0 (upgrade first) 
Summary0001182: Active channel voice count doesn't include plugin output from instruments

If present, voices from plugin output tied to instruments (via the Plugin / MIDI section of the Instrument Tab) are not included in the voice count at the far right of the status bar.

Although perhaps less confusing for samples sent to a plugin for extra effects, this can be misleading for instruments whose output is solely a plugin (such as a melodic VST plugin or OPL instrument).

Steps To Reproduce
  • Create a module containing at least one plugin instrument ("plugin instrument" being an instrument with only a plugin as its output)
    1. Place notes with the instrument in question
    2. Play back the module and examine the voice count on the status bar
      (it should say "0ch")
  • Open a module containing at least one plugin instrument (preferably with little to no samples)
    1. Play back the module and examine the voice count on the status bar
      (it should only display the number of active sample voices)
Additional Information

It might be non-trivial to specifically count the voices of the "plugin instruments" described above without affecting other kinds of plugins (besides OPL instruments).

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


Saga Musix

Saga Musix

2018-12-29 10:16

administrator   ~0003782

That's correct, and it's fully intentional - this property only reads out active mix channels, and for plugins we generally cannot know if e.g. a note is still really playing. We only have MIDI on/off status for the note.



2018-12-29 21:05

reporter   ~0003784

Would it be reasonable to include OPL instruments in the count?

Saga Musix

Saga Musix

2018-12-30 11:44

administrator   ~0003785

Neither plugin nor OPL voices count towards the mix voice limit, so not really. For OpenMPT they are essentially black boxes.

Issue History

Date Modified Username Field Change
2018-12-29 09:55 teimoso New Issue
2018-12-29 09:56 teimoso Steps to Reproduce Updated
2018-12-29 10:16 Saga Musix Note Added: 0003782
2018-12-29 21:05 teimoso Note Added: 0003784
2018-12-30 11:44 Saga Musix Note Added: 0003785