Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Exercise_14_HOA_NRT_decoding_script Doc

    ... ptions.sampleRate; // length of the soundfile 2 convert ~myScore = Score.new(); Routine.run{ // we need to load the soundfile to get the buffer number for the NRT server ~sndbufBundle = s.makeBundle(false, { ~sndbuf = Buffer.read(s, ~hoaSou ...

  2. SimpleNumber Doc

    ... OT FOUND! Returns: this as Cartesian . x = y = z = this. timing . wait within a routine, yield the number so that the clock can wait for this many beats. Outside a Routine, this trows an error (see also Routine for details). Discussion: Cre ...

  3. RedSamp Doc

    ... reForPlay(\buf2, b, 20000, 10000) a.prepareForPlay(\buf3, b, 30000, 10000) ( r= Routine.run({ 99999.do{|i| a.play([\buf0, \buf1, \buf2].choose, 0.5, 0.5, 0.5, 0.1, [0, 1].choose); //key, atk, sus, rel, amp, out 0.1.wait; }; }); ) r.stop; a. ...

  4. Exercise_13_HOA_NRT_conversion_script_N3D_SN3D_FUMA Doc

    ... ptions.sampleRate; // length of the soundfile 2 convert ~myScore = Score.new(); Routine.run{ // we need to load the soundfile to get the buffer number for the NRT server ~sndbufBundle = s.makeBundle(false, { ~sndbuf = Buffer.read(s, ~hoaSou ...

  5. softPut Doc

    ... }); // knows it was in control EZSlider(w, 340@30, \knowsLast, [0.03, 3, \exp], Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Pdef(\test).softSet(\dur, newVal, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); ) ...

  6. Polymorphism Doc

    ... lock ( var w, r; w = Window.new("trem", Rect(512, 256, 360, 130)); w.front; r = Routine({ arg appClockTime; ["AppClock has been playing for secs:",appClockTime].postln; 60.do({ arg i; 0.05.yield; w.bounds = w.bounds.moveBy(10.rand2, 10.rand ...

  7. Diamond Doc

    ... gious ratios to return in the chord. This defaults to 3 for a triad Returns: An Routine which yields a stream of arrays of ratios . getInterval For a given x and y index, return a ratio Arguments: x The index in the diamond row for o[x]/o[y ...

  8. How-to-Use-the-Interpreter Doc

    ... 9 of the following lines and press 'Enter': w = Window.new("Fading").front; r = Routine({ 200.do({|i| w.view.background = Color.blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock.play(r); ⧉ ✔ Some examples do requir ...

  9. RedDifferentialManchesterCode Doc

    ... te OffsetOut.ar(out, src*amp!2); }).add; ) //test counter ( t= 2400; //datarate Routine.run({ var encoder= RedDifferentialManchesterCode(8); inf.do{|i| var byte= (i%256).asInteger; var data= encoder.encodeValue(byte); s.bind{ Synth(\redBits ...

  10. ServerClock Doc

    ... t a time ~clock= ServerClock.new; ~clock.play(100,s); //will wait on trigID 100 Routine.run({ ~buffers= BBCutBuffer.array([Platform.resourceDir +/+ "sounds/break.aiff",Platform.resourceDir +/+ "sounds/break2.aiff"],[8,4]); //choose some fil ...

prev 21 22 23 24 25 26 27 28 29 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow