fix: imports

This commit is contained in:
Felix Roos 2023-10-03 12:20:28 +02:00
parent 2bc6d08410
commit 4b64168faa
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import { drywet } from './helpers.mjs'; import { drywet } from './helpers.mjs';
import { getAudioContext } from './superdough.mjs';
// expects one of noises as type // expects one of noises as type
export function getNoiseOscillator(type = 'white', t) { export function getNoiseOscillator(type = 'white', t) {

View File

@ -1,7 +1,7 @@
import { midiToFreq, noteToMidi } from './util.mjs'; import { midiToFreq, noteToMidi } from './util.mjs';
import { registerSound, getAudioContext } from './superdough.mjs'; import { registerSound, getAudioContext } from './superdough.mjs';
import { gainNode, getEnvelope, getExpEnvelope } from './helpers.mjs'; import { gainNode, getEnvelope, getExpEnvelope } from './helpers.mjs';
import { getNoiseMix } from './noise.mjs'; import { getNoiseMix, getNoiseOscillator } from './noise.mjs';
const mod = (freq, range = 1, type = 'sine') => { const mod = (freq, range = 1, type = 'sine') => {
const ctx = getAudioContext(); const ctx = getAudioContext();