Tone.js/test/helper/ToneAudioBuffer.ts
2024-05-01 15:55:52 -04:00

9 lines
270 B
TypeScript

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/";
// }