Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Oct 3, 2023
1 parent 2bc6d08 commit 4b64168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/superdough/noise.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { drywet } from './helpers.mjs';
import { getAudioContext } from './superdough.mjs';

// expects one of noises as type
export function getNoiseOscillator(type = 'white', t) {
Expand Down
2 changes: 1 addition & 1 deletion packages/superdough/synth.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { midiToFreq, noteToMidi } from './util.mjs';
import { registerSound, getAudioContext } from './superdough.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 ctx = getAudioContext();
Expand Down

0 comments on commit 4b64168

Please sign in to comment.