Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. FilePathView Quark

    ... ler ) .mouseDownAction_({ this.makeMenu }); views[ \filePath ].setProperty(\wordWrap, false); views[ \browse ] = SmoothButton( view, viewHeight @ viewHeight ) .radius_( 0 ) .border_(0) .resize_( 3 ) .label_( 'folder' ) .action_({ this.brows ...

  2. Influx Quark

    /* todo Influx: * implement clip, fold, wrap, compression for outvals (as in Nudge) * write a method for making skewed diagonals * flexify weights * allow using weights presets: * make basic named ones once when called, then lookup * distin ...

  3. PLbindefPar Quark

    ... o additive // use EventShortcuts EventShortcuts .on ( PLbindefPar ( \y , 12, // wrapped indexing: collection is used for all 12 streams \i , [ \saw_grain , \sin_grain , \noise_grain ], \d , (1..12)/100, \m , { rrand(60, 90) } ! 12, \a , 0.0 ...

  4. extSignal Quark

    ... new(this, imag) } /* zeros */ *zeroFill { arg size; ^Signal.newClear(size) } /* wrapping */ wrapExtend { arg size; ^this.as(Array).wrapExtend(size).as(Signal) } /* sine */ /* cosine */ *cosineFill { arg size, amplitudes, phases; ^Signal.new ...

  5. Gen Quark

    ... n Patterns due to more allocation. The GenStream class defined in Stream.sc can wrap a Gen as a Stream. */ Gen : AbstractFunction { var <>current; *new { arg current; ^super.newCopyArgs(current) } genCurrent { ^current } genNext { ^this.nex ...

  6. SmoothSlider Quark

    ... sPerformAction = false; var <>outOfBoundsAction; var <>clipMode = \clip; // or \wrap, \fold (or any unary or binary op) var <string, <font, <align, <stringOrientation = \h, <stringAlignToKnob = false; var <>shift_scale = 100.0, <>ctrl_scale ...

  7. All_Interface_Functions Quark

    ... ors NTMI.inph.setWPreIndex(0); // go to 0, red // jump to a random choice, this wraps NTMI.inph.setWPreIndex(100.rand.postln); // 2b. change inphlux preset relative, by step: 1 -> up, -1 is down, nil -> random NTMI.inph.stepWPre(1); NTMI.in ...

  8. MxApp Quark

    ... //paste prInit { cache = IdentityDictionary.new; } prFind { arg obj; // gets or wraps the object in an app class wrapper var app; ^cache[obj] ?? { app = (obj.class.name.asString ++ "App").asSymbol.asClass.new(obj, this); cache[obj] = app; a ...

  9. wsGui_examples Quark

    ... with newline \nhere but also html <br> newline and and and and and and it also wraps long lines") c.font_(Font.new(\Courier).size_(16)) c.background_(Color.yellow); //change if you don't want the default transparent; setting transparency c ...

  10. ControlValue Quark

    ... ems.size > 0) { index = spec.items.indexOf(this.value); this.value = spec.items.wrapAt(index + 1); } } prev { var index; if (spec.items.size > 0) { index = spec.items.indexOf(this.value); this.value = spec.items.wrapAt(index - 1); } } } Bus ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow