Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (453) Code (93) Doc (110) Help (27) Quark (222) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. SimpleMIDIFile Quark

    ... ) m.p.play; // takes a few seconds to start because this midifile starts with a rest // play it with another instrument ( SynthDef ( "organ" , { |freq = 440, sustain = 1, amp = 0.1| var sig; sig = LFPar .ar( freq * [ 1 , 2 , 3 , 5 ], 0 , am ...

  2. Dissonance Quark

    ... itical band model of auditory roughness; this makes one point of the curve, the rest of the points are arrived at by transposing one of the sets. Once the dissonance curve is calculated, a PitchSet is formed out of the rationalized local mi ...

  3. WFSPath2 Quark

    ... // [ -1, type, curve, clipMode, 0 ... ] // space for future extra params // // rest of the frames: // // each frame holds time and position date for 1 node of the path // each position is stored in 8 values; two sets of 4 (for x and y) // ...

  4. Roughness and sensory dissonance Quark

    ... to the Plomp-Levelt curve for roughness. This makes one point of the curve, the rest of them are arrived at through transposition of one spectrum. f = Array .fill(20, { |i| (i+1) * 49}); // freq array, 20 harmonic partials of 49Hz a = {1}!2 ...

  5. PSPdiv Quark

    ... 7, 9]) + Pn ( Pstutter (15, Pwhite (80, 100, 1))) + 0.6 + [0, -14], // use some rests \amp , 0.06, \att , Pwhite (0.01, 0.02), \rel , 0.15, \sourceType , 1, \ringtime , 3, \pan , Pwhite (-0.3, 0.3) ); // long release layer q = Pbind ( \inst ...

  6. default-effects-extra Quark

    ... ter, a low pass filter for the first half of the range, and a high pass for the rest. ~dirt.addModule('dj-filter', { |dirtEvent| dirtEvent.sendSynth('dj-filter' ++ ~dirt.numChannels, // OPTIONAL // passing this array of parameters could be ...

  7. AnaUtils Quark

    ... ).if({ (rx[1] * -1) / rx[0] }, { 0 }); b[1] = rc[0]; // no need to zero out the rest of b! a0 = rx[0] + (rx[1]*rc[0]); for(1, m-1, {arg i; for(s = 0, i, {arg j; s = s + (rx[i - j + 1] * b[j]); }); rc[i] = (a0 != 0.0).if({ (s * -1) / a0; }, ...

  8. Writing-Hadron-Plugins Quark

    ... and a name string that will be seen on the canvas and the GUI window title. The rest should stay intact for your plugin to work. If you want your plugin to have arguments, you should parse the argExtraArgs argument passed into *new which is ...

  9. Buffer Granulation Quark

    ... rate phrases. // Phrase length params are taken a bit roughly as sustain and // rest times also depend on randomly varying grain lengths. // spSustain controls medium sustain time (without grain length overhead) // spLegato controls medium ...

  10. WFSArrayPan Quark

    ... lc. Now we only calculate the corner angles and // draw a straight line for the rest. This might cause inconsistencies with tunnel-shaped setups. if( useFocusFades && { focus != false && { efficientFocusFades.not } } ) { // disabled when fo ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow