Ripping CD's straight to .mp3 or .ogg?

H

homerjk

Hi guys,

Im developing a music centre project for college and i was just
wondering could someone clear this up for me before i delve into it
further.


Is it possible to rip straight from a CD to .mp3 or .ogg using C#?
These are the only two format options i am allowed to use.
I have done a lot of searching and i am surprised that i couldnt find
any decent information on it. I have found lots of shareware
applications that do it so i have to assume that it can be done, its
just that no one wants to tell anyone how they did it! I know i could
use the windows media plpayer SDK and use its ripping component but
this type of "borrowing" is frowned upon.


At the minute im thinking off just ripping them as .wav's and then
automatically converting them to .mp3 and then deleting the original
..wav.
Yes this does sound crap and would take a lot of time in the
application, AND i would get an awful grade for it but at the minute
its all i can think off!


Any help appreciated!
J.
 
S

Scott M.

My understanding is that commercial application first rip to .wav and then
to .mpeg. This process has nothing to do with sound quality. In other
words, just because you go from .wav to .mpg does not mean you get crappy
..mp3's. Sound quality has to do with the original audio source and the bit
rate used in the conversion.
 
H

homerjk

Ah yes, i think i have may explained it wrong.
what i meant by "this sounds crap" is that the process sounds crap
rather than the quality, in that it may be a bit of overkill
performance wise to be converting them twice i.e. ripping them from the
CD to the Hard Drive in .wav and then converting this .wav to .mp3 and
then deleting the .wav.

Thanks
J.
 
T

Tom Dacon

homerjk said:
Hi guys,

I know i could
use the windows media plpayer SDK and use its ripping component but
this type of "borrowing" is frowned upon.

SDK: Software Development Kit, a programming package that enables a
programmer to develop applications for a specific platform (e.g., a media
player). That's what they're designed for, and if the WMP SDK exposes
functionality that solves your problem easily, and particularly if you can
use it without licensing costs or restrictions, it's arguably the best way
to solve your problem.

In the professional software development world, developers are respected and
rewarded for re-using software, rather than re-inventing it. I don't know
about your professors, but I'd give you an A for leveraging that resource,
and a lesser grade for ignoring it and investing a greater amount of time in
solving the problem in a more difficult way.

Tom Dacon
Dacon Software Consulting
 
H

homerjk

Thanks Tom,

I think im going to go down that line and Im gonna remember that speech
for my lecturers if they say anything to me!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top