Hey everybody, I’ve created a simple VB example of CDDA ripping. Right now it will rip a CD track to a WAV file, but as soon as I figure out the LAME encoder I’ll try to change it to rip to MP3 instead. Thanks to karlkox for his example and also to the FMOD team for the C CDDA Rip example.
Here it is:
[url:2mmshkwj]http://members.aol.com/libertyed1986/cddarip.zip[/url:2mmshkwj]
- Paranoid_Android asked 14 years ago
- You must login to post comments
Great stuff Paranoid_Android! ๐
- Andrew Scott answered 14 years ago
- You must login to post comments
Thanks. Although there might be some bugs, I’m not sure. If anyone has any problems with it tell me and I’ll see what I can do.
- Paranoid_Android answered 14 years ago
- You must login to post comments
Not working for me, it says that I dont have any cd’s in, but I have… (XP Pro)
- Anonymous answered 14 years ago
- You must login to post comments
Make sure that you set it to the right drive letter in the combo box. It did that to me once before but all I had to do was take the CD out, put it back in and wait for it to start spinning.
- Paranoid_Android answered 14 years ago
- You must login to post comments
Wow, I just found a major bug. I fixed it and re-uploaded. So whoever downloaded it before the date of this post should download it again. Sorry.
I have a question for Brett or Andrew, do you know why when I rip a track from the CD to WAV the WAV output will always be 1 second longer than the CD track length?
- Paranoid_Android answered 14 years ago
- You must login to post comments
I ve also converted the two cdda C examples to PureBasic, i ll update the archive when my ftp host will reopen.
Paranoid>i ll (i think) add mp3/ogg encoding to the cdrip example so you can convert it to vb, it ll be not too hard since it s also a basic
- KarLKoX answered 14 years ago
- You must login to post comments
Ok, once you have the archive up I’ll look through it and convert it over to VB.
- Paranoid_Android answered 14 years ago
- You must login to post comments
[quote:rp10jc88]
…do you know why when I rip a track from the CD to WAV the WAV output will always be 1 second longer than the CD track length?
[/quote:rp10jc88]
I’m working on cd ripping just right now (in Delphi), the new length of the WAV it’s due to the stream buffer size you set: greater the size, shorter the rip time, longer the silence at the end of the stream. I found 2 methods to avoid it:
- Set roughly the size of the ripped track to the original one.
- Seek at the end of the stream and decrement the size until you find non-zero value (secure way if there are someone that opens the CD tray while ripping).
About EndCallback problems I read in other posts: I substituted it with checks for IsPlaying and now my code works fine.
๐
- Iago answered 14 years ago
- You must login to post comments
Please login first to submit.