Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (154) Code (31) Doc (30) Help (10) Quark (82) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Automatic looper by selecting a part of a sound file by pyoungryangko (prko) Code

    ... .5)); v.gridOn_(true); v.gridResolution_(10); x = { |lo = 0, hi = 1| var phasor = Phasor.ar(0, BufRateScale.kr(b), lo * BufFrames.kr(b), hi *BufFrames.kr(b)); Out.kr(q.index,A2K.kr(phasor)); BufRd.ar(b.numChannels, b, phasor) }; ...

  2. WavesetsEvent Quark

    ... numFrames = 441, rate = 1, sustain = 1, amp = 0.1, pan, interpolation = 2 | var phasor = Phasor.ar(0, BufRateScale.ir(buf) * rate * sign(numFrames), 0, abs(numFrames)) + startFrame; var env = EnvGen.ar(Env([amp, amp, 0], [sustain, 0]), done ...

  3. BufSamples Help

    ... ames s.sendMsg( "/b_allocRead" , 0, "sounds/a11wlk01.wav" ); // indexing with a phasor { BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0), 0, BufSamples .kr(0))) }.play; // indexing by hand { BufRd .ar(1, 0, K2A .ar( MouseX .kr(0, BufSampl ...

  4. RotateL.help Quark

    ... ray = [ SinOsc .ar, Saw .ar, Pulse .ar, GrayNoise .ar];\ var out = RotateL .ar( Phasor .ar(0, speed / 44100, 0.0, inArray.size), inArray);\ out * level;\ \.play( Server .internal);\ Server .internal.scope;\ )\ \ // Also included in wslib ar ...

  5. 05_Interp_2 Quark

    ... or, with the same scaling b.replace({ LFNoise1.kr(5) }) //Now replace it with a Phasor. Again, it will interpolate from the noise generator to the //new Phasor over 3 seconds, which is a's interpTime. Same scaling is applied b.replace({ LFS ...

  6. PitchShiftPA Quark

    ... Saw.ar(freq, 1).range(0, wavePeriod) + ((formantRatio.max(1) - 1) * grainDur);//phasor offset for formant shift up - in seconds; positive here since phasor is subtracted from the delayWritePhase }, { //slightly lighter version, without form ...

  7. Wavesets Quark

    ... f = 0, start = 0, length = 441, playRate = 1, sustain = 1, amp = 0.2, pan | var phasor = Phasor.ar(0, BufRateScale.ir(buf) * playRate, 0, length) + start; var env = EnvGen.ar(Env([amp, amp, 0], [sustain, 0]), doneAction: 2); var snd = BufRd ...

  8. RotateN.help Quark

    ... = 1;\ var inArray = [ SinOsc .ar, Saw .ar, Pulse .ar, GrayNoise .ar];\ var n = Phasor .ar(0, speed / 44100, 0.0, inArray.size);\ RotateN .ar(n, inArray) * level;\ \.play( Server .internal);\ Server .internal.scope;\ )\ \ // Also included i ...

  9. Glitch Routine - Basis for 'Lost Among the Atoms' SuperCollider EP by makary-kleinschmidt (rumush) Code

    ... xrand([0, 2e5*0.25, 2e5*0.4, 2e5*0.75], inf)); var src1 = BufRd.ar(2, buf1, Phasor.ar(trig[0], 1, 0, 4e5, pos))*0.5; var src2 = PinkNoise.ar(Decay.ar(trig[0]!2, 0.1, 250)).fold(-0.5, 0.5); var src3 = BufRd.ar(2, buf2, Phasor.ar( ...

  10. syncSamp1 Quark

    ... to work copy the code below into the project file ".main" to be evaluated if (~phasorSync == nil, { "creating phasorSync generator".inform; ~phasorSync = Synth.before(s,\globalPhasor); }); */ // spread == 0, narrow, spread == 1 wide ~funct ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow