Not built into FMOD, no, but it wouldn’t be hard to feed BladeEnc.dll or lame_enc.dll from a DSP unit while the CDDA stream is playing. A good place to start would be the FMOD cddarip example. Instead of just doing an fwrite in the DSP callback, you’d pass the chunk of data to BladeEnc or lame.
hmmm, I’m still getting the “Bad DLL calling convention” error. Maybe it has to do with the module I wrote. I just converted it from your purebasic example into VB. Have a look at it [url=http://members.aol.com/libertyed1986/modLAME.bas:3658welz]Here[/url:3658welz].
[quote="JediKnight":2aigj53f]User NERO Burning ROM (http://www.nero.com)
You can extract audio digitally, and save it directly in MP3
NERO has a built-in MP3 encoder :)[/quote:2aigj53f]
lol ! He want to code it using fmod and the lame encoder and he is not searching for a tool doing cdda extraction
Btw, eac is a better choice 😉
[quote="KarLKoX":51yw1ei6]yes, it works, perhaps you have another lame_enc.dll in your path ?Normally, the [url=http://starnetasso.free.fr/Upload/EncoderVB.rar:51yw1ei6]example[/url:51yw1ei6] i wrote must work.[/quote:51yw1ei6]
do you have an idea why i can’t get the WriteTagV1(ByVal fichier As String, Optional bRemove As Boolean = False) of your example, to work?
the WriteTagV2 is working like charm! but the WriteTagV1 simple don’t want
to write the TAGs to the file (fichier = the same path as in the working V2 procedure and the TAGs are filled with example values) the V1 tag is also disabled when i take a look at the TAGs in winamp for example. any ideas?
[quote="KarLKoX":1ea7b5o2]Ok, i ve fixed them, check [url=http://starnetasso.free.fr/Upload/VB-IdTagv2.rar:1ea7b5o2]this[/url:1ea7b5o2] small app and let me know if it works for you
It is 100 % accurate for me, at least with winamp :D[/quote:1ea7b5o2]
Hello KarLKox … thanks for your sample code. It’s working now
perfectly! but why just removing the check? wouldn’t it be better
to do it like in this example: http://mitglied.lycos.de/liz777/testInfo.zip
i also tried to add the mp3 header information but unfortunatelly my
code isn’t the best as it is missing “header found at, mode, privat,
padding and frames) do you have examples on how to add these
missing fields? or have you an all in all better module for that as i
seems to have some problems with several files where the bitrate
isn’t recognized correctly (although it supports vbr?!) thanks again
and cu (perhaps i should finally register an account here …
[quote="Paranoid_Android":1wlpojl4]hmmm, well, it looks like I can’t use lame_enc.dll in VB without a DLL wrapper! Does anybody have a wrapper for the LAME encoder?[/quote:1wlpojl4]
Yes, i ve heavily modified lame/vorbis dll to get them working with VB, i ve started a simple encoder but i switched to PureBasic, so if you want, i can link you this unfinished “project”. But be warned : the code is really not optimised or well coded … but it works
I can’t download your zip file
Btw, this module was written a long time ago, just to understand how to read idtag2, i added writing and reading/writing idtag 1 as an extra, the code wasn’t meant to be used as a well coded example, though i think there are some ways the code could be optimised
I ve some code reading the mp3 header wich can be found [url=http://starnetasso.free.fr/Upload/IdTags-PB.rar:yoeq5ew5]here[/url:yoeq5ew5]. It is written in PureBasic but it could easily converted to VB. The reader is very accurate (adapted from Foobar2000/MpgLib), read vbr, read some corrupted mp3 …
Some notes :
- << = vbShiftLeft
- >> = vbShiftRight
- Put a mp3 renamed to “test.mp3”
- mmhhh nothing else 😆
I’ve replaced all lame_enc.dll’s in my computer with the one in your example so it couldn’t be that I have another lame_enc.dll in my path. Even your example is giving me the “Bad dll calling convention” error. Maybe you are using a different dll than the on in the rar archive, check to make sure the dll included in the archive is the correct one.
Please login first to submit.