stuerp / foo_midi

A foobar2000 component to play MIDI files.
MIT License
63 stars 1 forks source link

(Suggestion) Output to MIDI port and support 2 ports #42

Open basic2004 opened 6 months ago

basic2004 commented 6 months ago

I suggest foo_midi add Output to MIDI port and choose 1 or 2 Win32 MIDI Ports from Configure, I want to play with external MIDI synth/driver (Nuked-SC55 and etc.) and I want to play to 2 ports for above 16 channels. (some SC-88 Demo songs contain 32 channels. SC88-demo-2port.zip)

And choose 'Multi Port Mode' when selected 2 ports. (also support other output players if possible, loading two instances if checked 2 ports)

  1. Following Port meta event
  2. Channel 1-16 to 1st port, channel 17- to 2nd port
  3. Odd channels (1,3,5,7,...) to 1st port, Even channels (2,4,6,8,...) to 2nd port [for example: Roland SC-55, this device has 24 polyphony per one device. Many GM devices supports about 32 polyphony like SB AWE32]
stuerp commented 6 months ago

I'm afraid that won't work with the current design, for the same reason as issue 25.

Remember, foo_midi is not a sequencer; it's a converter to audio samples. It sees the MIDI events in a completely different way than the Win32 MIDI API expects.