Questions tagged [buzz.js]

A Javascript HTML5 Audio library which degrades silently on browsers that do not support HTML5. May be forked on github. Do not use the [buzz] tag for questions regarding this library.

Buzz is a small but powerful Javascript library that allows you to easily take advantage of the new HTML5 audio element. It degrades silently on non-modern browsers. It is tagged to prevent confusion with the framework.

Download from here

From github

Example :-

var mySound = new buzz.sound( "/sounds/myfile", {
    formats: [ "ogg", "mp3", "acc" ]
});

mySound.play()
    .fadeIn()
    .loop()
    .bind( "timeupdate", function() {
       var timer = buzz.toTimer( this.getTime() );
       document.getElementById( "timer" ).innerHTML = timer;
    });
14 questions
7
votes
4 answers

Is there any possibility to control HTML5 audio volume on IOS?

I use the html5 audio library Buzz to add sounds to a browser game. There is a toggle button to mute and unmute sound, which works good on desktop and Android devices. Unfortunately it seems like the audio tag is quite limited on IOS, so that I…
josi
  • 499
  • 3
  • 7
  • 13
4
votes
1 answer

HTML 5 Audio - AnalyserNode.getByteFrequencyData() Returns Undefined

This appears to be a common question - Javascript Web Audio API AnalyserNode Not Working - But I can't be sure if I've found an edge case with my implementation. I create an audio source using createMediaElementSource(), but instead of using an…
Charlie
  • 4,197
  • 5
  • 42
  • 59
3
votes
3 answers

Web page never stops loading

I'm currently working on a student project and I encounter an issue with my code. We built an e-doc which mixes video, images, sounds and texts datas about people working during the night. It's made of HTML, Javascript and a bit of PHP to access a…
Julien Tanay
  • 1,214
  • 2
  • 14
  • 20
2
votes
2 answers

Loop binding to find number of loops

I could not find this in the buzz.js documentation but is there any bindings for the loop event. Something like soundObject.bind('looping', function(e){ }); I am looking to see how many times the sound object has looped, if anyone with knowledge…
Warz
  • 7,386
  • 14
  • 68
  • 120
2
votes
1 answer

Play one sound after another with buzz.js

I am trying to as the title reads play buzz.js sound objects one after another. I have tried using the events - ended callback but this becomes rigorous with a large set of files. I thought i could create my list of sounds, iterate through them and…
Warz
  • 7,386
  • 14
  • 68
  • 120
1
vote
1 answer

jQuery audio loop with excess pause (Buzz plugin)

I use Buzz plugin for plaing audio on my page. I used loop function and add some samples for it Buzz audio plugin. Every thing works fine: loop work and sample sounds, but I have a little pause beetwen repeating each sounds (samples was cuted…
stress_tn
  • 174
  • 3
  • 12
1
vote
1 answer

buzz.all().mute() does not work in iframe

I am using Buzz library for my audio within an HTML5 game. To cross menus without the music stopping, I load each menu in an iframe and the music is launched from the main page: