I was able to put together a solution for the problem I was having... still a few bugs but in case anyone else runs into this problem. Here is the working code (with minor bugs).
Code:
$( function() {
var $volume = $( '#volume' );
var $start = $('#startbutton');
buzz.defaults.formats = [ 'ogg', 'mp3' ];
var Sound = new buzz.sound( 'audio/birthday' );
$start.click(function(){
if ( !buzz.isSupported() ) {
}else{
Sound.play().fadeIn( 5000 );
}
});
// Volume button
$volume.click( function() {
if ( $( this ).hasClass( 'all' ) ) {
Sound.mute();
$( this ).removeClass( 'all' ).addClass( 'none' );
} else if ( $( this ).hasClass( 'none' ) ) {
Sound.unmute();
$( this ).removeClass( 'none' ).addClass( 'all' );
}
return false;
});
});