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"
+5 -5
View File
@@ -312,8 +312,8 @@ importers:
specifier: workspace:*
version: link:../webaudio
dough-synth:
specifier: 0.2.8
version: 0.2.8
specifier: 0.3.0
version: 0.3.0
devDependencies:
vite:
specifier: ^6.0.11
@@ -4072,8 +4072,8 @@ packages:
resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
engines: {node: '>=12'}
dough-synth@0.2.8:
resolution: {integrity: sha512-Z5ibipaKr1cEkz95uXO89U2nBV+ytnm/9GR558YjPxS8QqtG/eTT239Bv1YoVg1nMH5a5dVh738sXFQ0BdWfvQ==}
dough-synth@0.3.0:
resolution: {integrity: sha512-23mwuF0QZOGngsiB+H1EW9ZOV2kciqHBJpi2kjZoWYOATi2v43trpai2UoY6vtWUR6raeAKYmazm4+Z5Sh8eUA==}
hasBin: true
dset@3.1.4:
@@ -11794,7 +11794,7 @@ snapshots:
dotenv@16.4.7: {}
dough-synth@0.2.8: {}
dough-synth@0.3.0: {}
dset@3.1.4: {}