Hey everybody, I’ve updated my CD ripper example with LAME MP3 encoding, OGG Vorbis encoding, and of course WAV writing. So, if you’re interested [url=http://members.aol.com/libertyed1986/cddaextracter.zip:252u06mk]click here[/url:252u06mk]
- Paranoid_Android asked 15 years ago
Ok, I have WAV, MP3, and OGG support, and I thought I would add lossless audio encoding, so Monkeys Audio is now supported. All are on-the-fly. But my question is whether or not this format could even be played back with FMOD. I know FLAC is a format that will be in FMOD 4, but in the meantime is there any way to play them back with the current FMOD version?
hello … i’ve added freeDB support to you ripper, so that you get the
real artists and titles … next step will be to also write ID tags to the
final file. There is one question: does the lame dll support all mp3
features like vbr, joint/forced stereo, mpegII, mpegII.5 and so on?
and if yes, is there a docu or something like that? same for the ogg
dll. i’m really interested in extending this sweet tool!
[quote="Paranoid_Android":1zohf7x7]Ok, I’ve updated the example, now it’s possible to play CD tracks, not while you’re ripping them though. Purity, if you send me the FreeDB Code you used I’ll put it into mine, or just send me the edited zip or something.[/quote:1zohf7x7]
you will get the code tomorrow … which email address do you prefer?
tomorrow i will also start to add lyrics tag support … which means that
it not only reads the freeDB infos but also downloads and stores the
lyrics of every song (if enabled)
the LAME DLL supports Stereo, Mono, Joint Stereo and Dual Channel. Right now I have it preset to Joint Stereo, but I’m extending it every time I work on it so I’ll probably set up an options dialog to set all of the different lame settings. I’m not sure if it supports MPEG2, I know that there is a property that you can set the MPEG version, but I haven’t played with it to see if that actually encodes it to MPEG 2. It does support VBR but in my example I haven’t shown how to do it. If you want some ducumentation on LAME try [url=http://www.mp3dev.org/mp3/:2j5lvbab]here[/url:2j5lvbab].
ok, thanks, it works now!! But I can’t figure out how to encode to vbr. I enable VBR and I set up the vbr method and quality but then after I encode I analyze the MP3 and it says that its CBR. Do you know thr correct way to encode in VBR?
oh i see … thanks for the info (sorry for beeing a little fmod-off-topic)
after a deeper look into the modEncoder.bas i finally understand what
you mean (seems like a was bit stupid at first) so it looks like we have
all lame and ogg posibilities like in cdex for example. have you plans
for any other encoders to include (except audio monkey) for example
wma? by the way if you wanna spread any of you updates i’m still
interested in learning from your code.
.dwStructVersion = 1
.dwStructSize = Len(beConfig)
.dwSampleRate = 44100
.dwReSampleRate = 0
.nMode = BE_MP3_MODE_STEREO
.dwMpegVersion = MPEG1
.dwPsyModel = 0
.dwEmphasis = 0
.bOriginal = True
.bNoRes = True
‘.nPreset = LQP_HIGH_QUALITY
.dwBitrate = Bitrate
.dwMaxBitrate = 192 .bWriteVBRHeader = True .bEnableVBR = True .dwVbrAbr_bps = 192000 .nPreset = LQP_ABR .nVbrMethod = VBR_METHOD_ABR .bWriteVBRHeader = True .nQuality = 0.5 End With
Private Function EndCallback(ByVal hStream As Long, ByVal buff As Long, ByVal length As Long, ByVal param As Long) As Long
If beConfig.format.LHV1.bEnableVBR Then
I’m not sure if I’m going to add any more encoder support right now. But I will probably add FLAC and maybe WAVPack support, but I’m not sure on that. What encoders would you like to see in the future? I don’t know if I can add wma support, it would be good if I could, but I dont know anything about how WMA works, I’ll have to research it.
Ok, I’ve updated it with a settings dialog so you can switch between CBR, ABR, and VBR. And you can also change stereo mode. But I found that after writing a VBR header the mp3 will have a corrupted CRC checksum, I can’t figure out why.
[quote="Paranoid_Android":3cmkjxes]Ok, I’ve updated it with a settings dialog so you can switch between CBR, ABR, and VBR. And you can also change stereo mode. But I found that after writing a VBR header the mp3 will have a corrupted CRC checksum, I can’t figure out why.[/quote:3cmkjxes]
how do you found out the the CRC is corrupted? i tried the changes
posted by KarLKoX and haven’t noticed this prob so far?!
Please login first to submit.