Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1763) Code (152) Doc (640) Help (197) Quark (771) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. NumberEditor Quark

    ... u are using this for i_freq spec = spec.as(ScalarSpec); // if you wanted it for patterns or instr then use a simple NumberEditor }); } rate { ^spec.rate } // \scalar or \static addToSynthDef { arg synthDef,name; synthDef.addIr(name,this.syn ...

  2. NumberEditor Quark

    ... u are using this for i_freq spec = spec.as(ScalarSpec); // if you wanted it for patterns or instr then use a simple NumberEditor }); } rate { ^spec.rate } // \scalar or \static addToSynthDef { arg synthDef, name; synthDef.addIr(name, this.s ...

  3. startup10-melodic Quark

    ... index % buf.size; // or should this just be 0? }); currentEnvironment }; ~asNotePattern = { // Pfunc is roughly 6.7 times SLOWER than Prout Prout({ |inval| ~repeats.do { ~index = 0; while { ~index < ~sequence.size } { inval = ~sequence[~ind ...

  4. StringConverter Quark

    ... // remove them later.. // accept variuable names // resource key is ignored by pattern matching. "abcdefghijklmnopqrstuvwxyz".do { |char| events = events.add(char.asString); events = events.add({ ().addResource(\varname, char.asSymbol) }) ...

  5. GUI-Introduction Doc

    ... he views created as its children will automatically be positioned in a specific pattern. See documentation of FlowLayout for details. w = Window.new("GUI Introduction", Rect(200,200,320,320)).front; // notice that FlowLayout refers to w.vie ...

  6. MKtlElement Quark

    ... tAction)); this.resetAction; } resetAction { action = nil } flat { ^[this] } // pattern support embedInStream { |inval| this.value.embedInStream(inval); ^inval } asStream { ^Pfunc({ |inval| this.value }).asStream } // UGen support updateBus ...

  7. SynthDesc Help

    ... nction which is used to create an array of arguments for playing a synth def in patterns SynthDescLib .global.synthDescs.at( \default ).msgFunc.postcs; SynthDescs are needed by the event stream system, so when using Pbind , the instruments' ...

  8. OSCMKtlDevice Quark

    OSCMKtlDevice : MKtlDevice { classvar <protocol = \osc; classvar inversePatternDispatcher; classvar messageSizeDispatcher; var <source; // the NetAddr from which SC is receiving OSC from the source var <destination; // the addr SC should se ...

  9. API-old-help Quark

    ... ion: 2); OffsetOut .ar(out, Pan2 .ar(audio, pan, env) ); }).add; // I never use patterns. I don't get why amp doesn't work or why <> doesn't work pbind = patt; //patt <> Pbind(\instrument,\tinker,\dur,0.125) // API api = API ( 'stepper' ); ...

  10. SeqChordNote Quark

    ... il ] // 64-60 = 4 [ 7, 2.9, 2.9, nil ] // 67-60 = 7 To play the chord back, use patterns and streams. p = n.asStream; while { p.next.postln.notNil }; [ 60, 0.05, 3, nil ] [ 64, 0.05, 2.95, nil ] [ 67, 2.9, 2.9, nil ] nil This works also if ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow