Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. things_you_wanna_know Doc

    ... ar win = Window(); var slider= Slider(); var value = 0; var routine = Routine({ loop { value = 101.rand / 100; // Interacting with a widget from within a routine: // instructions must be nested in a function, and deferred { slider.value_(va ...

  2. Exercise_05_HOA_b_format_file_playback Doc

    ... aSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ Let's make the decoder: HOADecLebedev26.loadHrirFilters(s); HOADecLebedev26.hrirFilters.size; ( ~decoderOrder = ...

  3. PV_MagMap Doc

    ... sndbuf; var in, chain, out; in = PlayBuf.ar(1, sndbuf, BufRateScale.kr(sndbuf), loop: 1); chain = FFT(fftbuf, in); chain = PV_MagMap(chain, envbuf); out = IFFT(chain); Out.ar(1, out); }).add; s.boot; // the fft buf s.sendMsg(\b_alloc, 0, 20 ...

  4. AllBuf Doc

    ... Pbind( \instrument, a.def(2, simple: true), \buffer, b.asPxrand(b.numBuffers), \loop, 0, \rate, 1, \dur, Pfunc({|ev| ev[\rate].reciprocal * ev[\buffer].duration}), \amp, 0.85 ) ).play; ⧉ ✔ helpfile source: /tmp/scquark_hs/AllBuf/HelpSource/ ...

  5. BeatSched Doc

    ... swer is 0.00092713799949706 as far as BeatSched is concerned. but if you try to loop like this, you will suffer from rounding errors. mostly you would never set up a loop like this, mostly you just want to know when the next even beat is so ...

  6. PV_BufRd Doc

    ... , doneAction: 2); in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 0); // note the window type and overlaps... this is important for resynth parameters chain = FFT(bufnum, in, 0.25, 1); chain = PV_RecordBuf(chain, recBuf, ...

  7. 150-track_synth Doc

    ... 3]; human.state.timbre= arr[4]; human.state.centroid= arr[5]; }) }; s.sync; //--loop w.draw{ world.objects.do{|o, i| //iterate all objects in this world human.loc= w.mouse; o.update; //object update world.contain(o); //keep within world bor ...

  8. CtkGroup Doc

    ... g out to env = Env([0, 1, 0], [1, 4], [3, -4], 1); // create a controlenv and a loop of CtkNotes to play inside the CtkGroup freq = pnotes[\control].note(addAction: \head, target: group) .outbus_(bus1) // need to use the .bus method on CtkC ...

  9. PartConv Doc

    ... et = Buffer.read(s, ExampleFiles.child); ( { var input = PlayBuf.ar(1, ~target, loop: 1); PartConv.ar(input, ~fftsize, ~irspectrum.bufnum, 0.5) }.play ) // convolve with live input ( { var input = SoundIn.ar(0); PartConv.ar(input, ~fftsize, ...

  10. 264-janus_bunch Doc

    ... .05) .phase_(2pi.rand) .phase2_(2pi.rand) .amp_(0.85) }; ~showLinks= false; //--loop w.draw{ Pen.strokeColor= Color.grey(0.5, 0.5); world.objects.do{|o, i| o.couple(world.objects.wrapAt(i-1), world.objects.wrapAt(i+1)); }; world.objects.do{ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow