fix: add empty string as major alias
This commit is contained in:
parent
b1a4788442
commit
5f57951e3d
1 changed files with 4 additions and 2 deletions
|
|
@ -208,5 +208,7 @@ export const voicing = register('voicing', function (pat) {
|
||||||
.outerJoin();
|
.outerJoin();
|
||||||
});
|
});
|
||||||
|
|
||||||
registerVoicings('ireal', simple);
|
const withEmptyAsMajor = (set) => ({ ...set, '': set['^'] });
|
||||||
registerVoicings('ireal-ext', complex);
|
|
||||||
|
registerVoicings('ireal', withEmptyAsMajor(simple));
|
||||||
|
registerVoicings('ireal-ext', withEmptyAsMajor(complex));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue