this code with the new library does not play a pause, but notes immediately start playing :
chan := BASS_StreamCreateFile(true, buffSong, 0, lenghtBuffSong, BASS_STREAM_PRESCAN or BASS_STREAM_DECODE or floatable or BASS_UNICODE);
if chan = 0 then chan := BASS_MIDI_StreamCreateFile(true, buffSong, 0, lenghtBuffSong, BASS_SAMPLE_FX or BASS_MIDI_DECAYSEEK or BASS_MIDI_DECAYEND or BASS_MUSIC_DECODE or floatable or BASS_UNICODE, 0);
noticed that BASS_StreamCreateFile itself opens the midi file and returns the channel
put a check on midi that would open through BASS_MIDI_StreamCreateFile and the problem is gone:
if optNotMidiFile
then chan := BASS_StreamCreateFile
else chan := BASS_MIDI_StreamCreateFile
windows version or old android 2019 BASS_StreamCreateFile did not open midi. the new one opens, as a result, the system midi device probably ignores the pause, and the soundfont I loaded is also ignored
I hope you understood what I wanted to say with the help of Google translator))