Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ct.startupFiles ++ [ currentPath ]; } { ULib.openPanel( { |paths| paths = paths.select({ |item| object.startupFiles.includesEqual( item ).not; }); object.startupFiles = object.startupFiles ++ paths; }, multipleSelection: true); }; }); this. ...

  2. AbstractSPlayFileView Quark

    ... this.prReadFile([View.currentDrag]); }); }, { this.prReadFile(View.currentDrag.select{|path| SoundFile(path).info.notNil}); }); }; readFileButton.canReceiveDragHandler= waveView.canReceiveDragHandler; readFileButton.receiveDragHandler= wav ...

  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 81 82 83 84 85 86 87 88 89 90 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow