Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (797) Code (76) Doc (225) Help (77) Quark (404) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. dustyRezInput Quark

    ... put = SoundIn.ar(bus, EnvGen.kr(Env([0,1], [1,1]), t_trig)); # freq , hasFreq = Pitch.kr(input, ampThreshold: 0.02, median: 7); freq = VarLag.kr(freq, time: 2, warp: 7); ampCtl = Lag.kr(PeakFollower.kr(input)); env = Env.adsr(attack, dec, s ...

  2. scpodcast_harp1_synthdef Quark

    ... coef:SinOsc.kr(0.1).range(0.3, 0.4)); // Pan each string a little according to pitch panpos = indexfreqs.collect(_.explin(100, 3000, -0.5, 0.5)); //indexfreqs.poll(10, "indexfreqs"); //panpos.poll(10, "panpos"); oscs = Pan2.ar(oscs, panpos ...

  3. scpodcast_harp1_synthdef Quark

    ... coef:SinOsc.kr(0.1).range(0.3, 0.4)); // Pan each string a little according to pitch panpos = indexfreqs.collect(_.explin(100, 3000, -0.5, 0.5)); //indexfreqs.poll(10, "indexfreqs"); //panpos.poll(10, "panpos"); oscs = Pan2.ar(oscs, panpos ...

  4. Pstutter Doc

    ... ter(Pseq([1, 2, 3, 4], inf), a).trace.play; ) // Pstutter used as a sequence of pitches ( c = Pstutter(3, Pxrand([1, 2, 3], inf) * 4 + 65); x = c.asStream; Routine { loop { Synth(\help_sinegrain, [\freq, x.next.midicps]); 0.12.wait; } }.pla ...

  5. IndexInBetween Help

    ... ; var bufnum = b; in = Pulse .ar( MouseX .kr(t.minItem, t.maxItem)) * 0.1; f0 = Pitch .kr(in).at(0); index = IndexInBetween .kr(bufnum, f0); fdiff = index.frac * ( Index .kr(bufnum, index + 1) - Index .kr(bufnum, index)); out = PitchShift . ...

  6. abstractDrum Quark

    ... an)); }, metadata: ( credit: "by Josh Mitchell", category: \percussion, tags: [\pitched, \modal] ) ).add;

  7. ArrayedCollection Doc

    ... 20 x.at(1.9); // returns 20 x.at(2); // returns nil ⧉ ✔ A sound example: ( var pitches = [43.0, 55.0, 58.86, 57.42, 67.0]; fork { pitches.size.do{ |i| { var freq = pitches[i].midicps; var env = Env.perc.ar(Done.freeSelf); SinOsc.ar(freq) * ...

  8. GrainFM Help

    ... useX .kr(-1, 1); // use WhiteNoise and mouse y to control deviation from center pitch freqdev = WhiteNoise .kr( MouseY .kr(0, 400)); env = EnvGen .kr( Env ([0, 1, 0], [1, 1], \sin , 1), gate, levelScale: amp, doneAction: 2); Out .ar(0, Grai ...

  9. Influx Doc

    ... rve, releaseNode: n-1, loopNode: loopnode.min(n-3)), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; var form = Formant.ar(pitch, pitch.rotate(1) * 1.6, pitch.rotate(2) * 2.6); var dusty = Ringz.ar(Dust.ar( ...

  10. PL Quark

    ... / PL may be used in cases where there is no PLx implementation // Pseg used for pitch curve, linear interpolation ( p = Pbind ( \midinote , Pseg ( PL ( \p ), PL ( \d ), \lin , inf ), \dur , 0.1 ); ~p = Pshuf ((50..75)); ~d = 0.2; x = p.play ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow