OfflineAudioContext and FFT in Safari
问题 I am using OfflineAudioContext to do waveform analysis in the background. All works fine in Chrome, Firefox and Opera but in Safari I get a very dodgy behaviour. The waveform should be composed by many samples (329), but in Safari the samples are only ~38. window.AudioContext = window.AudioContext || window.webkitAudioContext; window.OfflineAudioContext = window.OfflineAudioContext || window.webkitOfflineAudioContext; const sharedAudioContext = new AudioContext(); const audioURL = 'https://s3