07-20-2023, 03:52 PM
(07-20-2023, 12:38 PM)Dav Wrote: .... When making my music apps in QB64 I did extensive testing to decide which format to use. OGG had the better quailty to size factor to my ears. Also, some MP3's wouldn't always play correctly.
Ohh you just reminded me about something! I created two games, and sets of music for them, while I got deep into Freebasic almost ten years back. Yes for a few months I got deep into a broken version of Freebasic. Windows10 (before 20H2) wouldn't play properly any of the MP3 files created from that collection. This was whether through QB64 v0.98 or into Groove Music, made me hate that program. Then I plug in Ubuntu Studio 32-bit and fire up Audacious in there and those same exact MP3 files played back just fine. I couldn't just convert them to OGG because Freebasic never had "built-in" routines for music playback, not even wave and I had to borrow code for Win32 API MCI which only supported MP3 playback. Although the commands to MCI suggested it was able to handle OGG Vorbis as well.
I wanted to clarify that M4A and WMA aren't supported by QB64 because they are proprietary. In the very least it requires FFMPEG, the "ffplay" program it comes with which requires "SHELL" to be used and is clunky.