Place a Mediaplayer on a form.
Select Devicetype dtWaveAudio.
Set AutoOpen to true.
Set Filename to an existing wav file (create with explorer/new/WaveAudio)
Place a Button with caption set to "Save" on the form. Write on its OnClick:
MediaPlayer1.Save
compile and run the Program
Press the "record"-Button
Use your microphone
Press the "stop"-Button
Press your save-button.
Now you have recorded it to your created wave-file
The recording did not success when I selected the Device Type to be "dtwaveaudio", but it worked when I set it to dtAutoSelect". However, thanks a lot for your help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.