You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bmSClib/NodeDictionary/makeBufferProcessingNdef.sc

19 lines
389 B

+ NodeDictionary {
makeBufferProcessingNdef {
| name |
var internalName = if(name.isNil, {this[\name]}, {name});
Ndef(internalName, {
var signal, gate;
gate = \gate.tr(0);
signal = SynthDef.wrap(
func: this[\func],
);
this.processSig(signal, gate);
});
}
}