I need a solution
Create new wav file
I did a program in delphi 3.0 to record a wav file. I manage to record using media player. the file i create was saved in c:\sound.wav.
The problem is, I can't save in a new file. the sound I recorded keep on append to the c:\sound.wav
Set the FileName property to the filename you want it saved as.
If the file c:\sound.wav didn't exist, then i can't save the file i've recorded.(an error message appear .. something to do with EMCI error).The program halted.
Then, i create a fail name sound.wav in c:\ to solve the problem.
The program can run and the recorded voice can be saved in c:\sound.wav
But, each time i record my voice it does not overwrite the existing file(sound.wav).
"""If the file c:\sound.wav didn't exist, then i can't save the file i've recorded
Var fl: TFileStream;
"""But, each time i record my voice it does not overwrite the existing file(sound.wav).
do this then:
you can use both things together.. first check if file exists, if so, delete it..
Solve your biggest tech problems alongside global tech experts with 1:1 help.
Tackle projects and never again get stuck behind a technical roadblock.
How it Works
Plans and Pricing
Become an Expert
Who We Are
Join Our Team
Hall of Fame
Experts Exchange, LLC.
All rights reserved. Covered by US Patent.