In an earlier post in another topic, I took the Extended basic example code for the AXELF theme song and converted it to MDOS. Source code is provided for anyone wanting to see the MDOS code.
To be noted, extended basic uses duration in milliseconds while the MDOS XOP's use 1/60th's of a seconds for duration. Thus, I used the MDOS Math XOP's to convert the duration to floating point, divided by 1000 to get the decimal portion of time, then multipled by 60 to get the number of 60th second intervals all in floating point. Then, converted that back to an integer to call the sound routine. Another sound routine checked to see when the current sound was completed before playing the next array.
Enjoy, and feel free to use the code base to convert any other music/sound files to MDOS.
Beery
AXELF-MDOS.zip