Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (317) Code (69) Doc (87) Help (34) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. XiiPlayer Quark

    ... GUI.font.new("Helvetica", 9)) .action_({ arg butt; var a, chNum, dur, filepath, pFunc; if(txtv.items.size > 0, { [\soundfile, soundfile].postln; if(PathName(soundfile).isFolder.not, { if(butt.value == 1, { group = Group.new(server, \addToHe ...

  2. HS Quark

    ... midinote , Pkey ( \val ) ]).play; // also: // p = PHS(h, [], 0.15, [ \midinote, Pfunc { |e| e.use { ~val } } ]).play; // stop allows resuming, cleanup with free or Cmd-. p.stop; // HS synth still playing p.play; // resume the PHSplayer p.st ...

  3. Scale Help

    ... , Pseq ([0, 1, 2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1, 0, \rest ], inf ), \scale , Pfunc ({ a }, inf ), \dur , 0.25 ); q = p.play; }) ) // change scale a = Scale .phrygian; // change tuning a.tuning_( \just ); // can also set tuning at creatio ...

  4. startup10-melodic Quark

    ... e; // 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[~index].embedInStre ...

  5. HS Doc

    ... [ \midinote, Pkey(\val) ]).play; // also: // p = PHS(h, [], 0.15, [ \midinote, Pfunc { |e| e.use { ~val } } ]).play; // stop allows resuming, cleanup with free or Cmd-. p.stop; // HS synth still playing p.play; // resume the PHSplayer p.st ...

  6. Env editor with knobs to edit individual points by 0-2U (grirgz) Code

    ... , sig); }).add; ); ( Pdef(\plop, Pbind( \instrument, \ftest, \fenv, Pfunc ({ ~ctrl.get_env }), \freq, 200, \dur, 1, \amp, 0.1 )).play; ) ~ctrl.edit;

  7. startup10-melodic Quark

    ... e; // 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[~index].embedInStre ...

  8. lead-vc Quark

    ... d-coding 3 octave drop: fix later argPairs: [amp: 0.5], postArgs: Pbind( \fund, Pfunc { |ev| var rootFreq, mode, octaveRatio; // doesn't check scale/tuning change if(~saveFundFreq.isNil or: { ~modeChanged ?? { false } }) { if(ev[\mode].notN ...

  9. MKtlElement Quark

    ... t embedInStream { |inval| this.value.embedInStream(inval); ^inval } asStream { ^Pfunc({ |inval| this.value }).asStream } // UGen support updateBus { bus !? {bus.setn(this.value.asArray)}; } initBus {|server| server = server ?? { Server.defa ...

  10. startup01-events Quark

    ... t, delta and sustain will have the same value ~sustain = Pkey(\delta); ~synth = Pfunc({ ~objects.keys.choose }); // when you clone, if you need extra preparation, do ~userpreps = ~userpreps.copy.add({ ... }); ~userpreps = List.new; // chuck ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow