Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (76) Code (2) Doc (24) Help (21) Quark (28) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. cymbal808Ryan-explanation Quark

    // BinaryOpUGen('==', a, b) compares two signals. // While the two signals are not at same value, // output is zero. When they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen( ...

  2. Vowel Quark

    ... how "Formants" works internally: since Formants are PseudoUgens, they return a BinaryOpUGen Formants .ar(400, Vowel ( \a )) // -> a BinaryOpUGen if you set unfold to true: you see a Formant plus 4 BinaryOpUGen Formants .ar(400, Vowel ( \a ...

  3. BinaryOpUGen.ext Quark

    + BinaryOpUGen { displayName { ^this.specialIndex.nameOfBinaryOpSpecialIndex } }

  4. Ease Quark

    ... po : Ease { value {|t| ^if(t==1, {1}, {0-pow(2, -10*t)+1})} *ar {|t| ^Select.ar(BinaryOpUGen('==', t, 1), [DC.ar(0)-pow(2, -10*t)+1, DC.ar(1)])} *kr {|t| ^Select.kr(BinaryOpUGen('==', t, 1), [0-pow(2, -10*t)+1, DC.kr(1)])} } EaseInOutExpo : ...

  5. cymbal808_ryan Quark

    ... 5]), timeScale:(1/1000)); signal = Mix.new(LFPulse.ar(freqs * 4.09)); signal = (BinaryOpUGen('==', signal, 6.0) * 0.6) + (BinaryOpUGen('==', signal, 2.0) * 0.2) + (BinaryOpUGen('==', signal, 1.0) * 0.9); // XOR ÊÊ signal = (signal * pulseEn ...

  6. cymbal808_ryan Quark

    ... 5]), timeScale:(1/1000)); signal = Mix.new(LFPulse.ar(freqs * 4.09)); signal = (BinaryOpUGen('==', signal, 6.0) * 0.6) + (BinaryOpUGen('==', signal, 2.0) * 0.2) + (BinaryOpUGen('==', signal, 1.0) * 0.9); // XOR ÊÊ signal = (signal * pulseEn ...

  7. RemoveBadValues Quark

    ... { |in, post = 2| var res; res = in.asArray.collect({ |item, i| var good; good = BinaryOpUGen('==', CheckBadValues.ar(item, i, post), 0); Select.ar(good, [ DC.ar(0), item ]); }); if( res.size > 1 ) { ^res; } { ^res[0]; }; } *kr { |in, post = ...

  8. cymbal808 Quark

    ... es: dec, curve: -0.5 ).kr; snd = Mix.ar(LFPulse.ar(freq: freqs * 4.09)); snd = (BinaryOpUGen('==', snd, 6.0) * 0.6) + (BinaryOpUGen('==', snd, 2.0) * 0.2) + (BinaryOpUGen('==', snd, 1.0) * 0.9); snd = (snd * pulseEnv) + Mix.ar(LFPulse.ar(fr ...

  9. displayName Quark

    ... UnaryOpUGen { displayName { ^this.specialIndex.nameOfUnaryOpSpecialIndex; } } + BinaryOpUGen { displayName { ^this.specialIndex.nameOfBinaryOpSpecialIndex; } }

  10. Spherical Quark

    ... ogous to complex. performBinaryOpOnUGen { arg aSelector, aUGen; ^Cartesian.new( BinaryOpUGen.new(aSelector, aUGen, this.x), BinaryOpUGen.new(aSelector, aUGen, this.y), BinaryOpUGen.new(aSelector, aUGen, this.z) ).asSpherical; } printOn { ar ...

1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow