build
This commit is contained in:
parent
b8d3fe6f1a
commit
f97837d15a
10 changed files with 526 additions and 295 deletions
2
docs/dist/tonal.js
vendored
2
docs/dist/tonal.js
vendored
|
|
@ -46,7 +46,7 @@ function scaleTranspose(scale, offset, note) {
|
|||
Pattern.prototype._mapNotes = function(func) {
|
||||
return this.fmap((event) => {
|
||||
const noteEvent = toNoteEvent(event);
|
||||
return func(noteEvent);
|
||||
return {...noteEvent, ...func(noteEvent)};
|
||||
});
|
||||
};
|
||||
Pattern.prototype._transpose = function(intervalOrSemitones) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue