Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (0-1) range m = MIDIFunc.cc({ |val, num, chan, src| x[0][0].mapSet( \freq, val.linlin(0,127,0,1) ); }, 1 ); ) ( // using the built-in midi_cc UMapDef the score would be created like this: y = UScore( UChain( [ 'sine', [ 'freq', [ 'midi_cc' ...

  2. remapping Quark

    ... set synth [outputs, q.synths].flopWith{ |sig, synth| synth.enSetSink(\freq, sig.linlin(0.0,1.0,200.0,2000.0) ) }; //set GUIs currentOrder.collect{ |array| IO{ [array, q.labels].flopWith{ |i, label| defer{ q.texts[i].string_( label ) } } } } ...

  3. granbuf Quark

    ... mpulse.ar(dens * (1-trigrand)) + Dust.ar(dens * trigrand); var sndbuf2 = sndbuf.linlin(0, 1, *Ndef(\granbuf).getHalo(\sndBufRange)); var sndbuf3 = sndbuf2 + Latch.ar(WhiteNoise.kr(sndbufvar), trig).round(1); var filepos = Phasor.ar(0, 1 / S ...

  4. trigSoundFile Quark

    ... mChannels, \soundFile, trigger, 0 ); rate = rate * \rateScale.kr( 1 ) * reverse.linlin(0,1,1,-1); sig = PlayBufCF.ar( numChannels, bufnum, rate, trigger, pos * BufFrames.ir( bufnum ), loop, crossfade, 4 // 4 voices ); sig = sig * Peak.kr( t ...

  5. MHexPad Quark

    ... w.mouseUpAction = { |vw, x, y| if( autoUpTime == inf ) { this.upValueAction = y.linlin( 0, vw.bounds.height, 1, 0 ); }; }; } { this.view.mouseUpAction = { |vw, x, y| this.upValue_(0); this.valueAction = 0; this.pressed = false; }; } } baseD ...

  6. trigSoundFile Quark

    ... mChannels, \soundFile, trigger, 0 ); rate = rate * \rateScale.kr( 1 ) * reverse.linlin(0,1,1,-1); sig = PlayBufCF.ar( numChannels, bufnum, rate, trigger, pos * BufFrames.ir( bufnum ), loop, crossfade, 4 // 4 voices ); sig = sig * Peak.kr( t ...

  7. switchActionsFRP Quark

    ... set synth [outputs, q.synths].flopWith{ |sig, synth| synth.enSetSink(\freq, sig.linlin(0.0,1.0,200.0,2000.0) ) }; //set GUIs currentOrder.collect{ |array| IO{ [array, q.labels].flopWith{ |i, label| defer{ q.texts[i].string_( label ) } } } } ...

  8. SGME_TooltipHandler Quark

    ... refix = pref; makeTextFunc = makeText; if (function.isNil) { funcParam = {|v| v.linlin(0, 1, min, max).round(0.01)}; } { funcParam = function; }; this.setupTooltip; ^this; } setupTooltip { view.mouseEnterAction = { this.updateTooltipPositio ...

  9. MetronomeCP Quark

    ... /* Pdef(\metronome, Pbind(\instrument, \metronome, \amp, metronomeVolume.value.linlin(0,1,0,0.5), \dur, 1, \freq, 800, \out, metroOutBox.value - 1 )).play(options.tempoClock, quant:[1]); */ /* }); */ } windowName { ^"Metronome" } windowHei ...

  10. extSpec-massEdit Quark

    ... ay.flat.maxItem ]; } { ^[minval, maxval]; }; } massEdit { |inArray, params| var linlinArgs; linlinArgs = this.unmap( this.massEditValue( inArray ) ) ++ this.unmap( params ); ^inArray.collect({ |item| this.map( this.unmap( item ).linlin( *li ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow