Solved

How do I change a WAV audio file format?

Posted on 1997-06-23
1
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

752 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