outsource piano samples

This commit is contained in:
Felix Roos
2024-03-21 07:30:21 +01:00
parent d2fc784060
commit f5c087fc2a
32 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export async function prebake() {
// => getting "window is not defined", as soon as "@strudel/soundfonts" is imported statically
// seems to be a problem with soundfont2
import('@strudel/soundfonts').then(({ registerSoundfonts }) => registerSoundfonts()),
samples(`${baseNoTrailing}/piano.json`, `${baseNoTrailing}/piano/`, { prebake: true }),
samples(`${baseNoTrailing}/piano.json`, undefined, { prebake: true }),
// https://github.com/sgossner/VCSL/
// https://api.github.com/repositories/126427031/contents/
// LICENSE: CC0 general-purpose