Qbasicnews.com

Full Version: MP3 in qbasic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i want to play a mp3 in qbasic ... help me, please!!!! :red_marvin:
Possible solutions:

1.) Use some incarnation of DS4QB

2.) Write your own Windows slave program similar to DS4QB

3.) Write your own MP3 decoder and SoundBlaster interface code (good luck; the tables needed for MP3 decoding are huge...)

4.) Use FreeBASIC
To Karelius:

Pertaining to what DrV has just pointed out on #1, I will tell you where the locations of both DS4QB2 and DS4QB++ are. They are found in this link for you right here. Once there, be sure to look for them under “The Best QB Programming Tools”, okay now? Wink

Hope this helps you a bit further, and QUITE a pleasure to have you in the QBasicNews.com forums! Welcome, and see you again!! :king: !



SUCH A JOY AND A PLEASURE TO HELP ‘YA HERE,

[Image: file.php?id=32]
Adigun Azikiwe Polack
One of the Founders of “Aura Flow” ::: Continuing Developer of “Frantic Journey”
Current Developer of “Star Angelic Slugger” ::: Webmaster of the “AAP Official Projects Squad”
Original Creator of the “The New FreeBASIC 8-Bit Palette Machine”
why, the file wave play in qbasic and mp3 no???
(If I understand you correctly :-? ) Because MP3 audio is encoded with a rather complex mathematical transformations, whereas simple uncompressed waveform audio is already in a format suitable for sending to a sound card for playback.
for example, in windows 3.1 (16 bit) work MP3 file, dos too...

there is a program dosamp that to play MP3 in dos without windows...
I'll bet that dosamp is a 32-bit protected mode program, though... 640K isn't enough to store the data needed for MP3 decoding, and using EMS or XMS would probably work (slowly...). If you want it done, do it yourself. Nobody in his right mind will code a 16-bit real mode MP3 decoder any more. The 386 has 32-bit pmode, for heaven's sake... real mode is just a compatability hack since then, and the 386 was released in the late 80's...

So in other words, it's possible, but not practical.