Solved

How do I change a WAV audio file format?

Posted on 1997-06-23
1
215 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now