use nanostore for soundmap
+ rename tab samples to sounds + listed sounds are now reactive
This commit is contained in:
parent
6059c69995
commit
b08a0b8102
8 changed files with 34 additions and 31 deletions
|
|
@ -1,11 +1,10 @@
|
|||
import { Pattern, toMidi, valueToMidi } from '@strudel.cycles/core';
|
||||
import { loadSynthSounds, samples } from '@strudel.cycles/webaudio';
|
||||
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
|
||||
loadSynthSounds();
|
||||
return await Promise.all([
|
||||
await Promise.all([
|
||||
samples(`./piano.json`, `./piano/`),
|
||||
// https://github.com/sgossner/VCSL/
|
||||
// https://api.github.com/repositories/126427031/contents/
|
||||
|
|
@ -15,6 +14,7 @@ export async function prebake() {
|
|||
samples(`./EmuSP12.json`, `./EmuSP12/`),
|
||||
// samples('github:tidalcycles/Dirt-Samples/master'),
|
||||
]);
|
||||
registerSynthSounds();
|
||||
}
|
||||
|
||||
const maxPan = toMidi('C8');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue