Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*** DDWSnippets config ***/
- DDWSnippets.autoEnable = nil;
- DDWSnippets.verbose = true;
- DDWSnippets.hotkeyCode = 50; // `
- DDWSnippets.hotkeyMods = 262144; // control key
- DDWSnippets.put("SynthDef",
- "SynthDef(\\##name##, { arg outbus = 0;
- var sig;
- sig = ;
- Out.ar(outbus, sig)
- }).add;"
- );
- DDWSnippets.put("CtkSynthDef",
- "CtkSynthDef(\\##name##, { arg outbus = 0;
- var sig;
- sig = ;
- Out.ar(outbus, sig)
- });"
- );
- DDWSnippets.put("do(_)",
- ".do(_.##method##);"
- );
- DDWSnippets.put("collect(_)",
- ".collect(_.##method##);"
- );
- DDWSnippets.put("do({ |elem| })",
- ".do({ |elem| elem.##method##});"
- );
- DDWSnippets.put("collect({ |elem| })",
- ".collect({ |elem, i| elem.##method##});"
- );
- DDWSnippets.put("do({ |elem, i| })",
- ".do({ |elem| elem.##method##});"
- );
- DDWSnippets.put("collect({ |elem, i| })",
- ".collect({ |elem, i| elem.##method##});"
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement