Solved

Change wav file parameters

Posted on 2002-07-19
8
254 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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