speechsuper / SpeechSuper-SDK-Flutter-Demo

SpeechSuper SDK Flutter Demo

Repository from Github https://github.comspeechsuper/SpeechSuper-SDK-Flutter-DemoRepository from Github https://github.comspeechsuper/SpeechSuper-SDK-Flutter-Demo

SpeechSuper SDK for Flutter

Getting Started

Step 1: Download the SpeechSuper SDK demo for Flutter

Download the SpeechSuper SDK demo for Flutter from the following link:

Download SpeechSuper SDK demo

Step 2: Setting up the Demo

1. Insert your AppKey and SecretKey

Open the file lib/eval_screen.dart and add your appKey and secretKey in line 29 and 30 respectively.

2. Get the dependencies

Run flutter pub get in the demo folder to install dependencies.

3. Connect to your device and run the demo

Once your device is connected to your computer, run flutter run. You'll see a new app icon on the screen.

SpeechSuper SDK for Flutter App Icon

Step 3: Running the demo

1. Click to enter the speech assessment interface:

SpeechSuper Flutter SDK demo - App Landing

2. Initilize:

Enter the coreType and refText, then click the "Initialize the Engine" button. You will receive a success message.

SpeechSuper Flutter SDK demo - Initialization

3. Start and stop recording:

Click the "Start Evaluation" button to start recording and click the "Stop Evaluation" button to stop recording.

SpeechSuper Flutter SDK demo - Initialization

4. Check the assessment results

SpeechSuper Flutter SDK demo result

4. Additional functions:

  • Cancel Evaluation: You can cancel the speech assessment during recording.
  • Playback Recording: Replay the audio recorded just now.
  • Current Recording Path: Display the audio path recorded just now.
  • Delete Evaluation Engine: Delete engine instance after completion of speech assessment.

About

SpeechSuper SDK Flutter Demo