Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. 115pluck (Assignment 1) by mason-mccormack (Mason McCormack) Code

    ... .ar( in: snd, freq: LFNoise2.kr(1).range(lofreq, hifreq) ); snd = Splay.ar(snd); Out.ar(0, snd); }).add; ( SynthDef("plucking", {arg amp = 0.1, freq = 440, decay = 5, dampen = 0.1; var env, snd; env = Env.linen(0, ...

  2. Demo: Loading a MIDI file, playing it with your own SynthDef by bruno (Bruno Ruviaro) Code

    Load a MIDI file and play it with your own SynthDef. Examples of how to use it with Pbindf // you can create your midi file using MuseScore, Finale, Sibelius, Logic, etc. // TIP: create one separate midi file per layer (melodies, chords, e ...

  3. tweets again by aucotsi (aucotsi) Code

    //1. play{p=Pulse;GVerb.ar(IFFT(PV_BrickWall(FFT(Buffer.alloc(s,128),WhiteNoise.ar*p.ar(8,5e-4)+SinOsc.ar(9*p.ar(1),0,n=p.kr(p.ar(5)))),n)))}//w8 //2. play{a=SinOsc;p=Pulse;WhiteNoise.ar*p.kr(8,0.01)+a.ar(98*n=p.ar(4),0,p.kr(2,add:1))+G ...

  4. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    simple example showing how to play one soundfile after the other in a sequence. use as a template. //playing soundfiles in sequence - one after the other s.boot; ( s.latency= 0.05; b.do{|x| x.free}; //free all previous buffers b= [ ...

  5. Judges by Michael Noonan by bruno (Bruno Ruviaro) Code

    ... ); snd = BPF.ar( in: snd, freq: 500, rq: 5 ); snd = Splay.ar(snd); snd = snd * In.kr(55); snd = Pan2.ar(snd, pan); Out.ar(0, snd); //DetectSilence.ar(snd, doneAction: 2); }).add; SynthDef(" ...

  6. In Divisions - Midterm: Plunderphonics with Granular Sampling (musc-9-plunderphonics) by jonathan-coon (Jonathan Coon) Code

    ... ger Remix).wav", channels: [0]); // Listen to the sound file if you want: { PlayBuf.ar(2, b) }.play; // Why not some instant fun, right? { PlayBuf.ar(2, b, MouseX.kr(0, 2)) }.play; // ************************************** // 2) ...

  7. tweets more tweets by aucotsi (aucotsi) Code

    // a drum part play{b=SinOsc.kr(1);a=Line.kr(0.1,2*pi,37);FreeVerb.ar(SinOsc.ar(b*340!2*Impulse.kr(b*680),LFPulse.kr(2,0,pi/2),LFPulse.kr(3,0,1/pi*a)))} //sticky morning clock play{c=LFPulse.kr(0.5);b=SinOsc.kr(0.0034);a=Line.kr(0.1,2 ...

  8. redo_minimalish sketch by fredrik-olofsson (Fredrik Olofsson) Code

    took five of my own tweets and played them at the same time. //redFrik - redo_minimalish sketch ( s.waitForBoot{ SynthDef(\p, {|out= 0, freq= 400, amp= 0.1, gate= 1, detune= 0| var env= EnvGen.ar(Env.perc(Rand(0.001, 0.01), LinRan ...

  9. Spacey Synth example by bruno (Bruno Ruviaro) Code

    ... rand([\rest, Pseq([24, 31, 36, 43, 48, 55])], inf), \dur, 0.2, \amp, 0.5 ).play; ) b.stop; // middle arpeggio ( m = Pbind( \instrument, "spacey", // \midinote, Pseq([60, 63, 67, 74], inf), // compare this line and below ...

  10. Comparing M3, M2, P5 in Just Intonation and ET12 by bruno (Bruno Ruviaro) Code

    ... rd (just) Ndef(\a, { Saw.ar(freq: [60.midicps, 60.midicps * 5/4], mul: 0.1) }).play // Major third (ET12) Ndef(\a, { Saw.ar(freq: [60.midicps, 64.midicps], mul: 0.1) }).play; // Major second (just) Ndef(\a, { Saw.ar(freq: [60.midicps ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow