update dough to 0.3.0 + add group, voices, glide

This commit is contained in:
Felix Roos
2026-08-26 15:23:00 +02:00
parent 58dfe9a55c
commit c5fd80902b
3 changed files with 11 additions and 7 deletions
+5 -1
View File
@@ -4,12 +4,16 @@ Copyright (C) 2022 Strudel contributors - see <https://codeberg.org/uzu/strudel/
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import { register, noteToMidi } from '@strudel/core';
import { register, noteToMidi, registerControl } from '@strudel/core';
import { Dough, doughsamples } from 'dough-synth';
import { getAudioContext, ensureMinimalOutput } from '@strudel/webaudio';
import wasm from 'dough-synth/dough.wasm?url';
import workletCode from 'dough-synth/dough.js?raw';
export const { group } = registerControl('group');
export const { voices } = registerControl('voices');
export const { glide } = registerControl('glide');
Object.assign(globalThis, { doughsamples });
let D;
+1 -1
View File
@@ -31,7 +31,7 @@
"dependencies": {
"@strudel/core": "workspace:*",
"@strudel/webaudio": "workspace:*",
"dough-synth": "0.2.8"
"dough-synth": "0.3.0"
},
"devDependencies": {
"vite": "^6.0.11"