context = new Tone.context ### Examples # Destination inputNodes ## gets PCM data from stream/file and returns small segments at a time context.decodeAudioData(audioData:ArrayBuffer) -> returns AudioBuffer # Source outputNodes to play audio streams/files ## creates html controls for the input passed to it. context.createMediaElementSource() -> returns <audio>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter