Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2379) Code (372) Doc (742) Help (281) Quark (974) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. UVoicer Quark

    ... put( \end, { if( next.isKindOf( UPattern ) or: { next.units.every({ |unit| unit.synths.size == 0 }) } ) { events[ note ].remove( next ); ctrl.remove; }; }); ^next; } startEvent { |note = 69, value = 0.5| events[ note ] = events[ note ].add( ...

  2. Convolution2 Doc

    ... ); 3.do({ |it| b.set(400*it+100, 1) }); 20.do({ |it| d.set(40*it+20, 1) }); ) ( SynthDef("conv-test", { |out, kernel, trig = 0| var input; input = Impulse.ar(1); // must have power of two framesize Out.ar(out, Convolution2.ar(input, kernel, ...

  3. XiiPlayer Quark

    ... undfile, 0, chNum); // play it task = Task({ inf.do({ if(chNum == 1, { player = Synth(\xiiPlayer1, [\outbus, outbus, \bufnum, buffer.bufnum, \vol, volume], group, \addToHead); }, { player = Synth(\xiiPlayer2, [\outbus, outbus, \bufnum, buff ...

  4. When The Saints Come Crawling Out by walters (walters) Code

    ... utes = 30; var verb, verbBus, master, masterBus, numP, pairs, maxlevel; SynthDef(\percolator, { |out = 0, gate = 1, decayCurve = -8, pan = 0, amp = 0.5, noiseDecay = 0.25, filterType = 0, filterFreq = 1000, filterRQ = 0.05, im ...

  5. example fft sc->processing by fredrik-olofsson (Fredrik Olofsson) Code

    ... s.options.memSize= 8192*2; s.waitForBoot{ c= Bus.control(s, buffersize2); SynthDef(\avTrk, {|in= 0, t_trig= 0, amp= 1, bus| var z= Mix(In.ar(in, 2)*amp); var chain= FFT(LocalBuf(buffersize), z); Array.fill(buffersize2, {|i| ...

  6. GMGridButton Doc

    ... lected_(false) .unselectedRatio_(0.9) .allowRetrigger_(true) .action_({ |index| Synth(\GMPercSine, [\freq, allFreqs[index]]); }); SynthDef(\GMPercSine, { |amp = 0.25, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr( E ...

  7. NodeTreeView Doc

    ... assigned to variable s: s.boot; // Play a repeating pattern that triggers a new synth every 0.4 seconds: x = Pn((dur: 0.4, midinote: 69, amp: 0.1)).play; // Create a NodeTreeView instance assigned to variable a: a = NodeTreeView(s) // Start ...

  8. Vowel-example Quark

    ... q.freqs = { |i| 50 * 1.5.pow(i) }!9; q.dt = 1.5 * 2.sqrt; q.numHarms = 60; ) ( SynthDef ( \impulser , { |out = 0, pan = 0, dur = 35| var amps = \amps .ir(1!q.numHarms); var signal = Klank .ar( `[q.freqs,amps,amps], Decay .ar( Impulse .ar( ...

  9. NamedControl Doc

    ... Comparison with direct use of Controls Using dictionary with functions to build SynthDefs Classes | UGens > Synth control'>Synth control NamedControl : Object Named reference to a control Source: GraphBuilder.sc See also: ControlName , Cont ...

  10. SampleGui Quark

    ... g layout; //nameG = CXLabel(layout,model.name); / *ActionButton(layout,">",{ if(Synth.isPlaying,{ Synth.stop },{ { Osc.ar(model.wavetable,440,mul: 0.1) }.scope }) });* / ActionButton(layout,"saveAs",{this.saveAs}).background_(Color.white); ...

prev 171 172 173 174 175 176 177 178 179 180 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow