2

Is it possible to save the transcribed audio to a file or even intercept the audio blobs using the Java SDK ? Currently I'm trying with com.microsoft.cognitiveservices.speech:client-sdk:1.19.0

I'm looking at the SDK but doesn't have any clear documentation on how to achieve this.

I tried the following without any success:

SpeechRecognizer(config, AudioConfig.fromWavFileOutput(file.toString()))
Connection connection = Connection.fromRecognizer(reco);
connection.messageSent...  --- this is missing from the Java SDK

Am I missing something ?

Thanks in advance

Gyuri Majercsik
  • 2,141
  • 1
  • 17
  • 29
  • also, if anyone knows a good Flutter plugin or Dart library with this, it would be cool – Gyuri Majercsik Dec 01 '21 at 13:33
  • 1
    You can refer to [Speech to text from Azure](https://pub.dev/packages/tts_azure) and [Flutter/Dart: speech to text (offline and continuous) for any language](https://stackoverflow.com/questions/58060889/flutter-dart-speech-to-text-offline-and-continuous-for-any-language) – Ecstasy Dec 07 '21 at 10:39

1 Answers1

0

This GitHub repository Cognitive-Speech-STT-Android will provide the complete guidance for Azure Speech to Text on Android.

Utkarsh Pal
  • 4,079
  • 1
  • 5
  • 14