Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. grids_poc Quark

    ... ); if(level>q[\pattern][\hhT], { ( instrument: \hh, amp: level, release: level.linlin(0, 1.0, 0.0, 0.04), ffreq: 1000 + (exprand(1000, 6000) * level), ).play; }); (0.125/2).wait; }); }).clock_(t).play; Tdef(\kick, { inf.do({|i| var level = ...

  2. openbci_gui_timeseries Quark

    ... hannelHeight*0.5+1; if(x==0, { Pen.moveTo(Point(0, y)); }, { Pen.lineTo(Point(x.linlin(0, length, 0, img.width), y)); }); if(val.abs>=threshNearRailed, { c.nearRailed= true; if(val.abs>=threshRailed, { c.railed= true; }); }); c.uVrms.overwr ...

  3. Frequency Modulation GUI Demo 4 by bruno (Bruno Ruviaro) Code

    ... scaleEnv = {arg thisEnv, minVal, maxVal; thisEnv.levels = thisEnv.levels.linlin(0, 1, minVal, maxVal); thisEnv.duration_(timeScale); thisEnv.duration_(timeScale); // "scaling done!".postln; }; // Ugly... adjustEnv = ...

  4. README Quark

    ... trig <= 0) { \rest } { e.str.asInteger } }), \pan, Pfunc({ |e| e.num !? { e.num.linlin(1,4,-1,1) } ?? { 0 } }), \legato, 0.2 ).play; 4.wait; }; x.stop; }).play ``` Uses the default synth (with shorter notes so you can hear the pattern).

  5. AlgaClassExtensions Quark

    ... , scaled, curvedResult; if (curve.isNumber and: { abs(curve) < 0.125 }) { ^this.linlin(inMin, inMax, outMin, outMax, clip) }; grow = exp(curve); a = outMax - outMin / (1.0 - grow); b = outMin + a; scaled = (this.prune(inMin, inMax, clip) - ...

  6. ChordtrisSoundModule Quark

    ... ).postln; (instrument: \moog, midinote: note, amp: keyboardVolume, fattack: vel.linlin(0, 127, 0.3, 0.01)).play; } playExplosion { var soundVolume = ChordtrisPreferences.getPreferences.at(\soundVolume).value; (instrument: \explosion, amp: s ...

  7. CVWidget2D Doc

    ... (if the button is big enough to display all this information - mapping can be \linlin , \linexp , \explin or \expexp ). Returns: an Event . calibBut An Event containing two Button s that link to the OSC-tabs within the regarding CVWidgetEd ...

  8. TestAutomaticDifferentiation Quark

    ... // copied methods \nextPowerOf, \previousPowerOf, ]; classvar mappingOps = #[ \linlin, \linexp, \explin, \expexp, \lincurve, \curvelin ]; specialTrigonometricTestRanges { ^( \asin: [-1.0, 1.0], \acos: [-1.0, 1.0], \atan: [-8.0, 8.0], \sinh ...

  9. CVWidget Quark

    ... ollersAndModels } ); // "mapping: %\n".postf(mapping); if(mapping.asSymbol !== \linlin and:{ mapping.asSymbol !== \linexp and:{ mapping.asSymbol !== \explin and:{ mapping.asSymbol !== \expexp } } }, { Error("A valid mapping can either be \\ ...

  10. GMZZSlider Doc

    ... log or a number : If \lin is specified, the mapping will be performed using the linlin function. If \exp or \log is specified, the mapping will be performed using the linexp function. It is still possible to set min equals to 0 when using t ...

prev 81 82 83 84 85 86 87 88 89 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow