I suggest having some sort of "analysedSong" in the synth, which will, not in very fast tempo, runt through, loading new samples if required.
On each "consumeConfig()" it should be re-analyzed for the changed channels. Probably good idea to make a Set of notes before first iteration to not waste time on duplicates.
I suggest having some sort of "analysedSong" in the synth, which will, not in very fast tempo, runt through, loading new samples if required.
On each "consumeConfig()" it should be re-analyzed for the changed channels. Probably good idea to make a Set of notes before first iteration to not waste time on duplicates.