Results 1 to 6 of 6

Thread: Is it Possible...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Exclamation 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....

  2. #2
    Matthew Gates
    Guest
    This code will basically record any sound that comes out of the speakers.


    VB Code:
    1. Private Declare Function mciSendString Lib "winmm.dll" _
    2. Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal _
    3. lpstrReturnString As Any, ByVal uReturnLength As Long, ByVal _
    4. hwndCallback As Long) As Long
    5.                                    
    6. Private Sub Command1_Click()
    7.  
    8.     mciSendString "open new type waveaudio Alias record", 0&, 0, 0 'open WaveAudio called Record
    9.     mciSendString "record record", 0&, 0, 0 'begin recording
    10.     'Play sound
    11.  
    12. End Sub
    13.  
    14. Private Sub Command2_Click()
    15.  
    16.     mciSendString "stop record", 0&, 0, 0 'stop recording
    17.     mciSendString "save record C:\Windows\Desktop\MyWav.wav", 0&, 0, 0 'saves recording
    18.     mciSendString "close record", 0&, 0, 0 'closes record and saves to file
    19.                                        
    20. End Sub

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Exclamation 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....?

  4. #4
    Matthew Gates
    Guest
    Try searching PSC for your answer.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 2000
    Location
    India, Chennai
    Posts
    121

    Exclamation 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....?

  6. #6
    Matthew Gates
    Guest
    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
  •  



Click Here to Expand Forum to Full Width