Kastri icon indicating copy to clipboard operation
Kastri copied to clipboard

SpeechRecognition Demo don't work - Delphi 12.3

Open maurobotta opened this issue 6 months ago • 3 comments

Hi @DelphiWorlds

When i open SpeechRecognitionDemo.dpr project IDE show me an error, INCLUDE... ,then, i have delete SpeechRecognitionDemo.dprj but when i re-Open SpeechRecognition Demo, compile work fine, but deploy don't work on Android64.

Image

maurobotta avatar Jul 03 '25 10:07 maurobotta

Add 2 questions :)

  1. Can i Save the original audio ?

  2. Can i work on pre-recorded audio files .wav ?

Tnx.

maurobotta avatar Jul 03 '25 10:07 maurobotta

I've updated the .dproj, added a manifest template for the demo, and updated the readme.

  1. Can i Save the original audio ?
  2. Can i work on pre-recorded audio files .wav ?

Not with this demo, as it does not do any actual recording. If you want to do recording of audio, see this link.

DelphiWorlds avatar Jul 03 '25 12:07 DelphiWorlds

For doing speech recognition on existing audio files (e.g. .wav), the best option would be to use the Google Speech-To-Text Cloud API, however of course this would need conversion into Delphi code, which might be substantial. Also, there is a cost involved with transcribing audio this way.

DelphiWorlds avatar Jul 03 '25 12:07 DelphiWorlds