NEW223668
audioBuffer.getChannelData(x) keep returning the same values irrespective of gain value
https://bugs.webkit.org/show_bug.cgi?id=223668
Summary audioBuffer.getChannelData(x) keep returning the same values irrespective of ...
Khushpreet
Reported 2021-03-23 19:10:56 PDT
Created attachment 424091 [details] Audio graph getChannelData() keep returning the same value in 'audioProcessingEvent' irrespective of the gain value in the Safari browser. Basically, the audio representation in the audio level doesn't change if I change the volume. (please see the audio graph attached here). Code works perfectly on Chrome, Firefox in Windows, and also on Chrome in macOS. The issue occurs only in Safari (tested on version 11 and above) Returned Audio data is 0 when the gain value is 0, but the non-zero gain value doesn't make any difference for the audio data output.
Attachments
Audio graph (52.18 KB, image/png)
2021-03-23 19:10 PDT, Khushpreet
no flags
Chris Dumez
Comment 1 2021-03-23 19:53:11 PDT
Do you have a reproduction case? It would help a lot. Also, did you try in Safari Technology Preview? We made a lot of webaudio improvements that have not shipped anywhere but Safari technology preview yet.
Radar WebKit Bug Importer
Comment 2 2021-03-30 19:11:12 PDT
Note You need to log in before you can comment on or make changes to this bug.