whisper_library_flutter 0.0.0 copy "whisper_library_flutter: ^0.0.0" to clipboard
whisper_library_flutter: ^0.0.0 copied to clipboard

discontinued

Whisper Is Library for transcribe sound wav AKA Speech To Text Or Extract Text From Audio

Whisper Library #

Whisper Library Is library for transcribe sound to wav

Demo #

đŸ“šī¸ Docs #

  1. Documentation
  2. Youtube
  3. Telegram Support Group
  4. Contact Developer (check social media or readme profile github)

đŸ”–ī¸ Features #

  1. ✅ đŸ“ąī¸ Cross Platform support (Device, Edge Severless functions)
  2. ✅ đŸ“œī¸ Standarization Style Code
  3. ✅ âŒ¨ī¸ Cli (Terminal for help you use this library or create project)
  4. ✅ đŸ”Ĩī¸ Api (If you developer bot / userbot you can use this library without interact cli just add library and use đŸš€ī¸)
  5. ❌ đŸ§Šī¸ Customizable Extension (if you want add extension so you can more speed up on development)
  6. ❌ âœ¨ī¸ Pretty Information (user friendly for newbie)

â”ī¸ Fun Fact #

This library 100% use on every my create project (App, Server, Bot, Userbot)

đŸ“ˆī¸ Proggres #

  • 10-02-2025 Starting Release Stable With core Features

đŸ“Ĩī¸ Install Library #

  1. Dart
dart pub add whisper_library_dart
  1. Flutter
flutter pub add whisper_library_flutter

đŸš€ī¸ Quick Start #

Example Quickstart script minimal for insight you or make you use this library because very simple


import 'dart:io';
import 'package:general_lib/general_lib.dart';
import 'package:whisper_library_dart/whisper_library_dart.dart';

void main(List<String> args) async {
  print("start");
  String whisperModelPath = "path_to_file/ggml-small.bin";
  final WhisperLibrary generalAiSpeechToText = WhisperLibrary(
    libraryWhisperPath: "path_to_file/libwhisper.so",
  );
  await generalAiSpeechToText.ensureInitialized();
  final isLoadedModel = generalAiSpeechToText.loadWhisperModel(
    whisperModelPath: whisperModelPath,
  );
  if (isLoadedModel == false) {
    print("cant loaded");
    exit(1);
  }
  File fileWav = File(
    "path_to_file_sound/jfk.wav",
  );
  await Future.delayed(Duration(seconds: 2));
  DateTime dateTime = DateTime.now();
  final result = await generalAiSpeechToText.transcribeToJson(
    fileWav: fileWav,
    useCountProccecors: 1,
    useCountThread: (Platform.numberOfProcessors / 2).toInt(),
  );
  print("seconds: ${DateTime.now().difference(dateTime)}");
  result.printPretty();

  exit(0);
}

Reference #

  1. Azkadev-Whisper Original Idea and concept library + Developer Maintance this library
  2. Ggerganov-whisper.cpp ffi bridge main script so that this program can run
1
likes
0
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

Whisper Is Library for transcribe sound wav AKA Speech To Text Or Extract Text From Audio

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

Funding

Consider supporting this project:

github.com
github.com
github.com

License

unknown (license)

Dependencies

flutter

More

Packages that depend on whisper_library_flutter