clearing out a bunch of samples
This commit is contained in:
11
src/API.ts
11
src/API.ts
@ -31,16 +31,13 @@ Array.prototype.in = function <T>(this: T[], value: T): boolean {
|
|||||||
};
|
};
|
||||||
|
|
||||||
async function loadSamples() {
|
async function loadSamples() {
|
||||||
const ds = "https://raw.githubusercontent.com/felixroos/dough-samples/main/";
|
// const ds = "https://raw.githubusercontent.com/felixroos/dough-samples/main/";
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
initAudioOnFirstClick(),
|
initAudioOnFirstClick(),
|
||||||
samples("github:Bubobubobubobubo/Topos-Samples/main"),
|
samples("github:Bubobubobubobubo/Topos-Samples/main"),
|
||||||
samples(`${ds}/tidal-drum-machines.json`),
|
samples("github:tidalcycles/Dirt-Samples/master").then(() =>
|
||||||
samples(`${ds}/piano.json`),
|
registerSynthSounds()
|
||||||
samples(`${ds}/Dirt-Samples.json`),
|
),
|
||||||
samples(`${ds}/EmuSP12.json`),
|
|
||||||
samples(`${ds}/vcsl.json`),
|
|
||||||
registerSynthSounds(),
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user