Registriert seit: 15. Mär 2007
4.140 Beiträge
Delphi 12 Athens
|
AW: Beep?
20. Dez 2021, 18:50
Eine Möglichkeit wäre vielleicht noch, mit Grijjy TextToSpeech
https://blog.grijjy.com/2017/01/09/c...ext-to-speech/
Delphi-Quellcode:
procedure TFormMain.FormCreate(Sender: TObject);
begin
FTextToSpeech := TgoTextToSpeech.Create;
FTextToSpeech.OnAvailable := TextToSpeechAvailable;
FTextToSpeech.OnSpeechStarted := TextToSpeechStarted;
FTextToSpeech.OnSpeechFinished := TextToSpeechFinished;
end;
...
procedure NeedABeep;
begin
FTextToSpeech.Speak( 'Piep' ); // :-D
end;
|