Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1381) Code (129) Doc (443) Help (138) Quark (657) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. spawnEvents Quark

    ... r : can pass a freq or a stream into it // // amp or amplitudeStream // for now just amplitudeStream // a wave might be better Instr([\spawnEvents,\dyeeer],{ arg freq=440,rq=0.1,width=0.5,fenv,fenvmod=1.0,envperc; RLPF.ar( Pulse.ar( freq, w ...

  2. fmBass Quark

    ... ite an FM-based SynthDef (https://www.youtube.com/watch?v=UoXMUQIqFk4), so I'll just describe the things I added beyond very a very basic sine wave FM synth. First, the modulator and carrier are controlled by seperate envelopes, which allow ...

  3. TdefPreset Quark

    ... r Tdefs. superclass: ProxyPreset. see also NdefPreset , and soon, PdefPreset // just raw examples, not fully tested yet! ( Tdef(\a).set(\dt, 0.5, \plong, [12, 24]); Tdef(\a, { |envir| loop { envir.postcs; envir.dt.wait; } }).play; ) Tdef(\a ...

  4. CtkGroup Quark

    ... rget: group) .outbus_(bus1.bus) // need to use the .bus method on CtkControl to just pass in its bus id .rate_(1) .low_(1000) .hi_(1050) .play; control = pnotes[ \controlenv ].new(addAction: \head , target: group) .outbus_(bus2.bus) // need ...

  5. ServerRecordWindow Quark

    ... rRecordWindow per server. If you create another one for the same server it will just bring the window of the already existing one to the front. The filename popupmenu gives you the following options: auto name the filename will be automatic ...

  6. ThreeKicks Quark

    ... you are free to replace it with WhiteNoise.ar. the DC.ar(0) does nothing, it's just so i can reorder all the "snd = snd +" lines and/or comment out parts of the synth. some of the attacks are so fast that Env:kr doesn't correctly handle th ...

  7. wsGui_examples Quark

    ... groundColor_(Color.green); b.textColor_(Color.red); b.action_({"bu1".postln}) //just a function b.remove //init only, send to page later b = WsSimpleButton.init(a, nil); // no bounds specified b.string_("string") b.font_(Font.new(\Georgia). ...

  8. 0_setDirs Quark

    ... = NTMI.dir ? (); NTMI.dir.setup = thisProcess.nowExecutingPath.dirname ?? { // just in case NTMI.filenameSymbol.asString.dirname.dirname +/+ "NTMI_AI_sc_setup"; }; NTMI.dir.fullNames = (NTMI.dir.setup +/+ "*/").pathMatch; NTMI.dir.names = ...

  9. MKtlElement Quark

    ... = Process.elapsedTime; this.doAction; this.changed( \value, deviceValue ); } // just aliases because we have no spec deviceValue_ { | newval | ^this.value_(newval) } deviceValueAction_ { | newval | ^this.valueAction_(newval) } deviceValueNo ...

  10. revFB Quark

    ... r function plays them on trigger from interface */ // two grain-like synthdefs, just to show the concept SynthDef(\whytnoyz, { |out, amp = 0.25, gdur = 0.01, ramp = 4, rq = 0.5| var snd = BPF.ar(WhiteNoise.ar(1 ! 2), ExpRand(400, 15000), rq ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow