Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. ToolBar Doc

    ... Action("play") .icon_(~startIcon) .action_({ if (~synth.isNil) { ~synth = { |f| SinOsc.ar(f) * 0.1 }.play(args: [\f, ~freq]); ~synth.onFree { ~synth = nil }; ~play.icon = ~stopIcon; } { ~synth.free; ~play.icon = ~startIcon; } }); ~toolBar = ...

  2. MultiThreading Quark

    ... .reboot; ) s.plotTree; ~num = 1000; ~num = 1; ( SynthDef(\testSine, { var sig = SinOsc.ar(\freq.kr(440) + \fm.ar(0).linlin(-1, 1, \low.kr(-100), \hi.kr(100))); Out.ar(\outFm.ir(0), sig); //fm output Out.ar(\out.ir(0), sig.dup * \scale.kr(1) ...

  3. ListView Doc

    ... xample ( w = Window.new.front; v = ListView(w, Rect(10, 10, 120, 70)) .items_(["SinOsc", "Saw", "LFSaw", "WhiteNoise", "PinkNoise", "BrownNoise", "Osc"]) .background_(Color.clear) .hiliteColor_(Color.green(alpha: 0.6)) .action_({ |sbs| [sbs ...

  4. HoaNFDist Doc

    ... r gain = -12; var sig; var foa; sig = Saw.ar(freq, gain.dbamp); // saw // sig = SinOsc.ar(freq, mul: gain.dbamp); // sine // FOA encoding, refRadius = inf foa = FoaProximity.ar( // FOA radial encoding FoaPanB.ar( // FOA angular encoding HPF ...

  5. Hello World, I Am Lonely Too by schemawound (Schemawound) Code

    ... rray.fill(numOfHarmonics, {arg i; Rand.new(0.0, maxRelease)}); var sines = (SinOsc.ar(freq) * EnvGen.ar(Env.dadsr(Rand(maxDelay), Rand(maxAttack), Rand(maxDecay), Rand(maxHold), maxRelease), gate, doneAction:2)) / numOfHarmonics; ha ...

  6. that-intro Quark

    ... postln }); // use the function to set an Ndef Ndef(\inputFreq, 440); Ndef(\x, { SinOsc.ar(Ndef.kr(\inputFreq)) * 0.1 }).play; ~that_freqAnalyserDef.(\freqAnalysis, { Ndef.ar(\input) }, { |event| Ndef(\inputFreq, event[\freq]) }); // trigger ...

  7. MxDocument Doc

    ... on the grid and set them en masse ~this.mx.units.whereIsA(NDef).set(\source_,{ SinOsc.ar([400, 408] * 0.8, 0, 0.2) }); // create some neighbors ~this.mx.insertAt(~this.point + 0@1, Ndef('neighborhor')); ⧉ ✔ These examples arent so exciting ...

  8. GrainExplorer Doc

    ... , freq = 67, sustain = 0.5, attack = 0.01, amp=0.1, startFreq = 1000| var osc = SinOsc.ar(XLine.kr(startFreq, freq, attack), 0.5pi); var env = EnvGen.kr(Env.perc(attack, sustain), doneAction: 2) * amp; Out.ar(out, osc * env!2); }).metadata_ ...

  9. Pnaryop Doc

    ... n.kr(Env.perc(0.01, sustain, 0.2, amp), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pnaryop(\wrap, Pseries(0, 1, 12), [3, 7]).asStream; { a.do { |val| Synth(\help_sinegrain, [\freq, (val + 72) .mi ...

  10. spawnEvents Quark

    ... pulse.kr(0),attackTime,susLevel,releaseTime,doneAction: 2) },nil,\audioEvent); [SinOsc,LFCub,LFPar,LFTri,Impulse,LFSaw].do({ arg ugen; Instr([\spawnEvents,ugen.asSymbol,\EnvGen],{ arg freq=1000,amp=0.1,env; ugen.ar(freq) * EnvGen.kr(env,1.0 ...

prev 201 202 203 204 205 206 207 208 209 210 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow