MP3 to Wav?
-
I am trying to decode a mp3 to wav using Lame.exe. The wav file gets created but, I am having problems trying to get the percentage done to show on a progressbar and the current % in a label. After trying for about a week now, I want to go a differerent way. Can anyone point me to a site that has a DLL and sample code in VB 8or9? It seems to me that the "MP3 to Wav" subject does not exist in the VB world. I already been to a multitude of sites and 99% of them deal in C++ or DirectDraw which I do not want because converting C++ to VB has a lot of problems, especially (SizeOf) which has no equal in VB. There are a lot more, but that is getting off the subject. THNX for any help in advance.
rspercy 1 + 1 = 186,440....Depending on the species.
-
I am trying to decode a mp3 to wav using Lame.exe. The wav file gets created but, I am having problems trying to get the percentage done to show on a progressbar and the current % in a label. After trying for about a week now, I want to go a differerent way. Can anyone point me to a site that has a DLL and sample code in VB 8or9? It seems to me that the "MP3 to Wav" subject does not exist in the VB world. I already been to a multitude of sites and 99% of them deal in C++ or DirectDraw which I do not want because converting C++ to VB has a lot of problems, especially (SizeOf) which has no equal in VB. There are a lot more, but that is getting off the subject. THNX for any help in advance.
rspercy 1 + 1 = 186,440....Depending on the species.
You have two options. The first is to use a library, like this: DLL To Decode MP3 To WAV/PCM. The second is to manually parse the MP3 file format and write the WAV file yourself FYI: SizeOf does indeed have an equivalent. In classic VB, you could have used Len. Nowadays, you can use System.Runtime.InteropServices.Marshal.SizeOf
Between the idea And the reality Between the motion And the act Falls the Shadow
-
You have two options. The first is to use a library, like this: DLL To Decode MP3 To WAV/PCM. The second is to manually parse the MP3 file format and write the WAV file yourself FYI: SizeOf does indeed have an equivalent. In classic VB, you could have used Len. Nowadays, you can use System.Runtime.InteropServices.Marshal.SizeOf
Between the idea And the reality Between the motion And the act Falls the Shadow
I already have this...It does not compile on my machine. I had to upgrade it to VS 2008 and in doing so, it displayed a crap load of errors. So I deleted it from my machine. I tried the Marshal.SizeOf and it still didnt work. Speaking of things that are not working, when I try to add the wmp.dll to my toolbox, I get ( dllRegisterServer in wmp.dll did not Load ) or something to that effect. I know it does not load in the Express Editions, but Im using VS 2008 Pro. It might be the VS install did not install quite correctly. I might have to uninstall it and do a complete install all over again. THNX anyway for your time and patience. Regards; rspercy60
rspercy 1 + 1 = 186,440....Depending on the species.
-
I already have this...It does not compile on my machine. I had to upgrade it to VS 2008 and in doing so, it displayed a crap load of errors. So I deleted it from my machine. I tried the Marshal.SizeOf and it still didnt work. Speaking of things that are not working, when I try to add the wmp.dll to my toolbox, I get ( dllRegisterServer in wmp.dll did not Load ) or something to that effect. I know it does not load in the Express Editions, but Im using VS 2008 Pro. It might be the VS install did not install quite correctly. I might have to uninstall it and do a complete install all over again. THNX anyway for your time and patience. Regards; rspercy60
rspercy 1 + 1 = 186,440....Depending on the species.
go to the project>Add Reference>Browse and there add wmp.dll its in the system32 folder cheers
TheMrProgrammer