Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. XYView Quark

    ... idth = 2.5 }, { Pen.width = 1 }); Pen.arrow( 0@0, Polar( arrowRadius, (i / 2) * pi ).asPoint, 3 ); Pen.stroke; }); }); } mouseDown { arg x, y, modifiers, buttonNumber, clickCount; mouseDownAction.value(this, x, y, modifiers, buttonNumber, c ...

  2. Hilbert Quark

    ... lay, phaseOffset; delay = size * SampleDur.ir - ControlDur.ir; phaseOffset = (-2pi * freq * delay).mod(2pi); quadOsc = SinOsc.ar(freq, [pi/2, 0] + phaseOffset); real = HilbertWRe.ar(in, size); imag = HilbertWIm.ar(in, size); out = (quadOsc. ...

  3. openbci_gui_accelerometer Quark

    ... ne(Point(x, 6), Point(x, 10)); }; Pen.stroke; Pen.pop; Pen.push; Pen.rotate(-0.5pi, wb.width/2, wb.height/2); Pen.translate(0-(wb.height-wb.width/2-(wb.height-ub.bottom)), wb.height-wb.width/2+ub.left); Pen.stringAtPoint(as, Point(ub.height ...

  4. Binaural Quark

    ... Fs with length 128 window = Array.fill(128, { arg i; if (i < 14, { 1 - (cos ( i*pi/13 ) / 2 + 0.5) }, { if (i > 113, { ( cos( (i - 114) * pi/13 ) / 2 + 0.5) }, { 1; }) }); }); } /* Class method: *loadFileFor loads the files from the HRTF se ...

  5. snareOto309 Quark

    ... erHarmonic, mul: envOscs * 1.5); oscs = oscs + SinOsc.ar(freq: envSweep, phase: pi/4, mul: envOscs); // N O I S E noise = WhiteNoise.ar(1/3); noise = HPF.ar(in: noise, freq: noiseBottom); noise = noise + BPF.ar(in: noise, freq: noisePeak, r ...

  6. flatCAT2NTMI_basic Quark

    ... o the app page always is accessible, and one can ssh into the flatcat raspberry pi. ******* Steps to run flatcat and NTMI: **** # turn on flatcat # on laptop, choose Wifi flatcat00 / pw: fl4tc4t* # In Terminal, log into the flatcat raspi wi ...

  7. PushPullOSC Quark

    PushPullOSC { var <netAddr; var capResp, encoderResp, batteryResp, pingResp, imuResp; var <>capAction, <>encoderAction, <>batteryWarnAction, <>pingAction, <>imuAction; var <>capUri = "/inputs/serial/1"; var <>encoderUri = "/inputs/serial/2" ...

  8. heatMap Quark

    ... ng, but .plot doesn't really show why: a = 20.collect{ |x| 20.collect{ |y| (x+y/pi).sin.rand}}.flat; a.plot(numChannels:20); a.heatMap(20); // Much better! // Choose your colour scheme: a.heatMap(20, colscheme: \red ); a.heatMap(20, colsche ...

  9. pitch-model-from-tidal Quark

    /* here is a brief example of how you can use the full supercollider pitch model from tidal */ // add these parameters to tidal: /* let degree = pF "degree" ctranspose = pF "ctranspose" mtranspose = pF "mtranspose" gtranspose = pF "gtranspo ...

  10. README Quark

    ... ` Convert when needed: ```supercollider (5 %/ 7).asFloat // -> 0.71428571428571 pi.asRational(999) // -> 355 %/ 113 ``` Operations with exact rational answers return `Rational` values: ```supercollider (7 %/ 2).floor // -> 3 %/ 1 (1 %/ 3).f ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow