Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (304) Code (46) Doc (105) Help (39) Quark (105) Plugin (9) SCDoc ↗ Forum ↗ Google ↗
  1. Filter Quark

    ... ispersion=0.0001, lag=0.1, winSize=0.02; var freq, hasFreq, input, amp; input = SoundIn.ar(bus.round(1)); amp = Amplitude.kr(input, 0.05, 0.05); # freq, hasFreq = Pitch.kr(input, ampThreshold: 0.0, median: 7); PitchShift.ar(\in, winSize, (f ...

  2. Block Quark

    ... ul;}; play.sum/play.size; }], ['audioin', {arg bus=1 -> [1,8], mul= 1 -> [0,4]; SoundIn.ar((bus.round(1)-1).max(0), mul);}], ['grainbuf', {arg rate=1 -> [0.1,10], freq= 1 -> [0.5,50], dur = 0.1 -> [0.0001, 0.1, {|val|val.round(0.0001)}], st ...

  3. WetterReim-TrendSetup Quark

    ... Server.default; // the audio in channel where the transducer is located (using SoundIn) q.sourceChannel = q.sourceChannel ? 2; // channel where to play back the auditory augmentation (Using Out) q.outChannel = q.outChannel ? 0; // name of ...

  4. Latency Quark

    ... ns).reciprocal; phase = Phasor.ar(0, 1, 0, 2 ** 30); // time in samples audIn = SoundIn.ar(inChan); // mike input pulses = Decay2.ar( Impulse.ar( pulseFreq, 0.99 - ((0..numChans - 1) / numChans) // phase ), 0.0, 0.002 ); // send when audioi ...

  5. nerve1 Quark

    ... var numNerves = 8; /// q.numNerves; // single audio in chan for now var micIn = SoundIn.ar(0).asArray; var micVol = Amplitude.kr(micIn * 10, 0.0, 1.0).min(1); // convert to pulses var micPulses = (micIn.max(0) * (10 * micLevel.lag(lag))).wr ...

  6. revFB Quark

    ... rks.update("SpeakersCorner"); Quarks.install("SpeakersCorner"); To Do: * better sounding noise spikes to drop into the feedback loop, * task or function plays them on trigger from interface */ // two grain-like synthdefs, just to show the c ...

  7. 150-track_synth Quark

    ... 0| var input, chain, event, delta, freq, amp, timbre, centroid, hasFreq; input= SoundIn.ar(in); chain= FFT(LocalBuf(2048), input); event= A2K.kr(PV_JensenAndersen.ar(chain)); delta= Timer.kr(event); #freq, hasFreq= Pitch.kr(input); freq= fr ...

  8. AssemblageRecording Quark

    ... ")"); }, { busArr = item.split($ )[1].split($-).asString.interpret; recBus = ("SoundIn.ar(" ++ (busArr-1) ++ ")"); }); ("//recording: " ++ recTracks[index]).radpost; ("Ndef(" ++ ("record_" ++ index).asSymbol.cs ++ ", {\n\tDiskOut.ar(" ++ B ...

  9. mapping-to-masterFX Quark

    ... ed yet, ends with some open code design questions. ***/ q = q ? (); Ndef(\in, { SoundIn.ar([0, 1]) }).play; // Make the Master FX Chain first ( // The order in slotNames determines order of execution of the efx. MasterFX.clear; try { q.mast ...

  10. Filter Quark

    ... 0, 5 ], {|val| val.round(0.01)-0.01} ] ] ], [ 'cvi1', [ [ 'mix', [ 0, 1 ] ], [ 'soundin', [ 1, 8 ], {|val| val.round(1)} ], [ 'frameSize', [ 512, 8192 ], {|val| val.round(512) } ], [ 'adjVol', [ 1, 30 ], {|val| val.round(0.01)-0.01} ] ] ], ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow