replace relative imports with package imports

This commit is contained in:
Felix Roos 2022-03-25 22:43:55 +01:00
parent e1bb58fb06
commit 0a8397b3dc
5 changed files with 14 additions and 14 deletions

View file

@ -26,7 +26,7 @@ const {
} = Tone;
import * as tonePiano from '@tonejs/piano';
const { Piano } = tonePiano;
import { getPlayableNoteValue } from '../../packages/core/util.mjs';
import { getPlayableNoteValue } from '@strudel/core/util.mjs';
// "balanced" | "interactive" | "playback";
// Tone.setContext(new Tone.Context({ latencyHint: 'playback', lookAhead: 1 }));