audio_toolkit 0.0.5 copy "audio_toolkit: ^0.0.5" to clipboard
audio_toolkit: ^0.0.5 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 #

Only supported on macOS 13+

We are currently developing support for Windows, Android, and iOS platforms.

🧠 Features #

  • 🎙️ System Audio Recording
  • 🎤 Microphone Recording
  • 🗣️ Voice-to-Text Transcription
    • Supports full file transcription
  • ⏱️ Streaming Transcription
    • Get text segment by segment as audio is processed
  • 📁 Full File Recording
    • Save audio directly to the Downloads folder

🛠️ Setup Instructions #

macOS App Permissions #

This plugin requires enabling the following permissions:

1. Enable access to the Downloads folder via App Sandbox

  • Go to Signing & CapabilitiesApp Sandbox → Enable User Selected File → Choose Downloads Folder

Enable Downloads Folder Access

2. Enable Audio Input in Hardened Runtime

  • Go to Signing & CapabilitiesHardened Runtime → Enable Audio Input

Enable Audio Input

3. Add the following permissions to your 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 #

dependencies:
  audio_toolkit: <latest_version>

Then run:

flutter pub get

⚠️ Notes #

  • Only works on macOS 13 or higher
  • Requires user permission to access mic, screen, and file system
  • Save file location is currently fixed to the Downloads directory
  • 🔒 initTranscribeAudio only works when building a production app.
    It does not work in debug mode (e.g. run via VSCode) because VSCode does not prompt for speech recognition permission.
    Please build the app using flutter build macos and run the .app directly.

🔮 Future Plans #

  • Cross-platform support for Windows, Android, iOS
  • Audio format customization
  • Whisper support for more accurate transcription

Feel free to contribute or open an issue!

📍 Maintained by @vuduchieu

5
likes
0
points
132
downloads

Publisher

unverified uploader

Weekly Downloads

A macOS-only Flutter plugin to record system/microphone audio and transcribe voice to text with real-time speech detection.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on audio_toolkit

Packages that implement audio_toolkit