Results 1 to 9 of 9

Thread: mp3

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    does anyone know how to turn cda to mp3 and mp3 to cda?
    I dont care how bulky or how many files it creates in the meantime. Or a way to turn mp3 to wav and viseversa then burn it to a cd or rip it.
    retired member. Thanks for everything

  2. #2
    Junior Member
    Join Date
    Oct 2000
    Posts
    20
    Use CDex

  3. #3

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    could you explain that?
    is it a function?
    an ocx?
    a dll?
    retired member. Thanks for everything

  4. #4
    Lively Member Skateboarder's Avatar
    Join Date
    Nov 2000
    Location
    Delfzijl, the Netherlands
    Posts
    66

    mmm...

    I think CDex is a program, so I think the guy misunderstood you... and I can't help you with that if you want to program it yourself... sorry :-)

    Laterz
    To VB or not to VB, that's the question...

  5. #5
    Hyperactive Member D12Bit's Avatar
    Join Date
    Oct 2000
    Location
    Guatemala
    Posts
    373
    Just a few things about it.

    The .cda "things" that you see in the explorer when you browse a audio cd
    it's just the pointer to the track information in -the audio cd-

    But if you want to convert it to .mp3 format first you have some options to do it.

    -Use a program that records to a .wav file the audio track or tracks And then the uses an audio Codec that converts it to MPEG Layer 3 format (.mp3)

    e.g. Audiograbber currently version 1.70

    -Use a program just to rip the tracks and another program that converts to .mp3

    e.g CDDA Extractor and L3Enc.exe

    Anyway the bottom line is this:
    If you want to make a program that reads the CD Audio tracks and converts it
    to .wav files you have to take in consideration all the formats that your app
    must handle and that you can find some free sources that can give you an idea
    about the process converting the .wav file to .mp3 and viceversa.

    Beside that i have just have seen in here some very good codes about playing
    audio files not converting audio files.

    And as a last thing, with any good CD Burner software you can make an audio CD
    just selecting .wav files and indicating that you want to make an audio CD.

    Hope this info can help you.

    Saludos...
    "Who Dares Wins" - "Quien se Arriesga Gana"
    Mail me at:

  6. #6

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    Exclamation

    is there any code to go from cda to mp3 with however many steps are needed? CODE i said!!
    retired member. Thanks for everything

  7. #7
    Hyperactive Member Wak's Avatar
    Join Date
    Nov 2000
    Location
    Brisbane, Queensland
    Posts
    298

    MP3 -> Wav conversion

    make a form with 2 buttons and a 2 text boxes

    option explicit

    Private Declare Function mciSendString _
    Lib "winmm.dll" Alias "mciSendStringA" ( _
    ByVal lpstrCommand As String, _
    ByVal lpstrReturnString As String, _
    ByVal uReturnLength As Long, _
    ByVal hwndCallback As Long _
    ) As Long

    Dim bFlag As Integer

    Private Sub Form_Load()
    command1.caption = "Cancel"
    command2.caption = "Convert"
    text1.text = "Path of file to convert"
    text2.text = "Save Path of File"
    end sub

    Private Sub Command1_Click()
    'Currently recording
    If bFlag = True Then mciSendString "stop record", 0&, 0, 0: bFalg = True: exit sub
    'Stop current recording

    msgbox "Can't cancel, no current file converting..."
    End Sub

    Private Sub Command2_Click()
    Dim FilePath As String
    Dim SavePath As String
    FilePath = Text1.text
    SavePath = Text2.text

    If lCase(Right(filename, 3)) = "mp3" Then 'Mp3 file format
    'Open selected file
    mciSendString "open new type waveaudio Alias" & FilePath, 0&, 0, 0
    'Start recording to file
    mciSendString "record " & filename, 0&, 0, 0

    'Stop Recording
    mciSendString "stop record", 0&, 0, 0

    'Once Recorded, save file as
    mciSendString "save record" & SavePath, 0&, 0, 0

    'Once recording is finished, you must close mci channel
    mciSendString "close record", 0&, 0, 0
    End Sub


    I think this is right, but I am unable to tet it here. Hope it works, If not just post new message up.

    Visual Basic 6.0 Enterprise
    Visual C++ 6.0 Professional

    Wak

  8. #8

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    what about wav to mp3?
    and do you know anything about burning cds in code?
    retired member. Thanks for everything

  9. #9
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    CD Burning needs an OCX. But since this technology is so new, they charge a bundle for it.

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