Skip to contentSkip to conversation

Basic mp3 player

DISCUSSION [email protected] 5 participants 7 messages Dec 8, 2002 – Dec 9, 2002

lore
Share & tools
lore
#0 lore raw

Hi, I am interested in coding a very thin, basic, small mp3 play in C for dos and linux.
I just want it to read a file, locate mp3 tags, display them and play the file. What resources do you recommend me?, What suggestion for design and portability? Where can i get a public library so I dont have to "reinvet the wheel"??

Please, any help, comments, advices is welcome.

bye.

-------------------------------------------------
This mail sent through IMP: correo

#2 lore raw
In reply to Boris Bezlaj

It's a project for a subject.

Mensaje citado por: Boris Bezlaj <[email protected]>:

Quoted 19 lines
Quoted 1 line · On Sun, Dec 08, 2002 at 01:08:31PM -0600, [email protected] wrote:

Hi, I am interested in coding a very thin, basic, small mp3 play in C

for dos

Quoted 1 line

and linux.

Whats wrong with ogg123 and mpg123 players?

Signature · 8 lines
With best regards,

		Boris B.
-
To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

-------------------------------------------------
This mail sent through IMP: correo

#3 lore raw
In reply to [email protected]
Quoted 2 lines · On Sun, Dec 08, 2002 at 01:08:31PM -0600, [email protected] wrote:

Hi, I am interested in coding a very thin, basic, small mp3 play in C for dos and linux.

If you want to do it from scratch, i.e. you are interested in the algorithmic part of the project, then you have to learn the MP3 encoding. It's not trivial.

I have no resources to suggest but you can find lots of via Google. Just search for lossy compression, MP3 encoding/decoding, etc.

Ciao!
Elias

Signature · 1 line
http://gnewtellium.sourceforge.net			MP3 is not a crime.	
#4 lore raw

Dude, i dont want to do it from scrath, i need the code and add it to my proyect.
for example call: plaympe(FILE);
how a c programmer can use a audio device????

---
Fabio Andres Miranda
Ingenieria de sistemas informaticos
Universidad Latina - Costa Rica

Quoted 17 lines · Elias Athanasopoulos
Quoted 2 lines · On Sun, Dec 08, 2002 at 01:08:31PM -0600, [email protected] wrote:

Hi, I am interested in coding a very thin, basic, small mp3 play in C for dos and linux.

If you want to do it from scratch, i.e. you are interested in the algorithmic part of the project, then you have to learn the MP3 encoding. It's not trivial.

I have no resources to suggest but you can find lots of via Google. Just search for lossy compression, MP3 encoding/decoding, etc.

Ciao!
Elias

--
http://gnewtellium.sourceforge.net MP3 is not a crime.

#5 lore raw

On Mon, 2002-12-09 14:59:32 -0600, Fabio Miranda Hamburger <[email protected]> wrote in message <[email protected]>:

Quoted 4 lines

Dude, i dont want to do it from scrath, i need the code and add it to my proyect.
for example call: plaympe(FILE);
how a c programmer can use a audio device????

By doing an open() call on the appropriate /dev/ node.

MfG, JBG

Signature · 4 lines
   Jan-Benedict Glaw       [email protected]    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur
    fuer einen Freien Staat voll Freier Bürger" | im Internet!
   Shell Script APT-Proxy: http://lug-owl.de/~jbglaw/software/ap2/
#6 lore raw
In reply to Fabio Miranda Hamburger
Quoted 4 lines · Fabio Miranda Hamburger

Dude, i dont want to do it from scrath, i need the code and add it to my proyect.
for example call: plaympe(FILE);
how a c programmer can use a audio device????

in order to play mp3 files you need a mp3 decoder. you most likely don't want to write this on your own. there are quite a few good mp3 decoding libs out there. try libmad, for example. for an example of how libmad is used to play music, look at the mpg321 source.

so in short, google for libmad and mpg321.

Quoted 30 lines

---
Fabio Andres Miranda
Ingenieria de sistemas informaticos
Universidad Latina - Costa Rica

Quoted 8 lines · Elias Athanasopoulos
Quoted 2 lines · On Sun, Dec 08, 2002 at 01:08:31PM -0600, [email protected] wrote:

Hi, I am interested in coding a very thin, basic, small mp3 play in C for dos and linux.

If you want to do it from scratch, i.e. you are interested in the algorithmic part of the project, then you have to learn the MP3 encoding. It's not trivial.

Quoted 9 lines

I have no resources to suggest but you can find lots of via Google. Just search for lossy compression, MP3 encoding/decoding, etc.

Ciao!
Elias

--
http://gnewtellium.sourceforge.net MP3 is not a crime.

-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html