Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. MantaOSC Quark

    ... amp.kr(0.1)), 0.001, 0.2) * PinkNoise.ar, \freq.kr(100) + SinOsc.ar(4*\freq.kr, Rand(), \depth.kr(0)), \decay.kr(1)); //Line.kr(1, 0, \decay.kr * 10, doneAction:2); src = src * EnvGen.kr(Env.adsr(0.01, 1, \release.kr(0.1)), gate: \gate.kr(1 ...

  2. ProcMod Doc

    ... r(freq, 0, amp) * EnvGen.kr(Env.sine(dur, amp), doneAction: 2) * In.kr(envbus), Rand.new(-1.0, 1.0) ) ) // read off the overall env control of the ProcMod }).add; // create a new proc mod, and assign a function to it a = ProcMod.new(Env([0, ...

  3. EZSmoothSlider Quark

    ... { EZSmoothSlider (w, 392 @ 16 , " Freq " , \freq ,unitWidth: 30 ,initVal: 6000 .rand, numberWidth: 60 ,layout: \horz ) .setColors( Color .grey, Color .white) .font_( Font ( "Helvetica" , 11 )); }; ); Window .closeAll // use this to close al ...

  4. EZRoundSlider Quark

    ... o{ EZRoundSlider (w, 392 @ 16 , " Freq " , \freq ,unitWidth: 30 ,initVal: 6000 .rand, numberWidth: 60 ,layout: \horz ) .setColors( Color .grey, Color .white) .font_( Font ( "Helvetica" , 11 )); }; ); Window .closeAll // use this to close al ...

  5. EZFancySlider Doc

    ... p=0@0; 20.do{ EZFancySlider(w, 392@14," Freq ", \freq,unitWidth:30,initVal:6000.rand, numberWidth:60,layout:\horz) .setColors(Color.grey,Color.white) .font_(Font("Helvetica",11)); }; ); Window.closeAll // use this to close all the windows / ...

  6. MIDIPort Quark

    ... DIIn.connect(2, MIDIClient.sources[1]) *init { |sourceInports| var srctemp; var randsrc; // now set up MIDIIn // if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before initialization in ...

  7. XiiPitchCircle Quark

    ... edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bo ...

  8. Control-Structures Doc

    ... with stepsize two Routine { var i = 10; while { i > 0 } { i.yield; i = i - 5.0.rand } }.do { arg item; item.postln }; // 'do' applies to the Routine ⧉ ✔ NOTE: The syntax (8..20).do uses an optimization to avoid generating an array that is ...

  9. EZNumber Doc

    ... , bal = 0, amp = 0.4, gate = 1| var x; x = Mix.fill(4, { LFSaw.ar((note + { 0.1.rand2 }.dup).midicps, 0, 0.02) }); x = RLPF.ar(x, fc, rq).softclip; x = RLPF.ar(x, fc, rq, amp).softclip; x = Balance2.ar(x[0], x[1], bal); x = x * EnvGen.kr(En ...

  10. Matrix Doc

    ... ons. See Adverbs for Binary Operators . Discussion: ( var m = Matrix.with(Array.rand(9, -9, 9).clump(3)); var t = m.thresh(3); var t2 = m.thresh2(3); " original".postln; m.postmln; " thresh".postln; t.postmln; " thresh2".postln; t2.postmln; ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow