Thread: MP3 and DOS

  1. #1
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    MP3 and DOS

    Is it possible to write a MP3 player in DOS? (true DOS, not console)
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  2. #2
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644

    Re: MP3 and DOS

    Originally posted by Magos
    Is it possible to write a MP3 player in DOS? (true DOS, not console)
    Doubt it, but not sure.

  3. #3
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175

    Thumbs up

    I know it is possible (heck, anything is possible) but it will require getting intamate with your Sound Card ect. So it wont be easy.
    VC++ 6

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    16
    There is a CD playing program on my DOS drive, and it
    works fine. I imagine an MP3 program wouldn't be that
    much more difficult.

    Miki
    [email protected]

  5. #5
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >Is it possible to write a MP3 player in DOS? (true DOS, not
    >console)

    Sure, why not? You need to know how to decode MP3 and how to control your soundcard. There are free, even open-source, MP3 decoders, which you can link to your project.

  6. #6
    Registered User
    Join Date
    Oct 2001
    Posts
    7

    Thumbs up YES!

    There is one out there, I've had one running on my machine before in DOS, it was pretty cool, but of course, it could be the only thing running at the time, not sure how to make a better one though.

    Try looking on YAHOO for it.

    Mike

  7. #7
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    I think it's already been done. I think it is called mpx. Not positive though, but it is very possible.

  8. #8
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Thanks everyone, I'll try to find it
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  9. #9
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    hm...

    I found a lot of MPX players, but no source code I could use in my program. Do you have a link to it?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  10. #10
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    A MP3 codec with source can be found here http://bladeenc.mp3.no/
    Thought they also had a DOS version of it.

  11. #11
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175

    Found something that might be useful

    Here's a link to a little program which will let you play a small wave file in dos. I guess this is a start, make a few changes and add a MP3 decoding algorithm and bobs your uncle, you have a dos MP3 player. (note source is in basic, pascal and assembly, im sure you can figure it out from there)
    The link
    VC++ 6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MP3 file searching question
    By panfilero in forum C Programming
    Replies: 4
    Last Post: 11-27-2005, 01:19 PM
  2. copying files, exe, mp3, etc
    By Blizzarddog in forum C++ Programming
    Replies: 8
    Last Post: 06-17-2003, 08:40 AM