Skip to content

Instantly share code, notes, and snippets.

@lvm
Created February 1, 2019 17:03
Show Gist options
  • Save lvm/79ccebf1c40d305a24cebe8f32c6f5d4 to your computer and use it in GitHub Desktop.
Save lvm/79ccebf1c40d305a24cebe8f32c6f5d4 to your computer and use it in GitHub Desktop.
synthdef general helpers
+ Symbol {
args {
^SynthDescLib.global.at(this);
}
function {
^SynthDescLib.global.at(this).def.func;
}
}
+ SynthDescLib {
listThemAll {
^SynthDescLib.global.synthDescs.keys
.reject{ |synth| synth.asString.beginsWith("system_").or(synth.asString.beginsWith("dirt_")) }
.asList
.collect(_.asSymbol)
;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment