Solved

How do I change a WAV audio file format?

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

815 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

12 Experts available now in Live!

Get 1:1 Help Now