mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-27 23:38:49 -04:00
add .superdirt
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import OSC from './osc.js';
|
||||
import { Pattern } from '@strudel.cycles/core/strudel.mjs';
|
||||
import { dirtify } from '@strudel.cycles/core/util.mjs';
|
||||
|
||||
const comm = new OSC();
|
||||
comm.open();
|
||||
@@ -21,3 +22,7 @@ Pattern.prototype.osc = function () {
|
||||
return event.setContext({ ...event.context, onTrigger });
|
||||
});
|
||||
};
|
||||
|
||||
Pattern.prototype.superdirt = function () {
|
||||
return this.withValue(dirtify).osc();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user