|
Thread: mp3
-
Dec 5th, 2000, 04:15 PM
#1
Thread Starter
Frenzied Member
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 
-
Dec 5th, 2000, 06:28 PM
#2
Junior Member
-
Dec 6th, 2000, 03:51 PM
#3
Thread Starter
Frenzied Member
could you explain that?
is it a function?
an ocx?
a dll?
retired member. Thanks for everything 
-
Dec 6th, 2000, 04:11 PM
#4
Lively Member
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...
-
Dec 6th, 2000, 04:37 PM
#5
Hyperactive Member
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: 
-
Dec 7th, 2000, 03:48 PM
#6
Thread Starter
Frenzied Member
is there any code to go from cda to mp3 with however many steps are needed? CODE i said!!
retired member. Thanks for everything 
-
Dec 7th, 2000, 09:27 PM
#7
Hyperactive Member
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 
-
Dec 9th, 2000, 05:47 PM
#8
Thread Starter
Frenzied Member
what about wav to mp3?
and do you know anything about burning cds in code?
retired member. Thanks for everything 
-
Dec 9th, 2000, 06:36 PM
#9
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|