build
This commit is contained in:
parent
240ebede6f
commit
22baae10dd
8 changed files with 140 additions and 60 deletions
1
docs/dist/midi.js
vendored
1
docs/dist/midi.js
vendored
|
|
@ -24,6 +24,7 @@ Pattern.prototype.midi = function(output, channel = 1) {
|
|||
return this.fmap((value) => ({
|
||||
...value,
|
||||
onTrigger: (time, event) => {
|
||||
value = value.value || value;
|
||||
if (!isNote(value)) {
|
||||
throw new Error("not a note: " + value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue