Is it possible to modify MIDI's Instrument while playing MIDI, so that it dynamically loads other Instruments in DLS

Perhaps it should be setMusicChanneInstrument? At present, I have only thought of two ways: one is to regenerate a new MIDI file for the Instrument, and the other is to divide the DLs into one Instrument corresponding to one DLs