Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. GFIS Doc

    ... d ( y = { var osc = SinOsc.ar(30); GFIS.ar({ |x| sin((osc + LFDNoise3.ar(0.15)).linlin(-2, 2, 3.2, 4) * x) }, [0.5, 0.505], 9) * 0.1 }.play ) y.release ( y = { var osc = SinOsc.ar([30, 30.5]); GFIS.ar({ |x| sin((osc + LFDNoise3.ar(0.15)).li ...

  2. create_simple_instrument_view Doc

    ... rrect value (mapping) But what if we want to control other ranges ? We can use .linlin or .linexp to map the sliders value, which is between 0 and 1, to a value between 0.1 and 2. We'll use this to new value to control the duration of the p ...

  3. LevelIndicator Doc

    ... t; a.onClose_({ x.free; o.free }); o = OSCFunc({ |msg| { a.value = msg[3].ampdb.linlin(-40, 0, 0, 1); a.peakLevel = msg[4].ampdb.linlin(-40, 0, 0, 1); }.defer; }, '/levels', s.addr); }) ) ( a.warning = -6.dbamp; a.critical = -3.dbamp; ) // ...

  4. Exercise_01_HOA_b_format Doc

    ... OAEncoder.ar(~order, WhiteNoise.ar(1), 0, MouseY.kr(-pi * 0.5, pi * 0.5) .round.linlin(0,1,-pi,pi) )}; ⧉ ✔ You did not see any change in the oscilloscope? The directional information is not only in the gain that you see in the white noise, ...

  5. EaseOverview Doc

    ... are flexibe when used inside synthdefs c= {SinOsc.ar(EaseInAtan.(SinOsc.kr(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //becomes kr c.free c= {SinOsc.ar(EaseInAtan.kr(SinOsc.ar(1)).linlin(0, 1, 500, 5000), 0, 0.1)}.play //kr with ar arg c.f ...

  6. Spring Doc

    ... 1, m2], 0.4 * k, d); m4 = Spring.ar(m3 - m1 + m2, 0.1 * k, d); CombL.ar(t, 0.1, LinLin.ar(m4, -10, 10, 1/8000, 1/100), 12) }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Spring.schelp link::Classes/Spring::

  7. RedFingerprint Doc

    ... n, Rect(0, 0, width, height)); usr.drawFunc= { var a= sin(cnt.fold(0, 100)/2pi).linlin(-1, 1, 0.01, 1); var b= sin(cnt.fold(0, 90)/2pi).linlin(-1, 1, 0.1, cnt.fold(0, 50)/25); var rf= RedFingerprint(Wavetable.sineFill(256, 1/[1, 2, a, b]).a ...

  8. OteyPiano Doc

    ... )*EnvGen.ar(Env.asr(0,1,0.1),gate,doneAction:2); Out.ar(out, Pan2.ar(son * 0.1, LinLin.kr(freq,36.midicps,90.midicps,-0.75,0.75))); }).add; ) //Use it. ( Pbind( \instrument, \help_oteypiano, \delta, 1, \dur, 3, \degree, Pseq([1,3,5], inf), ...

  9. DNoiseRing Doc

    ... 0, DNoiseRing(change: MouseX.kr(0, 1), chance: MouseY.kr(0, 1), numBits: 32))).linlin(0, 2**32, 40, 40+48).midicps.poll; SinOsc.ar(freq)!2 }.play ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/ChaosUGens/HelpSour ...

  10. Exercise_11_HOA_NRT_using_scores_and_Buffers Doc

    ... undle); ~sndbuf.updateInfo; s.sync; numNotes.do({|i| ~myScore = ~myScore.add([i.linlin(0, numNotes, 0.0, seconds - 2), [\s_new, \littleHOAgrain, 1000 + i, 0, 0, \buffer, ~sndbuf.bufnum, \grainDur, 0.1.rand + 0.1, \start, i.linlin(0, numNote ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow