Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... in.changed( \units ); }; }; unitColors = units.collect({ |item, i| Color.hsv( i.linlin( 0, units.size, 0, 1 ), 0.1, 0.9 ); }); ^units.collect({ |unit, i| var header, comp, views, params; comp = CompositeView( scrollView, width@14 ) .resize_ ...

  2. SSampler Quark

    ... {elapsed < env.duration}, { var delayTime = 0.03; var texture = env.at(elapsed).linlin(0, env.levels.maxItem, 1, maxtexture).asInteger; var thisPan = (panenv !? {SSampler.toFlatEnv(panenv).stretch(env.duration).at(elapsed)}) ? pan; var this ...

  3. UBasicEditView Quark

    ... 1| view.scale = level*10; } move { |x,y| x = x ? 0; y = y ? x; view.move_([x,y].linlin(-100,100,0,1)); } moveToCenter { view.move_([0.5,0.5]); } object_ { |newPath, active = true| if( object !== newPath ) { object = newPath; this.refresh; i ...

  4. Spectrogram Quark

    ... (0, view.bounds.height); freq = binfreqs[((view.bounds.height)-mouseY).round(1).linlin(0, view.bounds.height, frombin*2, tobin*2).floor(1)].round(0.01); } start { this.startruntask } stop { this.stopruntask } } SpectrogramWindow : Spectrogr ...

  5. bass-vc Quark

    ... Buffer.allocConsecutive(12, s, 2048, 1, completionMessage: { |buf, i| var w = i.linlin(0, b.size-1, 0.16, 0.8); w = [w, 1.0 - w]; buf.sine1Msg(Array.fill(20, { #[0, 1].wchoose(w) }).putFirst(1)) }); out = /*MonoPorta*/Voicer(2, \fmBass, [cb ...

  6. 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 = ...

  7. 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 ...

  8. 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).

  9. 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) - ...

  10. 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 ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow