Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. grids_poc Quark

    ... en, jBetween, level; // make sure we stick in 0..31 curBeat = curBeat%32; x = x.clip(0, 1); y = y.clip(0, 1); // get relevant map indices so 0..1 gets mapped to 0..3 // b/c drum map is 5x5 and we have a window of 2x2 so // we need to respec ...

  2. MarkovSynth Doc

    ... Signal input. Should be a signal between -1 and 1. Higher and lower values are clipped and inserted into table as that. isRecording if non-zero, MarkovSynth populates the internal table with its signal input. waitTime Defines the wait time ...

  3. ScGrids Quark

    ... ickMap} ); // make sure we stick in 0..31 curBeat = curBeat.asInteger%32; x = x.clip(0, 1); y = y.clip(0, 1); // get relevant map indices so 0..1 gets mapped to 0..3 // b/c drum map is 5x5 and we have a window of 2x2 so // we need to respec ...

  4. WFSPointArray Quark

    ... tion_({|v, x, y, mod| var point, tempPath, dif; if(currentIndex.notNil) { x = x.clip(0,window.view.bounds.width); y = y.clip(0,window.view.bounds.height); point = WFSPoint(x,y).fromScreenCoord(bounds,fromRect); switch(this[currentIndex].cla ...

  5. WFSArrayPanDirSpecs Quark

    ... e.asCollection; if( value.size != 4 ) { value = value.extend( 4, 0 ); }; ^value.clip([0,0,0,1], [1, 1, 1, 8]).round([0,0,0,1]); } map { |value| ^this.constrain( value ); } unmap { |value| ^this.constrain( value ); } storeArgs { ^[ default ] ...

  6. MView Quark

    ... ); ghostWidthHalf = ghostBounds.width; ghostBounds.left = xpos - ghostWidthHalf.clip(0, dict[\width]); ghostLabel.drawCenteredIn( Rect.aboutPoint(centPt, ghostWidthHalf, dict[\height] *0.5), dict[\hiFont]); }; }); } drawNumber { switch(this ...

  7. EQui Quark

    ... r = Color.gray(0.2).alpha_(0.5); Pen.addRoundedRect( bounds.insetBy(0,0), 6, 6).clip; Pen.color = Color.gray(0.2).alpha_(0.125); hlines.do({ |hline,i| hline = hline.linlin( range.neg,range, bounds.height, 0, \none ); Pen.line( 0@hline, boun ...

  8. Say Quark

    ... s; classvar <defaultVoiceName; classvar <pendingPIDs, <>maxPIDs = 10; classvar <clipRate = true; classvar <>minRate = 90, <>maxRate = 720; *killAll { thisProcess.platform.killAll("say") } *initClass { Platform.case(\osx, { fxVoiceNames = [ ...

  9. Accurate Yamaha DX-7 Emulation Using Supercollider by egegonul (egegonul) Code

    ... 126.0 - 21.0) * 127.0 / 128.0 * 6.5 )- 0.5).asInt; vrx = (rate_scaling + vrx).clip(0,99); vrv = vrv.clip(0,99); velFin = (velTable[velo] * velSens); //~vrv = ((~vrv+(~velTable[~velo] * ~velSens)).clip(0,127));//old version env_L0 ...

  10. SCLOrkChatMessageView Quark

    ... ntSize); if (chatMessage.isEcho, { contentsTextView.align = \right; }); } ); // Clip lengthy code segments so they don't blow up the chat if (chatMessage.type === \code, { if (contentsTextView.sizeHint.height > codeMaxHeight, { contentHeigh ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow