replace relative imports with package imports
This commit is contained in:
parent
e1bb58fb06
commit
0a8397b3dc
5 changed files with 14 additions and 14 deletions
|
|
@ -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 }));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue