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

A powerful Flutter library for contextual audio and sensory feedback.

soundify #

A powerful Flutter library for contextual audio and sensory feedback β€” enhance your app's accessibility and interactivity using intuitive sound cues and sensory responses.

Features #

  • 🎯 Contextual Audio Triggers β€” Automatically respond to gestures, device motion, and state changes.
  • πŸ”Š Dynamic Tone Generation β€” Create custom beeps and tones with adjustable frequency and duration.
  • πŸ—£οΈ Text-to-Speech β€” Announce events using synthesized speech.
  • 🀝 Haptic Feedback Integration β€” Combine sound with tactile feedback (where available).
  • 🧠 Customizable Rules β€” Define when and how sounds should trigger.
  • πŸ₯‡ Sound Layering & Prioritization β€” Manage overlapping audio cues with priorities.

Getting Started #

Add soundify to your pubspec.yaml:

dependencies:
  soundify: ^0.1.0

Usage #

final soundify = Soundify(
  rules: [
    SoundRules.swipe(minVelocity: 600.0),
    SoundRules.shake(),
    SoundRules.tap(),
    SoundRules.stateSuccess(),
    SoundRules.announce(text: 'Action completed'),
    SoundRules.beep(frequency: 440.0),
  ],
);
void main() {
  SoundifyWrapper(
    soundify: soundify,
    child: Text('Swipe, Tap, or Shake Me!'),
  );
}

Example #

void main() {
ElevatedButton(
  onPressed: () => soundify.trigger(null, data: 'success'),
  child: const Text('Success'),
);
}

Roadmap #

  • ❌ Rule chaining and condition building
  • ❌ Custom audio asset support
  • ❌ Advanced haptic configuration
  • ❌ Web and desktop support

License #

This project is licensed under the MIT License - see the LICENSE file for details β€” Contribute, fork, and enjoy!

3
likes
150
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful Flutter library for contextual audio and sensory feedback.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

audioplayers, flutter, flutter_tts, haptic_feedback, sensors_plus

More

Packages that depend on soundify