build
This commit is contained in:
parent
91c0a46ba9
commit
15e49952f9
12 changed files with 253 additions and 44 deletions
2
docs/dist/voicings.js
vendored
2
docs/dist/voicings.js
vendored
|
|
@ -26,7 +26,7 @@ Pattern.prototype.voicings = function(range) {
|
|||
};
|
||||
Pattern.prototype.rootNotes = function(octave = 2) {
|
||||
return this.fmap((value) => {
|
||||
const [_, root] = value.match(/^([a-gA-G])[b#]?.*$/);
|
||||
const [_, root] = value.match(/^([a-gA-G][b#]?).*$/);
|
||||
return root + octave;
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue