Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. AmbisonicsSC2 Plugin

    ... , // X azim.sin * elevcos * sinInt, // Y pointsource.phi.sin * sinInt // Z ] //.select({arg chan, i; i <= pointsource.dims}); // maybe more efficient: copyRange is a primitive, select uses a loop .copyRange( 0, pointsource.dims ); // Scale ...

  2. PathActionQMenu Doc

    ... f","rtfd","sc","scd","html","HTML","schelp"] . openAction a function run on the selected path. Typically open a file. {|path,action,what,val| doSomething()} for action,what,val, see Menu You can set it on the instance, or you can set a defa ...

  3. Collection-extensions Quark

    ... ncements + SequenceableCollection { // collectIfNotNil // basically collect and select in one loop collectIfNotNil { |func| var result = this.species.new(this.size); this.do { |item, i| var mapped = func.value(item, i); if(mapped.notNil) { ...

  4. USessionGUI Quark

    ... ; var <session; var <sessionView, bounds; var <sessionController, objGuis; var <selectedObject; var compTop = 0; *new { |session, bounds| ^super.new.init( session) .addToAll .makeGui(bounds) } init { |inSession| session = inSession; session ...

  5. extSimpleMIDIFile-patterns Quark

    ... p, 1 ), \sustain, Pseq( [0] ++ sustainEvents[6], 1 ) ) } { nil } }!this.tracks).select({ |item| item.notNil }) ); } { ^nil } } play { |clock, protoEvent, quant, inst, amp = 0.2| ^this.p( inst, amp ).play( clock, protoEvent, quant ); } *from ...

  6. Block Quark

    ... e=0 -> [-2pi, 2pi], mul=0.4 -> [0,1], lag = 0.01 => [0,0.1]; var chord; chord = Select.kr(key, [ ([60, 64, 67]+0).midicps*oct, ([60, 64, 67]+1).midicps*oct, ([60, 64, 67]+2).midicps*oct, ([60, 64, 67]+3).midicps*oct, ([60, 64, 67]+4).midicp ...

  7. proto-cmds Quark

    ... = { |parms| var synthDesc; // ~setParms.(parms); ~nodes = ~iterator.activeCmds.select({ |cmd| cmd.tryPerform(\isSynth) ? false }); if(~nodes.size > 0) { ~nodes.do({ |node| synthDesc = node.synthDesc; ~args = ~getArgs.(parms); if(node.laten ...

  8. CVHelperViews Quark

    ... ct({ |pair| if(pair[0] != pair[1], { pair[0].asInteger }, { nil }) }); if(margs.select({ |i| i.notNil }).size > 0, { widget.midiConnect(uid: margs[0], chan: margs[1], num: margs[2], slot: thisSlot); }, { widget.midiConnect(slot: thisSlot); ...

  9. startup14-perc Quark

    ... Pattern = #{ ~compactPatterns.if({ Pseq(((~amps[0] == 0).if({ #[0] })) ++ ~amps.select(_ > 0), 1); }, { Pseq(~amps, 1) }); }; ~makeDefPattern = #{ |repeats = 1| var outArray = Array.new(~amps.size), array = ~def.asArray; ~amps.do({ |amp, i| ...

  10. Introduction to miSCellaneous Quark

    ... le: after a brief history and a grouping of content the tour will guide through selected topics in an order which, hopefully, will outline the central ideas. It will start with VarGui, PLx, then go over PbindFx, EventShortcuts to live codin ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow