reading, writing, and appending mp3s

This is a discussion on reading, writing, and appending mp3s within the Windows Programming forums, part of the Platform Specific Boards category; i need info on mp3's, mainly how to open, read and write them. oh and play would be useful too. ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    23

    reading, writing, and appending mp3s

    i need info on mp3's, mainly how to open, read and write them. oh and play would be useful too. i looked through the directx and platform sdk but i didnt find anything...
    any help would be appreaciated
    let us eat and drink

  2. #2
    Registered User
    Join Date
    Sep 2001
    Location
    pacific northwest
    Posts
    37
    check out the Media Control Interface (MCI) on msdn

    http://msdn.microsoft.com/library/de...ciwnd_75wz.asp

    i am working on my first windows app... its a mp3 player.. can't decide if i want to let Windows do the decoding, or implement a different engine like mpg123 or xing.

    cheers!
    "No, I am not wise, but I am a lover of wisdom." --Pythagoras

  3. #3
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    use LAME
    hello, internet!

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    23
    thanks guys!
    skeptik, maybe you want to add support for the file format im making. of course that means ill have to make it first...
    anyway it has a .yov extension and my program is just an excuse for it:
    takes a bunch of mp3's, and makes one file of them with a bunch of information in the begining of the file about the songs.
    that way its alot easier to store songs.
    you may not listne to music on the pc much, but some people got like 999999 songs, and it gets real annoying. so yeah, you can download a song-organizer, but they cant rival the marvalous .yov files.
    it does not compress them, and loading the .yov file you can play them as if they were normal mp3's. i hope it catches cause storing music today sucks!
    btw email is andrewthegreen@gamebox.net
    if youre interested
    let us eat and drink

  5. #5
    Registered User
    Join Date
    Sep 2002
    Posts
    23
    hey, if you add support for these files, i wont have to make a media player just to test my files and you can be the first to support them.
    i would like that.
    let us eat and drink

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    23
    say moi, when you said use LAME, which one of us were you talking to? and where can i find information on it?
    let us eat and drink

  7. #7
    Registered User
    Join Date
    Sep 2002
    Posts
    23
    skeptik, the MCI isnt what i want. or at least i dont think so.
    let me explain what i want to do with txt files, its clearer that way:
    say i got 6 txt files, call them chapters, and i wanted to load and make one file out of them. i would write at the begining of the file the names of the chapters, how long they are, where exactecly in this new big file they reside (so the program that plays knows where to get them) and sumore trivial information about the book. then write to the master file - "chapter1:" and the contents of chapter one, then "chapter2:" and the contents of chapter two, and so on.

    so i want to do the same with mp3's.
    change "chapter" to "song" and "book" to "album" and you got it.


    so does MCI let me do that? cause i didnt find it in there.
    let us eat and drink

  8. #8
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by Andrewthegreen
    say moi, when you said use LAME, which one of us were you talking to? and where can i find information on it?
    lame is a multi-platform mp3 encoder written in C. http://sourceforge.net/projects/lame
    hello, internet!

  9. #9
    Registered User
    Join Date
    Sep 2001
    Location
    pacific northwest
    Posts
    37
    i would recommend you read up on the mp3 codec and see where you can store your information without corrupting the file

    check

    http://mp3-converter.com/mp3codec/
    "No, I am not wise, but I am a lover of wisdom." --Pythagoras

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 05-20-2008, 09:57 AM
  2. reading from the open socket then writing to a file...
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 07-06-2002, 05:15 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21