fix: chord typo + export only voicings
This commit is contained in:
parent
08f94d2122
commit
bcf800482b
2 changed files with 9 additions and 269 deletions
|
|
@ -7,6 +7,7 @@ This program is free software: you can redistribute it and/or modify it under th
|
|||
import { stack, register } from '@strudel.cycles/core';
|
||||
import { renderVoicing } from './tonleiter.mjs';
|
||||
import _voicings from 'chord-voicings';
|
||||
import { complex, simple } from './ireal.mjs';
|
||||
const { dictionaryVoicing, minTopNoteDiff } = _voicings.default || _voicings; // parcel module resolution fuckup
|
||||
|
||||
const lefthand = {
|
||||
|
|
@ -206,3 +207,6 @@ export const voicing = register('voicing', function (pat) {
|
|||
})
|
||||
.outerJoin();
|
||||
});
|
||||
|
||||
registerVoicings('ireal', simple);
|
||||
registerVoicings('ireal-ext', complex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue