Re: SOUND that come from MICROPHONE


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by Rbrrneck on July 31, 2002 at 17:45:31:

In Reply to: SOUND that come from MICROPHONE posted by qwertyx85@yahoo.com on July 30, 2002 at 02:43:52:

: I want to control the sound that come from MICROPHONE.
: I mean can I delay the sound that come from MICROPHONE
: for 1 second and then hear from SEPAKER.
: Is it posible with DELPHI?
: Thank you.

Yes, it's possible. First you have to find a component (I recomend TRecoreder at torry.net) to record the sound from the microphone to a file. Then put a timer on your main form and set it to one second, and in the ontimer event put:

begin
PlaySound(thefilename.wav),0,SND_FILENAME or SND_ASYNC);
timer.enabled:=false;
end;
oh yeah, you have to put mmsystem to the uses list,hope this helps you,

Rbrrneck


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]