Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I change a WAV audio file format?

Posted on 1997-06-23
1
Medium Priority
?
239 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 150 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
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 how to clear a vector as well as how to detect empty vectors in C++.

886 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