Results 1 to 7 of 7

Thread: VB6 - ACM (e.g. WAV/MP3 conversion)

  1. #1

    Thread Starter
    Lively Member rm_03's Avatar
    Join Date
    Aug 2004
    Posts
    92

    VB6 - ACM (e.g. WAV/MP3 conversion)

    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 (^)
    Attached Files Attached Files

  2. #2
    New Member
    Join Date
    Jul 2005
    Posts
    13

    Thumbs up Re: VB6 - ACM (e.g. WAV/MP3 conversion)

    Quote Originally Posted by rm_03
    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.

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    59

    Re: VB6 - ACM (e.g. WAV/MP3 conversion)

    Can I use this to say convert a 'portion' only of the wave file, let's say the first 3 secs?

  4. #4
    Member
    Join Date
    May 2006
    Posts
    61

    Re: VB6 - ACM (e.g. WAV/MP3 conversion)

    When I run your code, I get an error :

    "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?

    David

  5. #5
    New Member
    Join Date
    Jan 2020
    Posts
    2

    Re: VB6 - ACM (e.g. WAV/MP3 conversion)

    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.

  6. #6

  7. #7
    New Member
    Join Date
    Jan 2020
    Posts
    2

    Re: VB6 - ACM (e.g. WAV/MP3 conversion)

    The Trick
    Dear Sir

    Thanks very much indeed for your reply, i have downloaded and tested the new code and it works perfectly.

    Now i can enjoy retirement even more and continue my own projects.

    Yours Sincerely

    Philip

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width