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 13 years ago
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?!
I won’t be able to use it because the SDK is v9.0 only, which is not supported on my OS, the installer wont even install it for me without giving me an error dialog, apparently it supports only Win 98 SE and greater, and the machine I’m using has the original Windows 98. Oh well.
[quote="Paranoid_Android":1jgki2cd]I used a program called EncSpot Analyzer, which analyzes the LAME tags and header. It said that the CRC checksum was corrupted for all of the tracks that I ripped.[/quote:1jgki2cd]
Ok, I tried EncSpot and the only strange thing I found out was that the file
has no Xing header … shouldn’t there be this header if VBR is used?
Welcome to the SDK Update Site
The Microsoft® Platform Software Development Kit (SDK) contains the information you need to develop applications for Microsoft Windows®. This edition of the SDK supports development for the following platforms:
Windows Server 2003
Windows Advanced Server, Limited Edition
Windows XP 64-bit Edition
Windows NT® versions 3.51 and 4.0
Windows Millennium Edition
[b:3votse1t]Windows 95 and Windows 98[/b:3votse1t]
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?
Please login first to submit.