spiffythedog wrote on 2021-11-06, 13:11:
First of all, thank you Falcosoft for your wonderful program! I've been using it with loopmidi and my SC-55mkii to test and verify games for the MT-32 compatibility list on Wikipedia for some time now. I was just wondering if you would consider adding a counter for maximum voice polyphony/active voices for individual MIDI files, similar to what XMPlay's MIDI plugin has? The problem is that XMPlay's MIDI plugin is limited to soundfonts only and thus has no option for hardware output. A counter like this would make it easier to determine which Sound Canvas model to use for certain GM/GS games without experiencing any potential note drop-outs. I know that QFG4 and Gabriel Knight 1 are best played on an SC-55mkii for this reason, and I'm curious to learn if there are any other games that might require a later model (up to the 64-voice SC-88) in order to sound 'right'.
If you use an external Midi Out port and then you open the Visualization (Channels) dialog you can see the count of active Note On messages. Be aware that active voices/polyphony count can only be displayed when you use the internal Bassmidi soundfont synth (similarly to XMPlay). This is because when you use a standard Midi out port/external synth the player has no idea how many layers/samples/voices an external synth uses to create a sound at a given pitch for a given instrument. The player only knows that it sends a Note On message. It entirely depends on the external synth and it is unknown by the player whether this note uses 1 or 2 or 4 voices of the synth. It is also unknown by the player how an instrument reacts to a Note Off message (many instruments still use sustained voices even after a Note Off is sent).
So it is not possible to calculate the real voice/polyphony count in case of an external synth from the player's side.
Bassmidi (or Munt VSTi plugin) can tell you the real used voices(partials) since it generates the sound itself.
You can try the S-YXG50 VSTi plugin in GS mode. S-YXG50 displays the voice/polyphony count and maybe in GS mode it gives similar results to a Sound Canvas. Unfortunately SC-VA VSTi has no voice/polyphony display.