|
-
Jul 9th, 2001, 06:19 AM
#1
Thread Starter
Lively Member
Is it Possible...
Hi Guys,
Is it Possible to record Sound from a Playing Audio CD in Drive. ie., I need to Convert a Select Audio CD Track to Wave Audio. I think it can be done with mciSendString. Any Ideas Please... Thnx in Advance....
-
Jul 9th, 2001, 02:20 PM
#2
This code will basically record any sound that comes out of the speakers.
VB Code:
Private Declare Function mciSendString Lib "winmm.dll" _
Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal _
lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal _
hwndCallback As Long) As Long
Private Sub Command1_Click()
mciSendString "open new type waveaudio Alias record", 0&, 0, 0 'open WaveAudio called Record
mciSendString "record record", 0&, 0, 0 'begin recording
'Play sound
End Sub
Private Sub Command2_Click()
mciSendString "stop record", 0&, 0, 0 'stop recording
mciSendString "save record C:\Windows\Desktop\MyWav.wav", 0&, 0, 0 'saves recording
mciSendString "close record", 0&, 0, 0 'closes record and saves to file
End Sub
-
Jul 9th, 2001, 08:27 PM
#3
Thread Starter
Lively Member
Is it Possible...
Hi Gates,
Got ur code. Is it Possible to record the Wave file from a CD Track without making the CD to Play. Because I have seen many MP3 Encoders to Encode the Song from a CD without Playing the CD Track. Is it Possible....?
-
Jul 9th, 2001, 09:41 PM
#4
Try searching PSC for your answer.
-
Jul 10th, 2001, 06:27 AM
#5
Thread Starter
Lively Member
Oops, It's not Working...
Hi Mathew Gates,
I tried your example but I'm able to hear nothing from the wave file. Just only a flash of sound is heard and the rest of the wave file is empty. What may be the problem. Hope you understand my Problem. Any Solution you would like to give....?
-
Jul 10th, 2001, 11:22 AM
#6
lvramanan, click on the small icon in your taskbar that looks like a speaker. Than click Options and go to Properties, than click the Recording Options and select Ok. And raise your sound through there. You should be able to hear it fine since you raised the volume. And record longer, perhaps? Press the record button and play an Mp3.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|