Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (513) Code (102) Doc (171) Help (75) Quark (148) Plugin (17) SCDoc ↗ Forum ↗ Google ↗
  1. Exercise_06_HOA_scenes_simple_manipulations Doc

    ... ignal = NodeProxy.new(s, \audio, ~hoaNumChannels); ~hoaSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ Here we use HOATransMirror to simply mirror the sound fie ...

  2. VDiskIn Doc

    ... ect Stream in audio from a file, with variable rate Source: DiskIO.sc See also: PlayBuf , BufRd , DiskIn Description Continuously play a longer soundfile from disk. This requires a buffer to be preloaded with one buffer size of sound. Class ...

  3. Exercise_10_HOA_decoding_for_speaker_arrays Doc

    ... ignal = NodeProxy.new(s, \audio, ~hoaNumChannels); ~toaSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~toaSignal.fadeTime = 1; ) ⧉ ✔ Let's make two more nodes that generate 2nd and 1st order ...

  4. MedianSeparation Doc

    ... MedianSeparation expects mono input ( { var harmonic, percussive; var source = PlayBuf.ar(1,d,loop:1); var fft = FFT(a,source,0.5); //can try overlap 0.25 harmonic = PV_Copy(fft, b); percussive = PV_Copy(fft, c); //#harmonic,percussive = M ...

  5. InstrGateSpawner Doc

    ... er({ arg sample,start=0,dur,env; var gate; gate = Trig1.kr(1.0,dur / Tempo.kr); PlayBuf.ar( sample.numChannels, sample.bufnumIr, sample.pchRatioKr, 1, start * sample.beatsizeIr, 1 ) * EnvGen.kr(env,gate, doneAction: 2) },[ Sample("a11wlk01. ...

  6. DrumTrack Doc

    ... k=0, kick=1, snare=1; var trackb,trackh,trackq,tempo; var source, beep; source= PlayBuf.ar(1,b.bufnum,1.0,1,0,1); #trackb,trackh,trackq,tempo=DrumTrack.kr(source, lock,kicksensitivity:kick,snaresensitivity:snare,debugmode:2); beep= SinOsc.a ...

  7. Exercise_04_HOA_plane_versus_spherical_waves Doc

    ... m above. ( ~hoaSignal.source = {|azimuth = 0, radius = 1| HOAEncoder.ar(~order, PlayBuf.ar(1, ~buffer, BufRateScale.kr(~buffer) , loop:1), azimuth, elev:0, gain:0, plane_spherical:1, radius: radius )}; w = Window("Slider2D", Rect(100, 100, ...

  8. QuickStart Doc

    ... 'Jack the Mosquito' but let's try as an input a slightly modified example from PlayBuf's help file. // read a whole sound into memory b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); // remember to free the buffer later. ...

  9. Exercise_07_HOA_beamforming Doc

    ... ignal = NodeProxy.new(s, \audio, ~hoaNumChannels); ~hoaSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ ( HOADecLebedev26.loadHrirFilters(s); HOADecLebedev26.hri ...

  10. Qitch Doc

    ... sample tracking SynthDef("pitchFollow1",{ var in, amp, freq, hasFreq, out; in = PlayBuf.ar(1,c.bufnum, loop:1); amp = Amplitude.kr(in, 0.05, 0.05); # freq, hasFreq = Qitch.kr(in, b.bufnum, 0.1,1, -1,261, 800 ); out = Mix.new(VarSaw.ar(freq ...

prev 11 12 13 14 15 16 17 18 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow