Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... h low threshold // external sound in ( { var source1, signal, detect; source1 = SoundIn .ar(0); detect = PV_HainsworthFoote .ar( FFT ( LocalBuf (2048), source1), 1.0, 0.0); signal = SinOsc .ar([440,445], 0, Decay .ar(0.1 * detect, 0.1)); si ...

  2. Convolution2L Help

    ... mple b = Buffer .read(s, "sounds/a11wlk01.wav" ); ( { var input, kernel; input= SoundIn .ar(0); // must have power of two framesize Convolution2L .ar(input, b, 0, 512, 1, 0.5); }.play; ) // another example ( // must have power of two frames ...

  3. Convolution2 Help

    ... ple b = Buffer .read(s, "sounds/a11wlk01.wav" ); ( { var input, kernel; input = SoundIn .ar(0); // must have power of two framesize Out .ar(0, Convolution2 .ar(input, b, 0, 512, 0.5)); }.play; ) // another example ( // must have power of tw ...

  4. greaterthan Help

    ... rom < 0.2 // to > 0.2 SynthDef ( "help-> trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) > 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )

  5. lessthan Help

    ... rom > 0.2 // to < 0.2 SynthDef ( "help-< trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )

  6. greaterorequalthan Help

    ... om < 0.2 // to > 0.2 SynthDef ( "help->= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) >= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )

  7. lessorequalthan Help

    ... om > 0.2 // to < 0.2 SynthDef ( "help-<= trig" , { SendTrig .kr( Amplitude .kr( SoundIn .ar(0)) <= 0.2); }).play(s); // responder to trigger synth OSCresponderNode (s.addr, '/tr' ,{ "triggered" .postln; Synth .new( "help-EnvGen" ) }).add; )

  8. Tap Help

    ... e for each ear! ( SynthDef ( \helpTap , { |bufnum| var source, capture; source= SoundIn .ar(0); //use headphones to avoid feedback capture= BufWr .ar(source, bufnum, Phasor .ar(0,1, 0, BufFrames .ir(bufnum),1)); Out .ar(0, Tap .ar(bufnum, 1 ...

  9. BLowPass Help

    ... f , BHiShelf , BBandPass , BBandStop , BAllPass . s.boot; ( z = { BLowPass .ar( SoundIn .ar([0,1]), MouseX .kr(10,20000, \exponential ), // cutoff freq. MouseY .kr(0.0, 1.0, \linear ), // rq 0.5); // mul }.play ) z.release;

  10. BHiPass Help

    ... lf , BHiShelf , BBandPass , BBandStop , BAllPass . s.boot; ( z = { BHiPass .ar( SoundIn .ar([0,1]), MouseX .kr(10,20000, \exponential ), // cutoff freq. MouseY .kr(0.0, 1.0, \linear ), // rq 0.5); // mul }.play ) z.release;

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow