audio_toolkit 0.0.8
audio_toolkit: ^0.0.8 copied to clipboard
A macOS-only Flutter plugin to record system/microphone audio and transcribe voice to text with real-time speech detection.
๐ง audio toolkit โ Flutter Plugin for Screen Capture with System Audio & Microphone Recording + Speech-to-Text Transcription #
๐ฆ A Flutter plugin for macOS 13+ to record system audio, microphone, and transcribe voice to text using built-in speech recognition.
We are currently working on Windows, Android, and iOS support.
Perfect for building voice assistants, audio analysis, and screen/audio capture apps on macOS.
๐ง Features #
- ๐๏ธ System Audio Recording (macOS only)
- ๐ค Microphone Recording
- ๐ฃ๏ธ Speech-to-Text Transcription
- Transcribe recorded files to text
- โฑ๏ธ Real-time Streaming Transcription
- Get results segment-by-segment as audio is processed
- ๐ Save Recordings to File
- Output to Downloads folder as
.wav
- Output to Downloads folder as
๐ ๏ธ macOS Setup Guide #
This plugin requires specific permissions & capabilities:
1. App Sandbox โ Downloads Folder Access #
Xcode โ Signing & Capabilities โ App Sandbox โ Enable User Selected File โ Add Downloads Folder
2. Enable Hardened Runtime โ Audio Input #
Xcode โ Signing & Capabilities โ Hardened Runtime โ Enable Audio Input
3. Add Permissions to Info.plist
#
<key>NSMicrophoneUsageDescription</key>
<string>This app requires microphone access to record audio.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>This app uses speech recognition to convert voice to text.</string>
๐ฆ Installation
In your pubspec.yaml:
yaml
Sao chรฉp
Chแปnh sแปญa
dependencies:
audio_toolkit: <latest_version>
Then run:
bash
Sao chรฉp
Chแปnh sแปญa
flutter pub get
โ ๏ธ Known Limitations
โ
Works only on macOS 13+
๐ Speech recognition does not work in debug mode
Run your .app via flutter build macos instead of flutter run
๐ File output path is currently fixed to Downloads
โ Screen or system audio permissions may need to be granted manually
๐งญ Use Cases
๐ค Voice-to-text dictation tools
๐น Screen recording with audio overlay
๐ง Podcast tools and voice editing apps
๐ Real-time voice analysis
๐ฎ Roadmap
โ
macOS support (Complete)
โณ iOS / Android / Windows support
๐ Whisper & multilingual transcription
๐๏ธ Audio format & output customization
๐ค Contributions
Feel free to open an issue or submit a pull request.
Your feedback makes this tool better ๐
Maintained by @vuduchieu