Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3120) Code (144) Doc (1251) Help (358) Quark (1341) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. InstrGateSpawner Doc

    ... rd changes Pfunc({ arg igs; ( // choose degree convert it via a scale to a note number ( [1,3,5].choose.degreeToKey([ 0, 1, 4, 8, 12 ]) ) // choose an octave + 30 + [0,11,23,35].choose // 1 4 5 1 chord progression + [1,4,5,1].wrapAt(igs.bea ...

  2. ControlValue Quark

    ... ndle(nil, { var value = this.value.asArray; value = value.collect { |v| if (v.isNumber) { v } { spec.items.indexOf(v) } }; bus.set(*value) }); }; } free { super.free(); bus.free; bus = nil; } asMap { ^this.bus.asMap } asControlInput { ^this ...

  3. ModalityTutorial Doc

    ... elem| z !? _.set(\freq, elem.value.linlin(0.0, 1.0, 50, 2000) ) }); //knob 1 -> number of harmonics k.elAt(\kn, 1).action_({ |elem| z !? _.set(\numHarmonics, elem.value.linexp(0.0, 1.0, 1, 50) ) }); ) ⧉ ✔ ... Now you can control four parame ...

  4. Young Mr. Markov by paparde (Paparde) Code

    ... The above set probabilities randomly generate two arrays of 16 and 32 midi numbers. The range is 25 notes long, from A(220Hz) to A(880Hz)*/ ( //<-EVALUATE THE MUSICAL DICTIONARY--------------------------------------------------- ...

  5. AssemblageMixer Quark

    ... to a bus that does not exist (e.g. snd t 1 1 -6, where -6 is read //as the bus number) used to throw an error and leave an Ndef 'inBus-6' if(busNum != 0 and: { mixTrackNames.includes(("bus" ++ busNum).asSymbol).not }, { ("Bus " ++ busNum + ...

  6. proto-cmds Quark

    ... { ~pdefs.do({ |pdef| pdef.player.addDependant(currentEnvironment) }); if(~dur.isNumber and: { ~dur.isStrictlyPositive }) { stopTime = thisThread.clock.beats + ~dur; thisThread.clock.sched(~dur - 0.001, inEnvir { ~stop.value((notifyTime: sto ...

  7. pitch-processes Quark

    ... cll event is a true rest, e.g. 'x', then the top note is a Rest() // and not a number -- but top notes being numbers is a precondition for // ProtoEvent(\macroRh) to forward to the child process. So the child never // fires and never has a ...

  8. NMLAddressing Quark

    ... Dict like class that provides a way to register Servers automatically between a number of Peers // the addrBook contains NetAddrs for Peers (sclang!) that will add servers // the dataspace is a shared dictionary of ips and ports // for 1 se ...

  9. FoaAudition Quark

    ... : FoaAudition // // The Ambisonic Toolkit (ATK) is intended to bring together a number of tools and // methods for working with Ambisonic surround sound. The intention is for the toolset // to be both ergonomic and comprehensive, providing ...

  10. AlgaSynthDef Quark

    ... rectly produced by an out ugen // this allows us to conveniently write constant numbers to a bus from the synth // if you want the synth to write nothing, return nil from the UGen function. if(isScalar and: { output.notNil } and: { buildSyn ...

prev 291 292 293 294 295 296 297 298 299 300 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow