real time changes to layered music

is it possible to change tracks/voice loops in real time and keep them in sync with each other?  The base effect could be done by muting and un-muting channels in a midi file, but the number of tracks required to do what I want is prohibitive.  I am looking at 3 parts being played at all times, each of them having 25-50 options.

Does anyone have a working method to do this, that remains multi-platform?

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/real-time-changes-to-layered-music.53909/