Solved

Change wav file parameters

Posted on 2002-07-19
8
251 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
8 Comments
 
LVL 8

Expert Comment

by:Cesario
ID: 7164254
0
 
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
 
LVL 22

Assisted Solution

by:mnasman
mnasman 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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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

20 Experts available now in Live!

Get 1:1 Help Now