Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (251) Code (54) Doc (92) Help (40) Quark (65) SCDoc ↗ Forum ↗ Google ↗
  1. Using a MIDI keyboard - simple example by bruno (Bruno Ruviaro) Code

    Basic example - how to use a MIDI keyboard with a simple synth MIDIIn.connectAll; // MIDIClient.init; ( // A SynthDef with ADSR envelope SynthDef("quick2", {arg freq = 440, amp = 0.1, gate = 1; var snd, env; env = Env.adsr(0.01, ...

  2. 7_Test_functions Help

    Functions and .scope messages An easy way to audition synthesis processes is to test them within a function. To do this, append a .scope or a .play message to a function. The .scope message, which works only with the internal server, displa ...

  3. 9_BinaryOp_synthesis Help

    ... addition Use addition (a binary operation) to mix two or more ugens. ( // mix 2 sawtooth waves { Saw .ar(500, 0.05) // receiver + // operator Saw .ar(600, 0.06) // operand }.scope; ) ( // mix 3 unit generators. { Saw .ar(500, 0.05) // recei ...

  4. EQui Doc

    ... a target, which must understand the set message as setting a NamedControl (so a Synth or and Ndef, or similar). The UGen: -equi method creates the necessary EQ UGens processing the receiver. The use of a prefix arg allows the creation of mu ...

  5. EnvGate Help

    ... n (default: 2) curve envelope curve (default: 'sin') // examples a = { LPF .ar( Saw .ar(200), 600) * EnvGate .new }.play; a.set( \fadeTime , 2); a.release; // the same as: a.set( \gate , 0); // several env gates can coexist in one synth def ...

  6. sawSynth Quark

    /* Retrieved from http://sccode.org/1-5aD */ SynthDef("sawSynth", { arg freq = 440, amp = 0.1, att = 0.1, rel = 2, lofreq = 1000, hifreq = 3000, pan = 0; var env, snd; env = Env.perc( attackTime: att, releaseTime: rel, level: amp ).kr(doneA ...

  7. 13_BinaryOp_synthesis Doc

    13_BinaryOp_synthesis: Filter: Binary messages Mixing = addition Scaling = multiplication Envelopes Keyword arguments Additive Synthesis Envelopes Ring modulation Amplitude modulation Tutorials/Mark_Polishook_tutorial | Tutorials > Mark_Pol ...

  8. 032-wave_synth2 Doc

    ... tude ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 60, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, ...

  9. 032-wave_synth2 Quark

    ... tude ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, world, n= 60, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, ...

  10. 11_Test_functions Doc

    ... 00_Introductory tutorial Functions and .scope messages An easy way to audition synthesis processes is to test them within a function. To do this, append a .scope or a .play message to a function. The .scope message, which works only with t ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow