add all default samples to mini repl

This commit is contained in:
Felix Roos 2022-09-16 23:24:47 +02:00
parent dd4464cb08
commit 782e8522c5

View file

@ -12,14 +12,10 @@ export const defaultSynth = new Tone.PolySynth().chain(new Tone.Gain(0.5), Tone.
}, },
}); });
samples( await fetch('https://strudel.tidalcycles.org/EmuSP12.json')
{ .then((res) => res.json())
bd: '808bd/BD0000.WAV', .then((json) => samples(json, 'https://strudel.tidalcycles.org/EmuSP12/'));
sd: ['808sd/SD0010.WAV', '808sd/SD0050.WAV', '808sd/SD0000.WAV'],
hh: ['hh27/000_hh27closedhh.wav', 'hh/000_hh3closedhh.wav'],
},
'https://raw.githubusercontent.com/tidalcycles/Dirt-Samples/master/',
);
evalScope( evalScope(
Tone, Tone,