AudioBrowser icon indicating copy to clipboard operation
AudioBrowser copied to clipboard

Use OfflineAudioContext when decoding audio files

Open kg opened this issue 2 years ago • 1 comments

AudioContext may require autoplay permissions to work and will open the user's audio output device to play samples + kick off a mixer, while OfflineAudioContext won't have those problems

kg avatar Nov 09 '22 19:11 kg

Note that since sampling rate of the offline context is explicit, it may not match the sampling rate that is automatically selected for your playback AudioContext later.

kg avatar Nov 09 '22 19:11 kg