systemshock icon indicating copy to clipboard operation
systemshock copied to clipboard

additional music enhancements

Open HunterZ opened this issue 6 years ago • 6 comments

I've done even more than I set out to accomplish with music support enhancements, but here are some additional items that I thought about during the process in case anyone is interested:

  • [ ] AdlMidi could potentially advertise its GM versus SB modes as "outputs" so that the user can manually toggle between them on the sound options UI
  • [x] FluidSynth could potentially advertise a list of soundfonts as "outputs" so that the user can cycle through them on the sound options UI
  • [x] Linux (ALSA, OSS, etc.) support could be added to the native MIDI driver via ifdefs
  • [ ] MacOS (Core Audio) support could be added to the native MIDI driver via ifdefs

HunterZ avatar Mar 08 '19 07:03 HunterZ

Native MIDI should also probably advertise the MIDI Mapper output. I'm thinking of reporting it as output number zero, and shifting all the normal output numbers up by one.

HunterZ avatar Mar 09 '19 08:03 HunterZ

Windows MIDI mapper is now supported.

HunterZ avatar Mar 09 '19 16:03 HunterZ

Linux ALSA sequencer is now supported via PR #291

I don't have the ability to develop Mac software, so someone else will have to do it. I suggest looking at the CoreMidi/CoreAudio backends for ScummVM and DOSBox as a starting point: https://github.com/scummvm/scummvm/tree/master/backends/midi https://sourceforge.net/p/dosbox/code-0/HEAD/tree/dosbox/trunk/src/gui/

HunterZ avatar Mar 13 '19 00:03 HunterZ

Implemented FluidMidi in-game soundfont selection in PR #291. Should work on all platforms, but I was only able to test on Windows and Linux.

HunterZ avatar Mar 13 '19 02:03 HunterZ

It was easy to have AdlMidi advertise banks as outputs, but there are a couple of issues that have led me to abandon this idea for now:

  • There are over 70 outputs, and many sound like garbage
  • The slider interface isn't accurate enough to handle this many distinct values in a 100% usable manner

I think we would need something like the load/save UI, but with prev/next page buttons and maybe two columns of text.

HunterZ avatar Mar 14 '19 06:03 HunterZ

Based on https://bisqwit.iki.fi/source/adlmidi.html we should only be using bank 45 anyway, so I'd say that's not really a feature worth adding.

markkurikola avatar Apr 04 '19 13:04 markkurikola