Solved

CD ROM

Posted on 1998-05-26
4
230 Views
Last Modified: 2010-04-10
How do you access the cd rom functions to be able to
read a music cd and convert to a wave file ?
Have got as far as reading in the 5 bytes containing I
presume a pointer, then a call to dos io but the machine crashes.
I am writing a class to convert music CD's to .wav files
in DOS 6.xx and/or wfw 3.11/win NT 4.00 but not win95/98.
any help would be appreciated
sys: dx486,sx486 win 3.11,winNT 4.00 Visual C++ v1.5/1.52
MASM 6.10,6.11 , Visual Basic 3.00
0
Comment
Question by:mikesmart
  • 2
4 Comments
 
LVL 1

Expert Comment

by:Topace
Comment Utility
You want THE PROGRAM to convert the file to a wav file, or you just want to know how to convert the CD music to a wav format?


Topace
0
 

Author Comment

by:mikesmart
Comment Utility
Edited text of question
0
 

Accepted Solution

by:
Lucidity earned 50 total points
Comment Utility
Try the program/tutorial here....

http://209.66.99.126/misc/cd_audio.shtml

What you can do is use the methods from the above link to start the CD playing, then have another part to your program launch or start in sync to record much like the simple wave recorder that comes with windows. Your code that plays the CD should be able to send messages to the code that records the .wav to tell it when to start, stop and save.
0
 

Author Comment

by:mikesmart
Comment Utility
I was hoping to read the bits on a Audio CD to directly save
to the hard drive as raw data then converting to a .wav file.

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now