remove soundfonts from web package for now

This commit is contained in:
Felix Roos 2023-05-10 12:06:16 +02:00
parent 6089849d35
commit e2bfaa6233
2 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@strudel/web", "name": "@strudel/web",
"version": "0.8.0", "version": "0.8.1",
"description": "Easy to setup, opiniated bundle of Strudel for the browser.", "description": "Easy to setup, opiniated bundle of Strudel for the browser.",
"main": "web.mjs", "main": "web.mjs",
"publishConfig": { "publishConfig": {
@ -35,7 +35,6 @@
"dependencies": { "dependencies": {
"@strudel.cycles/core": "workspace:*", "@strudel.cycles/core": "workspace:*",
"@strudel.cycles/webaudio": "workspace:*", "@strudel.cycles/webaudio": "workspace:*",
"@strudel.cycles/soundfonts": "workspace:*",
"@strudel.cycles/mini": "workspace:*", "@strudel.cycles/mini": "workspace:*",
"@strudel.cycles/tonal": "workspace:*", "@strudel.cycles/tonal": "workspace:*",
"@strudel.cycles/transpiler": "workspace:*" "@strudel.cycles/transpiler": "workspace:*"

View File

@ -1,13 +1,13 @@
export * from '@strudel.cycles/core'; export * from '@strudel.cycles/core';
export * from '@strudel.cycles/webaudio'; export * from '@strudel.cycles/webaudio';
export * from '@strudel.cycles/soundfonts'; //export * from '@strudel.cycles/soundfonts';
export * from '@strudel.cycles/transpiler'; export * from '@strudel.cycles/transpiler';
export * from '@strudel.cycles/mini'; export * from '@strudel.cycles/mini';
export * from '@strudel.cycles/tonal'; export * from '@strudel.cycles/tonal';
export * from '@strudel.cycles/webaudio'; export * from '@strudel.cycles/webaudio';
import { Pattern, evalScope, controls } from '@strudel.cycles/core'; import { Pattern, evalScope, controls } from '@strudel.cycles/core';
import { initAudioOnFirstClick, registerSynthSounds, webaudioScheduler } from '@strudel.cycles/webaudio'; import { initAudioOnFirstClick, registerSynthSounds, webaudioScheduler } from '@strudel.cycles/webaudio';
import { registerSoundfonts } from '@strudel.cycles/soundfonts'; // import { registerSoundfonts } from '@strudel.cycles/soundfonts';
import { evaluate as _evaluate } from '@strudel.cycles/transpiler'; import { evaluate as _evaluate } from '@strudel.cycles/transpiler';
import { miniAllStrings } from '@strudel.cycles/mini'; import { miniAllStrings } from '@strudel.cycles/mini';
@ -22,7 +22,7 @@ export async function defaultPrebake() {
import('@strudel.cycles/webaudio'), import('@strudel.cycles/webaudio'),
{ hush, evaluate }, { hush, evaluate },
); );
await Promise.all([loadModules, registerSynthSounds(), registerSoundfonts()]); await Promise.all([loadModules, registerSynthSounds()/* , registerSoundfonts() */]);
} }
// when this function finishes, everything is initialized // when this function finishes, everything is initialized