Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (747) Code (59) Doc (294) Help (93) Quark (298) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Pong by dilots (dilots) Code

    A basic implementation of pong. ( var paddlePositions = [0.5,0.5]; // Paddle position from 0 (left) to 1 (right) var paddleWidths = [100, 100]; var paddleSpeed = 0.005; var paddleMaxSpeed = 0.02; var paddleMovements = [0,0]; var frict ...

  2. Beatboxing and Bach by aahrens (aahrens) Code

    ... odified Bruno's percussion SynthDefs to sound like a person beatboxing. ( // Basic drum kit SynthDef("hihat", {arg out = 0, amp = 0.5, att = 0.01, rel = 0.2, ffreq = 6000, pan = 0; var env, snd; env = Env.perc(att, rel, amp).kr(done ...

  3. Getting Freq-y With It by ianmcdougall60 (ianmcdougall60) Code

    ... cool bass ~amik.play; //chordy stuff, midlevel ~fmbass.play; //pretty basic bass ~fmclouds.play; //cloudy chordy ~fmuh.play; //pretty basic notes ~fmwow.play; //weird glisandoing stuff ~fmletsdothis.play; //cool melody w ...

  4. l-systems Pbindef by blueprint (blueprint) Code

    ... |out = 0, freq = 440, amp = 2, mix = 0.2| var snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(0.7, 1.4), 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380) ...

  5. Livecode setup, with comments by 0-91 (tedthetrumpet) Code

    ... bindef(\w).asCompileString.newTextWindow // series of amplitude values for a basic snare pattern 2312.asBinaryDigits(16)/10 // a metronome Pbindef(\tmetro, \dur, 1, \legato, 0.01, \note, Pseq([36,30,30,30], inf), \amp, 0.5).play(t, qu ...

  6. Generating Graphics and Music From The Dragon Curve by 56228375 (56228375) Code

    ... out = 0, freq = 440, amp = 0.1, mix = 0.1| var snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(3.0, 4.0), 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380) ...

  7. leaf - an lsystem composition by blueprint (blueprint) Code

    ... freq = 440, amp = 2, mix = 0.2, rel = 1.4| var snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, rel , 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380), 120); ...

  8. Assignment 1 115pluck by ianmcdougall60 (ianmcdougall60) Code

    ... ramp, mul: env); snd = Pan2.ar(snd, pan); Out.ar(out, snd); }).add; // Basic saw synth for chords and bass SynthDef("sawSynth", { arg freq = 440, amp = 0.1, att = 0.1, rel = 2, lofreq = 1000, hifreq = 3000; var env, snd; ...

  9. Sinusoid by schemawound (Schemawound) Code

    ... mp; var hiWhineAmp = 0.7 * finalAmp; var eKickAmp = 2.1 * finalAmp; //Basic Patterns var hat = {|beatsPerMeasure = 9, freqArrayMult = 1| Pbind(*[instrument: \Sinusoid, amp: hatAmp, group: sourceGroup, dur: Pseq([bar / ...

  10. Weed, after P. Bourke by blueprint (blueprint) Code

    ... out = 0, freq = 440, amp = 0.1, mix = 0.1| var snd, click; // Basic tone is a SinOsc snd = SinOsc.ar(freq) * EnvGen.ar(Env.perc(0.03, Rand(3.0, 4.0), 1, -7), doneAction: 2); snd = HPF.ar( LPF.ar(snd, 380) ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow