Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. PG_06a_Repetition_Contraint_Patterns Help

    ... white (0.1, 0.4, inf )), \legato , 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the Pbind infinitely // Plazy builds a new Pbind for each iteration // Pfin cuts off the Pbind when it's time for a new value p = Pn ( Plazy { Pbind ( \de ...

  2. DocumentAutoCompletion Help

    ... s (while, do, if, etc.). AutoCompMethodBrowser .exclude([ \if , \do , \while , \loop , \collect , \select , \reject , \detect , \add , \put , \at ]); AutoCompClassBrowser .exclude([... list of classes ...]); Quirks and caveats: The auto com ...

  3. SCLevelIndicator Help

    ... r(10); delimp = Delay1 .kr(imp); colum = PlayBuf .ar(1, b, BufRateScale .kr(b), loop: 1) * mul; // measure rms and Peak SendReply .kr(imp, '/levels' , [ Amplitude .kr(colum), K2A .ar( Peak .ar(colum, delimp).lag(0, 3))]); colum; }.play; ) / ...

  4. EZText Help

    ... ).envir.put(*[k, ez.value].postcs); }, v); }; Tdef ( \text , { |ev| var mydur; loop { mydur = ev.dur; (note: ev.note, dur: mydur).postln.play; mydur.wait; } }).play; ) // type these or similar functions into dur and note fields and evaluat ...

  5. EventPatternProxy Help

    ... ument , \Pdefhelp , \dur , 0.25, \degree , Pseq (#[4, 3, 1, 2]*3)); // infinite loops are scheduled (to ths clock's next beat by default) and released: a.source = Pbind ( \instrument , \Pdefhelp , \dur , 0.753, \degree , Pseq (#[0, 5, 4, 3, ...

  6. Pdef Help

    ... ment , \Pdefhelp , \dur , 0.25, \degree , Pseq (#[4, 3, 1, 2]*3))); // infinite loops are scheduled (to ths clock's next beat by default) and released: Pdef ( \a , Pbind ( \instrument , \Pdefhelp , \dur , 0.753, \degree , Pseq (#[0, 5, 4, 3 ...

  7. Environment Help

    ... .ar(0, 2); CombN .ar(in, 0.2, 0.2, 3, 1, in); }.play(addAction: \addToTail ); { loop({ orc.use({ // set values in the environment ~freq = exprand(80, 600); ~amp = 0.1; ~pan = 1.0.rand2; // call a randomly chosen instrument function // with ...

  8. Randomness Help

    ... on; // both numbers must have the same sign. Test them multiple times with a do loop: 20.do({ 5.rand.postln; }); // evenly distributed 20.do({ 1.0.linrand.postln; }); // probability decreases linearly from 0 to 1.0 20.do({ 5.0.rand2.postln; ...

  9. SoundFile Help

    ... e will be 0. Checking the array size is an effective termination condition when looping through a sound file. See the method channelPeaks for example. openWrite(inPathname) Write the header of a file. Answers a Boolean whether the write was ...

  10. SCWindow Help

    ... 3) + 1.5pi) * much + 1 }; var scale; Pen .font = Font ( "Helvetica-Bold" , 40); loop { i = i + 1; string.do { |char, j| scale = func.value(i, j).dup(6); Pen .fillColor = Color .new255(0, 120, 120).vary; Pen .matrix = scale * #[1, 0, 0, 1, 1 ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow