Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (59) Code (8) Doc (24) Help (5) Quark (21) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Event_patterns_and_array_args Doc

    ... and/or rewriting the SynthDef with other sizes. // For those reasons the use of NamedControl turns out to be very convenient with array args, // it also gives an easy way of lagging. ( // Alternative to SynthDef \array_1a using NamedControl ...

  2. Test1 Quark

    ... ; s.sync; Synth(\setbus, [\out, a.index]); Synth(\sine, [\freq, a.busArg]); } ) NamedControl ( a = AlgaBus(s, 2, \audio); AlgaSynth(\algaInterp_audio1_audio1, [\in, 0.5, \fadeTime, 0.5, \out, a.index]; ); {Out.ar(0, InBus.ar(a.bus, 2))}.pla ...

  3. psSet-event-type Quark

    ... us_audio_" ++ i, { arg out = 0, fadeTime = 0, curve = 0, gate = 1; var values = NamedControl.ir(\values, 0 ! i); var env = Env([In.ar(out, i), values, values], [1, 0], curve, 1); var sig = EnvGen.ar(env, gate + Impulse.kr(0), timeScale: fad ...

  4. ControlName Doc

    ... SynthDesc , SynthDef Description For an explicit creation of control names see: NamedControl , Control Class Methods Inherited class methods Undocumented class methods ControlName. new ( name , index , rate , defaultValue , argNum , lag ) I ...

  5. asPluggable-ext Quark

    ... te; if(rate == \audio and: { UGen.buildSynthDef.canReleaseSynth.not }) { gate = NamedControl.kr(\gate, 1); fadeTime = NamedControl.kr(\fadeTime, 0.02); result = result * EnvGen.kr( Env([fadeTime < 0, 1, 0], [fadeTime, fadeTime], releaseNode ...

  6. SynthSnapshot Doc

    ... SynthDef , as reported by the server. . controls Returns: An Dictionary mapping NamedControl names to values of those controls at the time of the snapshot. Inherited instance methods Examples fork { SynthDef(\outputTest, { |out, freq| var s ...

  7. JMDecompiler-ext Quark

    ... tw Control.names doesn't work for arrayed controls // maybe have to concatenate NamedControls for those? + Control { streamCode { |key, stream, decomp| var contents = this.getPairs(key, decomp); case // we should now never reach this branch ...

  8. SynthDef Doc

    ... l to be defined in the SynthDef. There are two ways to define arrayed controls: NamedControl -- recommended for flexibility and clarity. Literal arrays (as noted above). NamedControl can accept default values determined in code. For example ...

  9. Sequencer Quark

    ... ndReply.perform( UGen.methodSelectorForRate(rate), trig, cmd, args, replyID ); ^NamedControl.perform( UGen.methodSelectorForRate(rate), "sequencer_in_" ++ replyID, 0.0 ! args.size.max(1) ); } *respond { |msg, addr| var res, nodeID, replyID, ...

  10. Bend Doc

    ... [original, original.isNumber, index].postln; if(original.isNumber) { original = NamedControl.kr("bend_"++index, original); index = index + 1; }; original; }, { f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; // glissando fun ...

prev 1 2 3 4 5 6 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow