Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. Other event and pattern shortcuts Quark

    ... notes get shorter durations ( a = [ m: { rrand(60, 100) }, // midinote d: { ~m .linlin(60, 90, 3, 0.1) } // dur ] ) // suppose EventShortCuts are turned on // make an Event and see its data, then play, try several times x = a.ev x.on // sam ...

  2. Core_01 Quark

    ... eHighV69bb = hi; setSlider = { |view, val| if(view.notNil) { { view.value = val.linlin(0.0, 3.0, 0.0, 1.0).clip(0.0, 1.0) }.defer }; }; setSlider.(~noiseAmountSliderV69bc, amt); setSlider.(~noiseLowSliderV69bc, lo); setSlider.(~noiseMidSlid ...

  3. SuperDirtUGens Quark

    ... t even one channel. Can't pan no channel, sorry.").throw }; span = span * splay.linlin(0, 1, numChannels / n, 1); pan = pan + 1; // for PanAz, the first/last channel is not 0, but 1. channels = signals.collect { |x, i| var panOffset = i / ( ...

  4. mugic-spat-con-gui Quark

    ... lider() .action_({|slider| model.tracks[i].gesture_playback_rate = slider.value.linlin(0,1,0.25,4,) }) .mouseDownAction_({|v,x,y,m, buttonNumber| if (buttonNumber >= 1) { model.tracks[i].gesture_playback_rate = 1 }; buttonNumber >= 1 }), St ...

  5. wfsPathSequencer Quark

    ... Time * (1-fadePos)); endFade = startFade + fadeTime; fade = SinOsc.kr( 0, sweep.linlin(startFade, endFade, -0.5pi, 0.5pi, \minmax) ); //fade.poll( label: i.asString ); sig = LinXFade2.kr( sig, path, fade ); }); UMixOut.kr( 0, sig ); }) .cat ...

  6. extVarGui_3 Quark

    ... nctCubePoints(3) }; x.collect({|j| var q = (greyMode.not.if { p[j] }{ p[j]!3 }).linlin(0,1, 1 / (1 + colorDeviation), (1 + colorDeviation)); Color(c.red * q[0], c.green * q[1], c.blue * q[2]); }) }; columnBreakCheck = { |i| (r > rMax).if { ...

  7. WFSArrayPanSynthDefs Quark

    ... rPoints = numArrays.collect({ |i| [ ("arrayConf" ++ i).asSymbol .ir( [ 48, 5, i.linlin(0,numArrays, 0.5pi, -0.5pi), 0, 0.164 ] ), ("cornerPoints" ++ i).asSymbol.ir( [ 5, -5, 0.5pi, 0.5pi ] ) ] }).flop; crossfadeLag = \crossfadeLag.kr( cross ...

  8. PartConvBuffer Quark

    ... //synthesise the honourable 'Dan Stowell' impulse response ir = ((0..dur*44100).linlin(0,dur*44100,1,0.125).collect({ |f| f = f.squared.squared; f = if( f.coin ) { 0 } { f.squared }; f = if( 0.5.coin ) { 0-f } { f }; }) ) * (-27.dbamp); if( ...

  9. NumberEditorGui Quark

    ... 0; },{ range = 300.0; }); move = move.clip(range.neg,range); unimove = move.abs.linlin(0.0,range,0.0,1.0); if(move > 0,{ val = (startValue + unimove); },{ val = (startValue - unimove); }); model.setUnmappedValue( val.clip(0.0,1.0) ); }); }; ...

  10. NumberEditorGui Quark

    ... }, { range = 300.0; }); move = move.clip(range.neg, range); unimove = move.abs.linlin(0.0, range, 0.0, 1.0); if(move > 0, { val = (startValue + unimove); }, { val = (startValue - unimove); }); model.setUnmappedValue( val.clip(0.0, 1.0) ); ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow