Saves through a temporary link with the download attribute, the way every browser accepts.
download
import { downloadSaver } from '@datamoc/mwg/audio';downloadSaver(new Blob([new Uint8Array(4)], { type: 'audio/wav' }), 'tune.wav'); Copy
import { downloadSaver } from '@datamoc/mwg/audio';downloadSaver(new Blob([new Uint8Array(4)], { type: 'audio/wav' }), 'tune.wav');
Saves through a temporary link with the
downloadattribute, the way every browser accepts.