diff --git a/packages/osc/osc.mjs b/packages/osc/osc.mjs index 9f4a3610a..330d1ec54 100644 --- a/packages/osc/osc.mjs +++ b/packages/osc/osc.mjs @@ -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(); +};