Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. AudacityLabels Quark

    ... daten[1].replace(",", ".").asFloat; wort = daten[2]; if(wort.isEmpty or: { wort.every { |char| char.isSpace }}) { wort = numberWord; numberWord = numberWord + 1; } { wort = wort.asSymbol }; dict.putEvent(wort, (t0:t0, t1:t1)); if(verbose) { ...

  2. WFS_Specs Quark

    ... gToBase(10,3) ++ ".wfspath" ); i = i + 1; }; }); if( WFSPathBuffer.writeServers.every(_.isLocal).not ) { SCAlert( "please run the 'Distribute SoundFiles' script\nto copy the paths to all servers" ); }; }); }); view.view.onClose_({ if( vws[ ...

  3. preprocessor-generators Quark

    ... ?? { false }) { if(artic.tryPerform(\canBePool) ?? { false }) { artic.poolArgs.every { |item| // poolArgs is array-of-args // each arg may be a Proto or an array item.asArray.every(~isValidArtic) }; } { if(artic.size > 0) { artic.every(~is ...

  4. CtkScore Quark

    ... eates a granular gesture of duration. Each grain is 0.1 seconds long, new grain every 0.02 seconds */ grainfun = { arg starttime, duration, ampenv, lowfreq, hifreq; var now, note, thisgroup; now = 0; ampenv.times = ampenv.times.normalizeSum ...

  5. SSObject Quark

    ... SSWorld update routine update { // gravity values are in m/s/s, but we apply it every stepFreq if (gravity) { this.addForce(world.gravity/world.stepFreq) }; if (friction) { this.vel_(this.vel*(1-world.friction)) }; motion.next; // motionLis ...

  6. PHSpar Quark

    ... on Pseq ([0,1], inf ), // switch indices // center of help synth #0 is reset at every switch, default values for help synth #1 : [ [ \center , Pseq ([65, 90], inf )], nil ], [0.1, [ \midinote , Pkey ( \val ) /* ~val refers to current switch ...

  7. OSCMon Quark

    ... ow list of addrs found on lines - show list of message names found auto-refresh every 0.5 sec? */ OSCMon { classvar <colors; var <>bufsize, <>timeWindow, <listenFunc, <>action, <addresses, <msgNames; var <list, <w, <u; var <>verbose = false ...

  8. USessionGUI Quark

    ... ler(object) .put( \start, { button.value = 1 } ) .put( \end, { if( object.units.every({ |unit| unit.synths.size == 0 }) ) { button.value = 0; }; } ) } } /*DragCompositeView : SCCompositeView { var <object; *new{ |parent,bounds,object| ^supe ...

  9. PLx suite Quark

    ... also with patterns) // the collect function will read from envir variables with every new event ( p = Pbind ( \midinote , PLcauchy ( \m , \s ).collect( _ .clip(~lo, ~hi)), \dur , 0.1 ); ) // define the environment e = (m: 75, s: 1, lo: 60, ...

  10. MixerChannel Quark

    ... to this range. Pan ranges from -1..+1. m.level = 0.25; // sufficient in nearly every case Control automation Two techniques are used to automate level and panning: a control rate synthdef for LFOs, and a routine for linear (finite) changes ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow