<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Audio API filter not working in Safari"
   href="https://bugs.webkit.org/show_bug.cgi?id=143332">143332</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Web Audio API filter not working in Safari
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh Intel
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X 10.10
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Web Audio
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>isaacshinman&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>crogers&#64;google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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 = &quot;lowpass&quot;;
    soundFilter.frequency.value = 500;
    soundSource.connect(soundFilter);
    soundFilter.connect(context.destination);

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

Live project can be found [here](<a href="http://playground.eca.ed.ac.uk/~s1463054/darksound_interactive/index.html">http://playground.eca.ed.ac.uk/~s1463054/darksound_interactive/index.html</a>).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>