move supradough to separate package

This commit is contained in:
Felix Roos 2025-06-06 16:17:05 +02:00
parent ccc90d547c
commit 43c05cb504
No known key found for this signature in database
15 changed files with 102 additions and 33 deletions

View file

@ -12,7 +12,7 @@ import {
} from './helpers.mjs';
import { getNoiseMix, getNoiseOscillator } from './noise.mjs';
export const getFrequencyFromValue = (value) => {
const getFrequencyFromValue = (value) => {
let { note, freq } = value;
note = note || 36;
if (typeof note === 'string') {
@ -25,7 +25,7 @@ export const getFrequencyFromValue = (value) => {
return Number(freq);
};
export function destroyAudioWorkletNode(node) {
function destroyAudioWorkletNode(node) {
if (node == null) {
return;
}