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

x
?
Solved

Compression

Posted on 2002-04-04
3
Medium Priority
?
182 Views
Last Modified: 2013-11-20
i record 3Minuits  voice using some API's.and save it in a .WAV file.but that file size if 40M.B .now how to compree that file.pls help me
0
Comment
Question by:venkaiah
1 Comment
 
LVL 3

Accepted Solution

by:
Crius earned 200 total points
ID: 6921250
Since you are using just voice, you can really downgrade the quality. If your numbers are accurate, you're currently using about 222K/sec, which is really quite big.

1) Make your sound mono. That should save 50% of your space.
2) Downgrade your sound to make 11khz, instead of CD quality (44khz). (Should save 75% more space).
At this point, you have a filesize of 5MB.
3) Once you have it to this point, you could use a zip compression. There are freeware libraries that will do this.


Alternatively, you could just convert your sound to an mp3 format. That'll greatly reduce your sound file size with little or no sacrifice in quality - just need more CPU power. You could get a CD quality stereo sound down to about a meg a minute. (3MB file for your 3 minutes).
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

782 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