register soundfonts as sounds too
This commit is contained in:
parent
6f5d096e6d
commit
ac148b2f32
7 changed files with 421 additions and 379 deletions
|
|
@ -1,10 +1,12 @@
|
|||
import { Pattern, toMidi, valueToMidi } from '@strudel.cycles/core';
|
||||
import { registerSoundfonts } from '@strudel.cycles/soundfonts';
|
||||
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();
|
||||
registerSoundfonts();
|
||||
await Promise.all([
|
||||
samples(`./piano.json`, `./piano/`, { prebake: true }),
|
||||
// https://github.com/sgossner/VCSL/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue