This example of WebAudio API may work on WebKit browsers.
Note that the specification of WebAudio is not stable, so this eample may not work even if you use the latest Chrome or Safari.