add Pdyn for gated modulations

This commit is contained in:
2024-01-05 14:31:50 +01:00
parent fefec58da7
commit afda9b886e
2 changed files with 11 additions and 1 deletions

10
Classes/PDyn.sc Normal file
View File

@ -0,0 +1,10 @@
Pdyn {
*new {
arg function, hash;
if (hash.isNil) { hash = 10.collect({
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".choose })
.join("").asSymbol;
}
^Pfunc({Ndef(hash, function).asMap})
}
}