How to save sound with Web Audio API and Tone.js in a browser
问题 Using the above mentioned library whats the easiest way to save tunes on a server ? I trying to think of a way to record the sounds in the browser and be able to save them to the server. And would I be able to store them in a Database ? what is the best way to do so , can anyone explain a bit ? 回答1: The easiest method is to use the MediaRecorder API to capture a MediaStream, to which your audio graph is connected to. This will get you a recording, typically in Opus (unless you want Vorbis,