Solved

How do I change a WAV audio file format?

Posted on 1997-06-23
1
231 Views
Last Modified: 2010-04-10
I am trying to create an app in Borland C++ Builder where I can modify the format of a WAV file (say from 16-Bit Stereo at 22.05kHz to 8-Bit Stereo at 11.025kHz).  So, I can open a WAV file at 16-Bit Stereo, 22.05kHz and save it as a file at 8-Bit stereo, 11.025kHz.  Is there anyway that I can use the MCI command for this app?  Please help.
0
Comment
Question by:dannil
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1164081
No, you cannot MCI command to do it. There are two ways.
1. There is WAVEMIX DLL (16-bit) source code on Microsoft JumpStart 2.0 CD-ROM. In that source code, you can find wave format conversion functions.
2. You can call Audio Compression Manager (ACM) functions to do the conversion. For 16-bit programs, ACM comes with Video for Windows 1.1 DK. For 32-bit programs, ACM comes with Win32 SDK.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall‚Ķ
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question