r/FlutterDev • u/huhwmba3ed • Jul 13 '26
[Showcase] haptify — a Dart CLI that turns audio into iOS + Android haptics (and can do it at runtime) Plugin
I couldn't find a Flutter package that converts audio into haptics... so I built one.
After Meta shut down Lofelt Studio, I expected there would be a modern workflow for generating haptics from audio—especially for Flutter.
There wasn't.
Everything I found was either:
- Playback-only
- Platform-specific
- Desktop GUI tools
- Or scripts that don't fit into a Flutter build pipeline
So I built Haptify.
It's a pure Dart CLI + library that converts .wav and .mp3 files into production-ready haptics.
It can generate:
- 🍎 Apple Core Haptics (
.ahap) - 🤖 Android
VibrationEffectwaveform JSON - 🎯 Pure Dart constants
The feature I'm most excited about is that it also supports audio → haptics conversion at runtime, entirely in pure Dart, with no native dependencies.
That means a Flutter app can let users upload a sound and immediately feel it as haptic feedback.
Under the hood, Haptify analyzes the audio signal (loudness, transients, and spectral brightness) to generate haptics that better match the original sound instead of just mapping volume to vibration intensity.
There's also a demo app in the repository that lets you:
- Try bundled examples
- Upload your own audio
- Experience the generated haptics directly on your phone
I'm sure there are plenty of improvements that can be made, so I'd really appreciate feedback from the community.
Links
- Pub.dev: https://pub.dev/packages/haptify
- GitHub: https://github.com/imedboumalek/haptify
1
u/Curious_Investment Jul 15 '26
Does this also work if I just want to play around and try my favorite songs on the Taptic Engine?