Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (55) Code (54) Doc (1) SCDoc ↗ Forum ↗ Google ↗
  1. blaplop by 0-2U (grirgz) Code

    ( SynthDef(\bla, { arg out=0, amp=0.1, gate=1, pan=0, freq=200; var sig; var tab; tab = \tab.kr(1 ! 15); sig = LFSaw.ar(freq * tab.abs); sig = sig.sum; sig = RLPF.ar(sig, Rand(10,freq*2) + 100 * SinOsc.ar(tab ...

  2. Real-time pattern morphing with Ndef by 0-2U (grirgz) Code

    When you understand that Ndef can be used to modulate pattern keys, it opens a whole new world ( ~name = "saw"; SynthDef(~name, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2, ffreq=300, rq=0.3; var sig; sig ...

  3. Interpolate between Envs with Pseg by 0-2U (grirgz) Code

    For a long time, I thought it was impossible to use Pseg to interpolate between Envs like it does with simple values, but I discovered it only needs .asArray ( SynthDef(\sin, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; sig ...

  4. Now you're going to die by 0-2U (grirgz) Code

    ( Ndef(\fall, { arg freq=200, pan=0, amp=0.1; var sig; sig = ( WhiteNoise.ar + 0.8 ) * LFSaw.ar({ exprand(10.0,10000) }!20 * ( 1 + ( SinOsc.ar((1..4).rand(0.0)/18 * XLine.kr(1,121200,80)) * 1/41 * XLine.kr(1,180,60) ))); sig = Delay ...

  5. analyze a sample with SCMIR and sort sample segments by similarity by 0-2U (grirgz) Code

    ~file = "~/Musique/sc/samplekit/loop/lovin.flac".standardizePath; e = SCMIRAudioFile(~file, [[MFCC, 13], [Chromagram, 12]]); // open file for SCMIR b = Buffer.read(Server.default, ~file); // buffer for the Pbind {e.extractFeatures()}. ...

  6. Vowel space by formants f2 f1 by 0-2U (grirgz) Code

    Code by Andrea Valle // Vowel space by formants f2 f1 ( SynthDef(\vocali, { arg f1, f2, fund = 70, amp = 0.25 ; var source = Saw.ar(fund); var vowel = Normalizer.ar(BPF.ar(source, f1, 0.1)) + Normalizer.ar(BPF.ar(source, f2, ...

  7. Entities by 0-2U (grirgz) Code

    ( Ndef(\ota, { arg freq=200, pan=0, amp=0.1; var sig; var env1, env2, env3, env4, env5, env6, env7, env8; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; var fac = 1/SelectX.kr( SinOsc.kr(1/113).range(0,6), [1/2,1,2,4,8,64,128 ...

  8. Gates by 0-2U (grirgz) Code

    ( Ndef(\plop).put(0, { arg freq=200, rq=0.1, pan=0, amp=0.1; var sig; var sig1, sig2, sig3, sig4, sig5, sig6, sig7, sig8; sig1 = WhiteNoise.ar(1, 0); sig2 = LPF.ar(WhiteNoise.ar(1, 0), SinOsc.kr(1/16 * [1,2,3,4]/2).range(100,9001 ...

  9. Re: Re: the perfect frequencies by 0-2U (grirgz) Code

    That's why I love SC, I just randomly added code, and everytime something cool come from it! =) ( f = { var rep = [4, 8, 16, 32]; var n = rep.choose; var x = [ 54, 60, 66, 72, 81, 90, 96, 102, 108, 128, 132, 144, 16 ...

  10. Re: Chicago Chord Pad by 0-2U (grirgz) Code

    a little fork of the Chicago chord pad. Edit: eliminate the click by replacing adsr by dadsr ( SynthDef(\ChicagoPad2, { |out = 0, freq = 440, freq2=660, freq3=528, cutoff = 500, amp = 0.2, gate=1| var snd; var delay = 0.045+0.0 ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow