are you developing in basic or pro?
here is a simple test snippet in pro
REM ---------------------------------------------------------------------------------
REM simple midi test
REM indi
REM DBP
REM ---------------------------------------------------------------------------------
sync on : sync rate 60 : set text size 14 : set text font "verdana"
global maxmidi = 2
dim midifile$(maxmidi)
rem not using the midifile$[0] location for this test
midifile$(1) = "Slayer_Dance_1.mid"
midifile$(2) = "Slayer_Dance_2.mid"
load music midifile$(1),1
load music midifile$(2),2
text 10,10,"Playing midi song :"+midifile$(1)+" press a key"
play music 1
sync : sync : suspend for key : stop music 1
cls
text 10,10,"Playing midi song :"+midifile$(2)+" press a key"
play music 2
sync : sync : suspend for key : stop music 2
cls
text 10,10,"cleaning up"
sync : sync
delete music 1
delete music 2
undim midifile$(maxmidi)
end
If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself