refactor: legato -> clip
This commit is contained in:
parent
5e90021698
commit
260b831815
10 changed files with 3333 additions and 3107 deletions
|
|
@ -118,7 +118,7 @@ const maxPan = noteToMidi('C8');
|
|||
const panwidth = (pan, width) => pan * width + (1 - width) / 2;
|
||||
|
||||
Pattern.prototype.piano = function () {
|
||||
return this.clip(1)
|
||||
return this.fmap((v) => ({ ...v, clip: v.clip ?? 1 })) // set clip if not already set..
|
||||
.s('piano')
|
||||
.release(0.1)
|
||||
.fmap((value) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue