[Webkit-unassigned] [Bug 143332] New: Web Audio API filter not working in Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 2 03:30:37 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143332

            Bug ID: 143332
           Summary: Web Audio API filter not working in Safari
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh Intel
                OS: Mac OS X 10.10
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: isaacshinman at gmail.com
                CC: crogers at google.com

I am in the process of developing an HTML5 canvas interactive piece that uses Createjs and the Web Audio API. I've managed to get audio working in Chrome/Firefox/Safari despite the deprecation of webkitAudioContext by Chrome and FF but not Safari. However, filters for some reason are not working in Safari, but sound still plays. Filters DO work in Chrome/FF.

I have my filters set up like this:

    var sound = new Audio();
    sound.src = './sounds/sound.mp3';
    sound.autoplay = false;
    sound.loop = true;
    soundSource = context.createMediaElementSource(sound); 
    var soundFilter = context.createBiquadFilter();
    soundFilter.type = "lowpass";
    soundFilter.frequency.value = 500;
    soundSource.connect(soundFilter);
    soundFilter.connect(context.destination);

I found [this](http://webaudioapi.com/samples/filter/) example of a lowpass which works in Safari, but I've no idea. I have a hunch this has to do with "createMediaElementSource". Any help would be appreciated!

Live project can be found [here](http://playground.eca.ed.ac.uk/~s1463054/darksound_interactive/index.html).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150402/e3c1c4f2/attachment.html>


More information about the webkit-unassigned mailing list