speech_to_text_ultra_tg 0.0.7 copy "speech_to_text_ultra_tg: ^0.0.7" to clipboard
speech_to_text_ultra_tg: ^0.0.7 copied to clipboard

A modified version of the speech_to_text_ultra package to include language onlisten and update speech_to_text_package.

Author #

Souvik Das Link to Profile

Edited by #

Thiago Carvalho Link to Profile

Speech To Text Ultra #

This Flutter package designed to address the inconvenience of sudden pauses during speech recognition. With manual control over pause and play functionality, users can now dictate paragraphs without interruptions, ensuring a seamless and uninterrupted speech recognition experience. Elevate your Flutter applications with improved speech interaction, empowering users to communicate effortlessly and effectively.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  speech_to_text_ultra_tg: ^0.0.6
  1. Import the package and use it in your Flutter App.
import 'package:speech_to_text_ultra_tg/speech_to_text_ultra_tg.dart';

Example #

import 'package:flutter/material.dart';
import 'package:speech_to_text_ultra_tg/speech_to_text_ultra_tg.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  late SpeechToTextUltra2 speechService;

  @override
  void initState() {
    super.initState();
    speechService = SpeechToTextUltra2(
      ultraCallback: (liveText, finalText, isListening) {
        // print('Live Text: $liveText');
        if (finalText.isNotEmpty) {
          print(finalText);
        }
        // print('Is Listening: $isListening');
      },
      language: 'en-US',
    );
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: Text('Speech to Text Example'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              ElevatedButton(
                onPressed: () {
                  speechService.startListening();
                },
                child: Text('Start Listening'),
              ),
              ElevatedButton(
                onPressed: () {
                  speechService.stopListening();
                },
                child: Text('Stop Listening'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}


Features #

  • Seamlessly pause and resume speech recognition manually for uninterrupted dictation.
  • Eliminate sudden pauses during speech input, ensuring smooth and uninterrupted interactions.
  • Empower users to dictate entire paragraphs without interruptions or breaks.
  • Enhance user experience by providing manual control over speech recognition pause/play functionality.
  • Streamline speech input in Flutter applications with intuitive pause and play features.
2
likes
150
points
87
downloads

Publisher

unverified uploader

Weekly Downloads

A modified version of the speech_to_text_ultra package to include language onlisten and update speech_to_text_package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, speech_to_text

More

Packages that depend on speech_to_text_ultra_tg