From 75281afe057b7c86e0063bef6a77e0ab142eb144 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 11 Aug 2023 12:20:36 +0200 Subject: [PATCH] rename: superdough.mjs > webaudio.mjs (to keep history?) --- packages/superdough/helpers.mjs | 2 +- packages/superdough/index.mjs | 2 +- packages/superdough/synth.mjs | 2 +- packages/superdough/{superdough.mjs => webaudio.mjs} | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) rename packages/superdough/{superdough.mjs => webaudio.mjs} (98%) diff --git a/packages/superdough/helpers.mjs b/packages/superdough/helpers.mjs index 7cc54c8d..108dfb02 100644 --- a/packages/superdough/helpers.mjs +++ b/packages/superdough/helpers.mjs @@ -1,4 +1,4 @@ -import { getAudioContext } from './superdough.mjs'; +import { getAudioContext } from './webaudio.mjs'; export function gainNode(value) { const node = getAudioContext().createGain(); diff --git a/packages/superdough/index.mjs b/packages/superdough/index.mjs index 9b2067e6..4c735557 100644 --- a/packages/superdough/index.mjs +++ b/packages/superdough/index.mjs @@ -4,7 +4,7 @@ Copyright (C) 2022 Strudel contributors - see . */ -export * from './superdough.mjs'; +export * from './webaudio.mjs'; export * from './sampler.mjs'; export * from './helpers.mjs'; export * from './synth.mjs'; diff --git a/packages/superdough/synth.mjs b/packages/superdough/synth.mjs index 73174f65..e873aa03 100644 --- a/packages/superdough/synth.mjs +++ b/packages/superdough/synth.mjs @@ -1,5 +1,5 @@ import { midiToFreq, noteToMidi } from './util.mjs'; -import { registerSound } from './superdough.mjs'; +import { registerSound } from './webaudio.mjs'; import { getOscillator, gainNode, getEnvelope } from './helpers.mjs'; export function registerSynthSounds() { diff --git a/packages/superdough/superdough.mjs b/packages/superdough/webaudio.mjs similarity index 98% rename from packages/superdough/superdough.mjs rename to packages/superdough/webaudio.mjs index 4bb8b9f5..2f04018e 100644 --- a/packages/superdough/superdough.mjs +++ b/packages/superdough/webaudio.mjs @@ -1,6 +1,6 @@ /* -superdough.mjs - -Copyright (C) 2022 Strudel contributors - see +webaudio.mjs - +Copyright (C) 2022 Strudel contributors - see 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 . */