Closed gregzanch closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/gregzanch/cram/Ai267iej5mFXH7gwxAYRFVieivHz
✅ Preview: https://cram-git-dev-gz-gregzanch.vercel.app
fix for #58
two things had to be changed:
AudioBuffer
did not have acopyToChannel
method, so the returned buffer inAudioEngine.createBufferSource
had to be filled manually like so:OfflineAudioContext.startRendering()
does not return the renderedAudioBuffer
, instead it can be pulled out of the event callbackOfflineAudioContext.oncomplete
like so:see
AudioEngine.renderContextAsync
for implementation.