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.

Revisions

  1. lvm created this gist Feb 1, 2019.
    23 changes: 23 additions & 0 deletions SynthDefExtras.sc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    + 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)
    ;
    }

    }