Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1139) Code (82) Doc (462) Help (88) Quark (506) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SymbolicNotations Help

    ... nd-argument functions will be inlined. If you use && or ||, no inlining will be done and performance will be slower. a = 1; a == 1 and: { "second condition" .postln; [ true , false ].choose } second condition true a == 1 or: { "second condi ...

  2. kitchen_studies Doc

    ... hem in realtime would not be the first option anyway (but it could of course be done by rewriting these variables). Buffers: All examples below expect mono buffers like the delivered kitchen sound. Buffer paths refering to the included samp ...

  3. InstrGateSpawner Doc

    ... eration, each argument is passed the InstrGateSpawner. Two useful things can be done with this: asking the .beat and the current .delta till the next event. ( Tempo.bpm = 140.0; InstrGateSpawner({ arg freq=440,rq=0.1,width=0.5,fenv,fenvmod= ...

  4. SWBusNode Quark

    ... of Bus, and can be audiorate or controlrate, depending on the kind of analysis done on it. serv is the Server on which the bus is and on which the analysis synth will run (if none given the default server will be used). initSynthDefAndBus ...

  5. ModalityTutorial Doc

    ... MFunc in the "adclib" Quark. // Assigning multiple actions to an element can be done with .addAction: ( k.elAt(\amp1).addAction({ |elem| ("1 :"++elem.value).postln }); k.elAt(\amp1).addAction({ |elem| ("2 :"++elem.value).postln }); ) //clea ...

  6. MoscaBase Quark

    ... nt.find("Master_level").v_(0); // Load and play file, restore master level when done playbackBuffer = Buffer.read(server, latest, action: { | buf | { // defer to AppClock for Synth creation playbackSynth = { | bufnum = 0 | var sig = PlayBuf ...

  7. UMap Quark

    ... sUMap { ^true } hasBus { ^this.def.hasBus( this ) } setUMapBuses { } // this is done by the U for all (nested) UMaps u_waitTime { ^this.waitTime } dontStoreArgNames { ^[ 'u_dur', 'u_doneAction', 'u_mapbus', 'u_spec', 'u_store', 'u_prepared' ...

  8. CloundGenMiniFMproper by bateslewis (bateslewis) Code

    ... PMOsc.ar(carr, mod, index); var env = EnvGen.ar(Env.sine(sustain, amp * 0.5), doneAction: 2); OffsetOut.ar(out, Pan2.ar(snd * env, pan)); }, \ir ! 5).add; // wider, quasi-gaussian envelope, with a hold time in the middle. SynthD ...

  9. 05-Functions-and-Sound Doc

    ... pOsc); }.play; ) ⧉ ✔ Try this. (Again, use Cmd-. to stop the sound.) What we've done here is plugged the first SinOsc (a control rate one!) into the mul arg of the second one. So its output is being multiplied by the output of the second on ...

  10. pitch-processes Quark

    ... s two pitches, e.g. one for an osc and another for a filter // bit icky hacking done here { var parms = Fact(\melBP).v[\chuckParms].copy; parms.putAll(( ffreqCtl: { ~ffreqCtl }, rootOctave: { ~rootOctave }, defaultParm: \filtDegree, parmMap ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow