add all default samples to mini repl
This commit is contained in:
parent
dd4464cb08
commit
782e8522c5
1 changed files with 4 additions and 8 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue