flutter_soloud 3.1.3 copy "flutter_soloud: ^3.1.3" to clipboard
flutter_soloud: ^3.1.3 copied to clipboard

A low-level audio plugin for Flutter, mainly meant for games and immersive apps. Based on the SoLoud (C++) audio engine.

A low-level audio plugin for Flutter.

Pub Version style: very good analysis

Linux Windows Android MacOS iOS Web
Support 💙 💙 💙 💙 💙 💙
Minimum Version Any Any 21 10.15 13.0 Any

Overview #

A high-performance audio plugin designed primarily for games and immersive applications, providing low latency and advanced features.

Key Features #

  • ⚡ Low latency, high performance audio
  • 🎮 3D positional audio with Doppler effect
  • 🔄 Gapless looping and streaming
  • 📊 Get audio wave and/or FFT audio data in real-time (useful for visualization)
  • 🎛️ Rich effects system (reverb, echo, limiter, bassboost, etc.)
  • ⚙️ Faders for attributes (e.g. fade out for 2 seconds, then stop)
  • 🎚️ Oscillators for attributes
  • 🌊 Waveform generation and visualization
  • 🔊 Multiple voices, playing different or even the same sound multiple times
  • 🎵 Support for MP3, WAV, OGG, and FLAC
  • ⏱️ Read audio data samples from a file with a given time range
  • 🔄 Stream audio from given audio data with buffering support for PCM and Opus
  • 🌊 Generate waveforms in real-time with various types (sine, square, saw, triangle, etc.)

Documentation #

Simple Example #

void example() async {
  final soloud = SoLoud.instance;
  await soloud.init();

  final source = await soloud.loadAsset('assets/sound.mp3');
  final handle = await soloud.play(source);
  
  // Later...
  await soloud.stop(handle);
  await soloud.disposeSource(source);  
}

License #

The Dart plugin is covered by the MIT license. For information about the underlying SoLoud engine license, see the documentation.

300
likes
0
points
7.72k
downloads

Publisher

verified publishermarcobavagnoli.com

Weekly Downloads

A low-level audio plugin for Flutter, mainly meant for games and immersive apps. Based on the SoLoud (C++) audio engine.

Repository (GitHub)
View/report issues

Topics

#audio #player #games

License

unknown (license)

Dependencies

ffi, flutter, http, logging, meta, path, path_provider, plugin_platform_interface, web

More

Packages that depend on flutter_soloud