fix: linting errors
This commit is contained in:
parent
0f72729f0d
commit
3a69fd50bb
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ This program is free software: you can redistribute it and/or modify it under th
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as _WebMidi from 'webmidi';
|
import * as _WebMidi from 'webmidi';
|
||||||
import { Pattern, isPattern, logger } from '@strudel.cycles/core';
|
import { Pattern, isPattern, logger, ref } from '@strudel.cycles/core';
|
||||||
import { noteToMidi } from '@strudel.cycles/core';
|
import { noteToMidi } from '@strudel.cycles/core';
|
||||||
import { Note } from 'webmidi';
|
import { Note } from 'webmidi';
|
||||||
// if you use WebMidi from outside of this package, make sure to import that instance:
|
// if you use WebMidi from outside of this package, make sure to import that instance:
|
||||||
|
|
@ -73,7 +73,7 @@ function getDevice(indexOrName, devices) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return IACOutput ?? outputs[0];
|
return IACOutput ?? devices[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
Pattern.prototype.midi = function (output) {
|
Pattern.prototype.midi = function (output) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue