sounds list can now filter out defaults

This commit is contained in:
Felix Roos 2023-03-08 00:33:21 +01:00
parent 35ef26c013
commit cee08ea67d
7 changed files with 76 additions and 22 deletions

View file

@ -4,17 +4,17 @@ import { registerSynthSounds, samples } from '@strudel.cycles/webaudio';
export async function prebake() {
// https://archive.org/details/SalamanderGrandPianoV3
// License: CC-by http://creativecommons.org/licenses/by/3.0/ Author: Alexander Holm
registerSynthSounds();
await Promise.all([
samples(`./piano.json`, `./piano/`),
samples(`./piano.json`, `./piano/`, { prebake: true }),
// https://github.com/sgossner/VCSL/
// https://api.github.com/repositories/126427031/contents/
// LICENSE: CC0 general-purpose
samples(`./vcsl.json`, 'github:sgossner/VCSL/master/'),
samples(`./tidal-drum-machines.json`, 'github:ritchse/tidal-drum-machines/main/machines/'),
samples(`./EmuSP12.json`, `./EmuSP12/`),
samples(`./vcsl.json`, 'github:sgossner/VCSL/master/', { prebake: true }),
samples(`./tidal-drum-machines.json`, 'github:ritchse/tidal-drum-machines/main/machines/', { prebake: true }),
samples(`./EmuSP12.json`, `./EmuSP12/`, { prebake: true }),
// samples('github:tidalcycles/Dirt-Samples/master'),
]);
registerSynthSounds();
}
const maxPan = toMidi('C8');