mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-13 22:58:34 +00:00
add all default samples to mini repl
This commit is contained in:
parent
dd4464cb08
commit
782e8522c5
@ -12,14 +12,10 @@ export const defaultSynth = new Tone.PolySynth().chain(new Tone.Gain(0.5), Tone.
|
||||
},
|
||||
});
|
||||
|
||||
samples(
|
||||
{
|
||||
bd: '808bd/BD0000.WAV',
|
||||
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/',
|
||||
);
|
||||
await fetch('https://strudel.tidalcycles.org/EmuSP12.json')
|
||||
.then((res) => res.json())
|
||||
.then((json) => samples(json, 'https://strudel.tidalcycles.org/EmuSP12/'));
|
||||
|
||||
|
||||
evalScope(
|
||||
Tone,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user