howler 1.0.2 copy "howler: ^1.0.2" to clipboard
howler: ^1.0.2 copied to clipboard

outdated

Audio library for the modern web.

example/howler_example.dart

import 'package:howler/howler.dart';

main() {

  var howl = new Howl(
      src: ['audio/track.mp3','audio/track.wav'], // source in MP3 and WAV fallback
      loop: true,
      volume: 0.60 // Play with 60% of original volume.
  ) ;

  howl.play(); // Play sound.
  howl.fade(0.0, 0.60, 10000) ; // Make a fade, from volume 0% to 60% in 10s

}
8
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Audio library for the modern web.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

swiss_knife

More

Packages that depend on howler