You could possibly use a helper DLL to play them, like the old IMFLib.
Where can I download this IMFLib?Here is a link to the IMFlib dll. A quick Google search showed me that it was used for Wolfenstein 3D. Archive.org had made a backup of the site and so the DLL is still able to be downloaded. Try it out!
Is it open source?
Can IMFLib work inside QB64?
thx
So. This library is for 32 bit IDE. Please, upload here one sound file for this library, i try run it.
Look to begin the file named ImfLib.h:
There is writed usage. So you don't have to look for documentation. When declaring support programs and functions in the library, you must pay attention to uppercase and lowercase letters in their names, as is common in C, otherwise the program will tell you that the function does not exist in the dynamic library.
You will probably use the QB64 command _MEMNEW in memory to create a block where you will copy a part of the IMF file from the starting position of the music from the hard disk (you have to find it using the link where you have the IMF format layout you put at the beginning of this thread) and to RAM, so you send _OFFSET of this _MEM to the dynamic library. It seems to work because the dynamic link library is reporting an error when sending empty memory instead of music data.Code: QB64: [Select]
SUB InitIMFPlayer file_music_data_size = 1024 'calculate by file music data size 'place file content to this new mem block here '. '. '. InitIMFPlayer
You must run it under 32 bit IDE!
Good Job!
Great I see a fine leader group/team about Sound in QB64.
Welcome!