• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Reading from a CD

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
This may sound strange. But one of the requirements that I have is to read data from a CD (in form of music files) and store them on the hard disk. Is there any Java class/API which supports reading from a CD?
TIA
Manoj.
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wouldn't this just be like reading from any other file? In UNIX/Linux the CD-ROM drive is mounted as any other mount point, and in Win-whatever it gets a drive letter, and in MacOS it has a name like any other drive.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Manoj,
If you are talking about "music files" as .MP3 or .WAV files (or something like them) that is easy... just do as Susan suggested above...
But if you are talking about "music files" to mean audio tracks off a CD... well... tough luck... you're going to have to basically write your own "audio ripper" to translate the binary encoded music from the CD... which I have no way of knowing how you would even read from the CD since I don't think audio tracks are actually stored as "files"...
Hope this helps (well, as much as telling someone that something is going to be really, really hard to do can help... ),

-Nate
[This message has been edited by Nathan Pruett (edited January 17, 2001).]
 
Manoj Pooleery
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nathan,
Thanks a lot for the info. In fact, what you said is precisely what i have to do. You see, in this world, all kind of weird things can happen - one such is happening to my project. well, my client is giving me data in a CD only. And that too the data we are talking abt is music files. so, i have to find a way to 'rip' it off and store in hard disk. well, if anybody knows about any kinf of stuff which can do the work in the minimum time, i shall be happy. (kind of DLLs etc, which I can use in my program using JINI)
TIA
Manoj.
 
Susan Hoover
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see, my mistake. Here is a reference to various CD formats. Not Java, but there's probably enough information there for a competent Java programmer to whip something up.
 
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might also check out some utilities that perhaps you could automate. I went to www.download.com and searched on 'cd to mp3', several hits, including http://www.mgshareware.com/ who has a freeware cd audio to mp3, wav.
Hope you're charging plenty for this project!
 
reply
    Bookmark Topic Watch Topic
  • New Topic