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