Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1204) Code (149) Doc (369) Help (93) Quark (575) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. XMLScore 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 ...

  2. SSWorldView Quark

    ... ///////////////////////////// SSWorldView { var <world; var drawFunc; var <>textScale=10; var <>writeText=true; var <>f=0.75; //focal point for perspective drawing *new{ |ssWorld| ^super.new.init(ssWorld); } init { |ssWorld| world=ssWorld; ...

  3. MultiSplineGui Quark

    ... , 75); times = MultiSliderView(layout, 100@150); times.action = { var t, total, scale, maxValue; t = times.value; total = t.sum; scale = maxTime / total; t = t.integrate * scale; model.setDimValues(0, [0] ++ t ); model.initTable.changed; }; ...

  4. InfluxMix Quark

    ... ec(\damping, [0, 1]); // damping 0 is linear sum of contribs, // damping 0.5 is scaled by sqrt of contribs (equal power sum) // damping 1 is linear average defaultMergeFunc = { |in, out, trusts, damping = 0.5| var outval, contrib; in.keysVa ...

  5. Core_04 Quark

    ... normalizeImportedTracks = { |tracks, targetFrameSum = 0.22| var frames, maxSum, scale; if(tracks.isNil or: { tracks.isEmpty }) { tracks } { frames = tracks[0][\points].size; maxSum = 0.0; frames.do { |frameIdx| var sum; sum = 0.0; tracks.do ...

  6. SETOTarsusServer Quark

    ... onfig, id| // all objects are from the same type (0) apart from the head (1) // scale positions according to specs setFunc.value( id, (id == head).if({1}, {0}), // assign head a different classID (1) *(config[1].collect{|val, i| specs[i].un ...

  7. XMLKey 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 ...

  8. imageExamples Quark

    ... xample 4:\ Scaling Example\ */\ (\ var image, left=0, top=0, width=0, height=0, scalex = 1.0, scaley = 1.0;\ image = Image ( "resources/earth.jpg" ); \ width = image.width;\ height = image.height;\ \ \ w = SCWindow ( "Drawing Options" , Rec ...

  9. Ferrari Quark

    ... e cookie numbers for the Thrustmaster Ferrari game controller. It knows how the scale the ctl values into a range of 0 - 1: GamePad .normMaps[ Ferrari .vendorID].postcs; *** Ferrari has the bottom fire Buttons REALLY on the bottom! *** Ferr ...

  10. FilterCoef Quark

    ... ation for a filter. If norm is set to true (by default), the a coefficients are scaled by the reciprocal of the maximum value of the frequency response. Returns an Array of arrays holding the a coefficients: (a0, a1, a2... an) and the b coe ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow