Skip to main content

earshot_capture 1.0.0 copy "earshot_capture: ^1.0.0" to clipboard
earshot_capture: ^1.0.0 copied to clipboard

On-device microphone capture for Flutter as a float32 PCM stream, with permission status. No network.

Changelog #

1.0.0 #

  • First stable release. The public API follows semantic versioning from now on: breaking changes only in a major version (ADR 0021).

0.2.0 #

  • Update dependencies.

0.1.0 #

  • Microphone permission request: MicrophonePermission.request().
  • Float32 mono PCM stream at 16, 44.1 and 48 kHz: EarshotCapture.pcm(). Subscriptions share one microphone session, which stops when the last one is cancelled.
  • Capture state changes: EarshotCapture.stateChanges() emits the current state first.
  • Interruptions (calls, Siri, route and device changes) report CaptureState.interrupted and resume on their own.
  • Unprocessed input: iOS .measurement mode, Android UNPROCESSED with a VOICE_RECOGNITION fallback.
  • Stream errors are CaptureExceptions with a CaptureErrorCode.

0.0.1 #

  • Initial API preview.
  • Microphone permission status.
0
likes
160
points
381
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

On-device microphone capture for Flutter as a float32 PCM stream, with permission status. No network.

Repository (GitHub)
View/report issues
Contributing

Topics

#audio #microphone #pcm

License

MIT (license)

Dependencies

earshot_capture_android, earshot_capture_darwin, earshot_capture_platform_interface, flutter

More

Packages that depend on earshot_capture

Packages that implement earshot_capture