fix tutorial

This commit is contained in:
Felix Roos 2022-03-26 14:52:58 +01:00
parent a9c95bbbfb
commit 93db3cd935
8 changed files with 88 additions and 9 deletions

View file

@ -1,6 +1,6 @@
import { Pattern as _Pattern, stack, Hap, reify } from '@strudel/core/strudel.mjs';
import _voicings from 'chord-voicings';
const { dictionaryVoicing, minTopNoteDiff, lefthand } = _voicings.default;
const { dictionaryVoicing, minTopNoteDiff, lefthand } = _voicings.default || _voicings; // parcel module resolution fuckup
const getVoicing = (chord, lastVoicing, range = ['F3', 'A4']) =>
dictionaryVoicing({