asr_lib 0.6.0
asr_lib: ^0.6.0 copied to clipboard
On-device speech recognition for Flutter powered by sherpa-onnx.
0.6.0 #
- bump version
0.5.1 #
- Align
funasrNanowithsenseVoiceconfig and model layout.
0.5.0 #
- Version bump to match
pubspec.yaml.
0.3.0 #
Breaking change: This release removes all Android/Kotlin native code and replaces the Platform Channel bridge with a pure-Dart implementation using the
sherpa_onnxFlutter package.
- Pure-Dart ASR engine —
AsrLibnow usessherpa_onnxdirectly instead of the previous Kotlin native AAR + Platform Channel bridge. - Cross-platform support — works on Android, iOS, macOS, Windows, and Linux
(all platforms supported by
sherpa_onnx+record). - Audio capture via
recordpackage — replaces AndroidAudioRecord. - Model downloader in Dart — new
asr_model_downloader.dartreplaces the KotlinModelDownloader. Supports progress tracking and marker-file-based download state. - Bundled VAD model —
silero_vad.onnxis now a Flutter asset. android/directory removed — no native code needed.- Model type support —
AsrConfig.modelTypeselects the model architecture:zipformer_ctc(default),sense_voice, orparaformer. - New dependencies:
record,path_provider,path. plugin:declaration removed frompubspec.yaml.
0.2.0 #
- Permission handling —
AsrPermissionsfor microphone permission request/check (Dart layer). - Global service registry —
AsrRegistrysingleton with pre-initialization support. - UI components —
VoiceRecordButton(long-press recording) andshowVoiceRecordOverlay(full-screen recording dialog). - Animation widgets —
PulseAnimation,RippleAnimation,SoundLevelIndicator,WaveformDisplay. - Text correction —
GlobalTextCorrectorwith pinyin matching, fuzzy matching, and hotword support. - New dependencies:
permission_handler,lpinyin.
0.1.0 #
- Initial release.
- Android arm64-v8a support (minSdk 24).
- Streaming (ONLINE) and full-utterance (OFFLINE) ASR modes.
- Silero VAD for automatic speech segment detection.
- Built-in mic capture via Android AudioRecord.
- Model auto-download from ModelScope (funasr-nano).
- Flutter plugin with Platform Channel bridge (MethodChannel + EventChannel).
- Kotlin native AAR for use outside Flutter.