chirp_codec 0.1.0 copy "chirp_codec: ^0.1.0" to clipboard
chirp_codec: ^0.1.0 copied to clipboard

Near-ultrasonic FSK data-over-sound codec in pure Dart: encode a 16-bit payload as 4-FSK symbols in the 18–19.2 kHz band and decode it from raw mic PCM with Goertzel filters. No plugins, no FFI — work [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add chirp_codec

With Flutter:

 $ flutter pub add chirp_codec

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  chirp_codec: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:chirp_codec/chirp_codec.dart';
0
likes
140
points
29
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Near-ultrasonic FSK data-over-sound codec in pure Dart: encode a 16-bit payload as 4-FSK symbols in the 18–19.2 kHz band and decode it from raw mic PCM with Goertzel filters. No plugins, no FFI — works anywhere Dart runs. Extracted from the ParkerUp parking app's sound check-in feature.

Topics

#audio #ultrasonic #data-over-sound #fsk #proximity

License

MIT (license)

More

Packages that depend on chirp_codec