/tonejs-conservative-build

the conservative tonejs bundle, for personal usage

conservative-tonejs

Please go to official tonejs repository if you want to see the document of Tone.js

This repository is a fork of Yotam Mann's Tone.js, which is mainly for personal usage.

Thing that change

Remove singleton of Transport, Destination, Master, Listener, Draw and context

These singletons call getContext() when page is initializing. Therefore, the error from getContext will not be able to catch and such will caused whole webpage broken.

Add polyfill for AudioParam.cancelAndHoldAtTime

Add polyfill for constant-source-node

Add polyfill for promise OfflineContext.startRendering

Stop using es2019 module of 'standardized-audio-context', switch to es5 bundle instead

Add polyfill copyToChannel and copyFromChannel for AudioBuffer

enable createScriptProcessor

make Tone.Param._param.getValueAtTime bind to Tone.Param's getValueAtTime

log

2020.11.9

merge upstream dev branch

2020 11.23

check is stdAudioWorkletNode support or not, if it is not support, then use the origional AudioWorkletNode

2020 11.28

Add polyfill StereoPannerNode, comment out set panner channelCount in CrossFade and Panner, because it will cause safari go slient when using stereoPannerNode polyfill

2021 03.22

If the useragent is Safari, then use original offline context instead of stdOfflineCtx, otherwise, there will be `Attempted to assign to readonly property.` Error throw fromt ToneConstantSource constructor, I find this bug in Safari@14.0.3, macOS Mojave