Eero Tamminen wrote:Sounds nice, much better than e.g. MIDI playback from EPSS!
although as mentioned before I have to massage some tracks or fiddle with instruments / volumes to get a decent fit.
I think with some work - and a DSP mixer - it could be made to work as a generalised realtime MIDI softsynth 'approximation' but for now its still more usable for game/demo stuff.
I have had a look at DSP mixing and in some respects its quite easy to set up, but the 'catchup/adapt' approach I see being used by modplayers won't work nicely with it so there are a couple of things I haven't figured out yet. It works predictively, ahead of mixing, with events accurate to the sample. Modplayers usually work 'behind' mixing, allowing a certain amount of frame error/overrun and padding out samples to catch this - which doesn't work well for more complex instruments, envelopes etc. permitted by MIDI.
Synchronizing data with the DSP in this way will take a bit more work for me. Once I do that I could get more physical channels and it will be cheap to run at 50khz. I can't use that in BadMood because the DSP is already busy, but it would be usable for frame-locked games etc. which don't need the DSP for other stuff.
Probably the most interesting feature (for me, anyway) is the fact it works dynamically - you can feed SFX events into it and they will compete for physical channels in realtime. It is possible to reduce the player overhead quite a lot by 'flattening' the music events into mixing events offline, but then it is not possible to feed it SFX events - so a game playing SFX would need to mix them on top as a separate pass, and I expect not for much (if any) gain if multiple channels are needed. So the dynamic processing of music events provides a nice way to get music & sfx at the same time for a flat (ish) cost.
Eero Tamminen wrote:I'm not completely sure I like the lone (harpsicord?) instrument at the start of Bach piece, but things get clearly better when the piece progresses and there's more things going. Middle to the end sound great.
It's using only guitar sounds (overdriven guitar, distortion guitar) which are common to Doom's music so they are a bit inappropriate here
But yes some sounds don't work well when replaced - perhaps more so with my stuff than with a true synth - due to sparse mapping between multisampled instruments and octaves used, and the way each instrument deals with its envelope when stopped.
Eero Tamminen wrote: EPSS has more functionality and probably needed quite a bit less memory, but that was intended as something that is used with MIDI sequencer. Have you ever tried it?
No I haven't looked at it at all. I should go and find it.