VOGONS


First post, by superfury

User metadata
Rank l33t++
Rank
l33t++

When using UniPCemu's soundfont-based MIDI rendering, it seems to have a hard time pushing out samples for things like samples that are based on samples from various past rendering timepoints(delay lines) combined with things like vibration effects etc.(to archieve chorus effects and the like).

https://bitbucket.org/superfury/unipcemu/src/ … di/mididevice.c

It's the MIDIDEVICE_renderer inner loop(reverb) and MIDIDEVICE_getsample's chorus effects that seem to make everything heavy on the CPU when used.

Anyone knows how to speed this up? It makes the rendering take quite a big dip in speed(dropping the emulation to ~6o% realtime speed or lower with 1 or 2 instruments rendering a sample with chorus and/or reverb). Things like the adlib(not using floating point that much) are way faster and easily can still archieve 100% realtime rendering, but MIDI is struggling just rendering it?

Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io