A small module and class to use the ACM (Audio Compression Manager) in VB6.
The ACM manages all audio codecs installed on your Windows and let's you
convert between audio formats.
Included samples:
* codec enumeration
* PCM WAV resampling
* MP3 Encoder (a good codec is Lame ACM)
* MP3 Decoder (^)
A small module and class to use the ACM (Audio Compression Manager) in VB6.
The ACM manages all audio codecs installed on your Windows and let's you
convert between audio formats.
Included samples:
* codec enumeration
* PCM WAV resampling
* MP3 Encoder (a good codec is Lame ACM)
* MP3 Decoder (^)
Hi!
It was very nice code. Thank you
However could you please show me a code that convert PCM codec to another such as GSM 6 codec? not a MP3?
Is this possible with this modules?
Thanks
Last edited by maxcoder; Oct 9th, 2005 at 12:32 PM.
"Wrong number of arguments or invalid property assignment"
at this line:
If 1 <> acm.ConvertData(0, realout, , , usedlen) Then
---------------------------------
It's been just over 10 years since you posted. You could have received a message from 10 different star systems in less time, but still I thought I'd write.
Any chance you could figure out what is wrong with the code?
Dear Thread Starter, I was very pleased to have just found your ACM.ZIP file as i was hoping to see if i could create a WAV file from an existing MP3 file, your knowledge of coding is simply amazing. Unfortunately there is an error in the MP3 Dec Program - frmMain Sub ConvertFile Wrong Number of Arguments or Invalid Property Assignment.
If you are able to help me understand why, and correct the error, i would be really appreciate that.
Yours Sincerely. Philip from Manchester UK.