Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1204) Code (149) Doc (369) Help (93) Quark (575) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. moogSingORIG Quark

    ... { curr * 1.618 }, 1).postln; Ndef(\moogSing).set(\reso, curr); }); // could add Scales here, for sure... Ndef(\moogSing).addHalo(\stepFreq, { arg val; var curr; "moogsing - \stepFreq: ".post; curr = Ndef(\moogSing).get(\moogRoot); curr = if ...

  2. 4a_Connecting_interfaces Quark

    ... ween old and new element value/position, knob.value - knob.prevValue, // can be scaled by a zoom value, here fixed at 1 1 ); }; }; // For detailed examples, see the nanoKtl and uc4 files: Document.open(NTMI.dir.setup +/+ "3_interfaces/optio ...

  3. tutorial-synths Quark

    ... Tidal param and needs to be defined) // most of these SynthDefs use sustain to scale the overall envelope, and many use accelerate to provide a pitch glide // // tutorial1, tutorial2, tutorial3, tutorial4, tutorial5(f!), // supermandolin(d ...

  4. SCMMultiStepView Quark

    ... r it's a child of View and the child views are organised by a layout, so it can scale. * * SCMMultiStepView(nil, 400@100, \db.asSpec, 0.5, "test").front().action_({ |v| v.postln; }).labelText_("Label test").value_(1.0.rand).value.postln; * ...

  5. UEQ Quark

    ... onses values = eqSetting.magResponses( freqs ).ampdb.clip(-200,200); // sum and scale magResponses svals = values.sum.linlin(range.neg,range, bounds.height, 0, \none); // draw summed magResponse Pen.strokeColor = Color.blue(1.0).alpha_(0.5) ...

  6. XMLNote Quark

    ... (meter: XMLMeter (4, 4), key: XMLKey .major( \Bf ))); // create a B-flat major scale in quarter notes // uses XMLVoice's internal 'clock' to keep track of beats [58, 60, 62, 63, 65, 67, 69, 70].do({ arg keynum; y.add( XMLNote (keynum, y.no ...

  7. ArrayTransformerView Quark

    ... orDef.loadOnceFromDefaultDirectory; ^(editDefs ?? { [ \line, \random, \offset, \scale, \tilt, \curve, \smooth, \round, \rotate, \sort ] }) .asCollection .collect({ |item| ArrayTransformer.fromDefName( item ) }) .select(_.notNil) .collect(_. ...

  8. SegWarp Quark

    ... time, curve ], etc.. ] input array can also hold single levels, which get times scaled between 0 and 1 first time always becomes 0, last time is always 1 times are sorted SegWarp.cleanArray( [0,1] ); -> [ [ 0, 0, lin ], [ 1, 1, lin ] ] SegW ...

  9. MIDIRecSocket-support Quark

    ... uf = this.copy; // make a new buf durs = this.durs; buf.notes.do({ |note, i| // scale to integer level, round to int, and scale back to adjusted value newdur = (durs[i] / base).round * adjustedBase; (newdur > 0).if({ note.length_(note.lengt ...

  10. MIDIRecSocket-support Quark

    ... uf = this.copy; // make a new buf durs = this.durs; buf.notes.do({ |note, i| // scale to integer level, round to int, and scale back to adjusted value newdur = (durs[i] / base).round * adjustedBase; (newdur > 0).if({ note.length_(note.lengt ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow