Solved

Change wav file parameters

Posted on 2002-07-19
8
264 Views
Last Modified: 2010-04-04
I want to convert the recording parameters of wav file inorder to decrease the space needed to store it
from (22Khz,16Bit,Mono) to (8Khz,8bit,Mono).
working code or component please.
               thanks
0
Comment
Question by:Ahmed1
[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
8 Comments
 
LVL 7

Expert Comment

by:Cynna
ID: 7164260
Didn't test it, but it looks like it might help:

 http://www.torry.net/vcl/mmedia/audio/cbwaveio.zip

0
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 68 total points
ID: 7164358
you can decrease the size even more if you use some kind of compression
I suggest you use Audio Components from peter morris
http://www.droopyeyes.com/default.asp?mode=ShowProduct&ID=2
these are not free, but the version 1 is !
he has discontinued the support of version 1
I'll ask him if I can make the version 1 publicly available
I use these compos in several of my projects and they work great

they're really simple to use
simply put a TWaveIn component on the form and set the output format
also with examples
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 22

Assisted Solution

by:Mohammed Nasman
Mohammed Nasman earned 66 total points
ID: 7164466
Hello

  Download this project from Simonet page

How to create/save a Wave file
http://www.bhnet.com.br/~simonet/howtoprojs.htm
0
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 7164659
ok peter agreed so here's the link to my demo project for VoIP with the ACMCompos 1.4
http://lee.nover.has.his.evilside.org/isapi/pas2html.dll/pas2html?File=/delphi/projects/VoIP/
the components are in the 3rdparty folder
0
 
LVL 3

Assisted Solution

by:cubud
cubud earned 66 total points
ID: 7168111
My new components also let you read/write wav files very easily. You can then compress them using any installed codec and windows will still play them.

So you can sample them down, or preserve quality and just change to a different format (mp3, adpcm), and they will still be .wav files!

There is even a demo (with source) to do exactly that.

Pete
====
Record, Play, Read, Write, Compress audio files. http://www.DroopyEyes.com
Read / write articles about just about anything http://www.HowToDoThings.com
0
 

Expert Comment

by:CleanupPing
ID: 9343033
Ahmed1:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 5

Expert Comment

by:Lukasz Lach
ID: 9461282
Ahmed1,
No comment has been added lately (18 days), so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:

RECOMMENDATION: split points between mnasman http:#7164466 and Lee_Nover http:#7164659 and cubud http:#7168111

Please leave any comments here within 7 days.

-- Please DO NOT accept this comment as an answer ! --

Thanks,

anAKiN
EE Cleanup Volunteer
0

Featured Post

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month6 days, 23 hours left to enroll

622 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