crispasr 0.8.22 copy "crispasr: ^0.8.22" to clipboard
crispasr: ^0.8.22 copied to clipboard

Lightweight on-device speech recognition via ggml. Supports Whisper, Qwen3-ASR, FastConformer, and more.

example/README.md

crispasr examples #

crispasr runs on-device speech recognition (Whisper-family and other ASR models) via ggml. It needs the native libcrispasr at runtime (see the package README for how to supply it).

Transcribe an audio file #

import 'package:crispasr/crispasr.dart';

void main() {
  final model = CrispASR.open('ggml-base.en.bin');
  try {
    final segments = model.transcribe('audio.wav');
    for (final seg in segments) {
      print('[${seg.start}s - ${seg.end}s] ${seg.text}');
    }
  } finally {
    model.close();
  }
}

The library also exposes a chat/LLM surface (package:crispasr/crispasr.dart re-exports src/chat.dart) for the bundled generation backends.

0
likes
160
points
822
downloads

Documentation

API reference

Publisher

verified publishercrispstro.be

Weekly Downloads

Lightweight on-device speech recognition via ggml. Supports Whisper, Qwen3-ASR, FastConformer, and more.

Homepage
Repository (GitHub)
View/report issues

Topics

#asr #speech-recognition #transcription #ffi #ggml

License

MIT (license)

Dependencies

ffi

More

Packages that depend on crispasr