@azgaar/tone
Version:
A fork of Web Audio framework for making interactive music in the browser.
10 lines • 306 B
JavaScript
import { ToneAudioBuffer } from "Tone/core/context/ToneAudioBuffer";
// point to the relative path of the audio files
// @ts-ignore
if (window.__karma__) {
ToneAudioBuffer.baseUrl = "/base/test/";
}
else {
ToneAudioBuffer.baseUrl = "../test/";
}
//# sourceMappingURL=ToneAudioBuffer.js.map