Compare commits

..

3 Commits

Author SHA1 Message Date
Felix Roos c5fd80902b update dough to 0.3.0 + add group, voices, glide 2026-08-26 15:23:00 +02:00
Felix Roos 58dfe9a55c update dough 2026-08-25 11:21:59 +02:00
Felix Roos 4671d343c4 update dough to fix fit 2026-08-21 14:05:35 +02:00
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/>. 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 { Dough, doughsamples } from 'dough-synth';
import { getAudioContext, ensureMinimalOutput } from '@strudel/webaudio'; import { getAudioContext, ensureMinimalOutput } from '@strudel/webaudio';
import wasm from 'dough-synth/dough.wasm?url'; import wasm from 'dough-synth/dough.wasm?url';
import workletCode from 'dough-synth/dough.js?raw'; 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 }); Object.assign(globalThis, { doughsamples });
let D; let D;
+1 -1
View File
@@ -31,7 +31,7 @@
"dependencies": { "dependencies": {
"@strudel/core": "workspace:*", "@strudel/core": "workspace:*",
"@strudel/webaudio": "workspace:*", "@strudel/webaudio": "workspace:*",
"dough-synth": "0.2.4" "dough-synth": "0.3.0"
}, },
"devDependencies": { "devDependencies": {
"vite": "^6.0.11" "vite": "^6.0.11"
+5 -5
View File
@@ -312,8 +312,8 @@ importers:
specifier: workspace:* specifier: workspace:*
version: link:../webaudio version: link:../webaudio
dough-synth: dough-synth:
specifier: 0.2.4 specifier: 0.3.0
version: 0.2.4 version: 0.3.0
devDependencies: devDependencies:
vite: vite:
specifier: ^6.0.11 specifier: ^6.0.11
@@ -4072,8 +4072,8 @@ packages:
resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==} resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
engines: {node: '>=12'} engines: {node: '>=12'}
dough-synth@0.2.4: dough-synth@0.3.0:
resolution: {integrity: sha512-qMnMKVj1B2ivUgobNCwqJqNzZHOMN+5339OmCOk07zIDEK7iCYdufa+ZDE2BEgmKrWDyhGS7oTNFjHtTwzEv9w==} resolution: {integrity: sha512-23mwuF0QZOGngsiB+H1EW9ZOV2kciqHBJpi2kjZoWYOATi2v43trpai2UoY6vtWUR6raeAKYmazm4+Z5Sh8eUA==}
hasBin: true hasBin: true
dset@3.1.4: dset@3.1.4:
@@ -11794,7 +11794,7 @@ snapshots:
dotenv@16.4.7: {} dotenv@16.4.7: {}
dough-synth@0.2.4: {} dough-synth@0.3.0: {}
dset@3.1.4: {} dset@3.1.4: {}