Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. jitlib_asCompileString Help

    ... .kr(2) + 400 }; ~freq[5] = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts ...

  2. Pconst Help

    ... n, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( Pn ( Pbind ( \dur , Pconst (1, Prand ([1, 0.02, 0.2], inf )), \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ) ).play; )

  3. Pnsym Help

    ... ( \y , Prand ([5, 9, 1], 2)); Pdefn ( \z , Pdefn ( \y ) * 2); ( Pdef ( \play , Pbind ( \instrument , \gpdef , \harmonic , Pnsym ( Pseq ([ \x , \x , Prand ([ \x , \y ]), [ \z , \y ], \y ], inf )).trace, \dur , 0.2, \note , 10 ) ).play; ) // ...

  4. Event Help

    ... ections of keys) to specify the resultant music. See the help files Pattern and Pbind and the tutorials Streams-Patterns-Events4 and Streams-Patterns-Events5 for more details on Patterns. Patterns that return events may be played on a clock ...

  5. Plazy Help

    ... Array .series(rrand(2, 4), [1, 5].choose, 1); x.put(x.size.rand, 8+0.1.rand2); Pbind ( \instrument , \help_sinegrain , \dur , 0.12, \degree , Pseq (x, 2) ) }); Pn (a, inf ).play; )

  6. PlazyEnvirN Help

    ... PlazyEnvirN ({ arg g=0, h=0, dur=1; postf( "g: %, h: %, dur: %\n" , g, h, dur); Pbind ( \instrument , \help_sinegrain , \dur , dur, \degree , Pseq ([g, g, h, g, h], 2) ) }); ); // different variants (a <> (g: 0, h: 3, dur:0.2)).play; // sin ...

  7. writeAsPlist Help

    ... eAsPlist(" testWritePlist.plist" ); // cannot convert these objects [ Ref (pi), Pbind .new].writeAsPlist( "testWritePlist.plist" ); Dictionary [ \a -> "a" , "b" -> \b , 3 -> 3.0 ].writeAsPlist( "testWritePlist.plist" ); IdentityDictionary [ ...

  8. PG_07_Value_Conversions Help

    ... t event Using the default event prototype, pitch and rhythm can be specified in Pbind at different levels depending on the musical requirement. The default event prototype includes logic to convert higher-level abstractions into the physica ...

  9. convertRhythm Help

    ... 1, 1, -1]]], 2].convertRhythm; // negative value is tied over. // sound example Pbind ( \degree , Pseries (0, 1, inf ), \dur , Pseq ([2, [1, [1, [2, 1, 1, -1]]], 2].convertRhythm)).play;

  10. Phid Help

    ... outine ({ loop({ x.next.postln; 0.2.wait; }) }).play; ) // 'musical' example: ( Pbind ( \freq , Pseq ([ Phid ( \x ,0,8), Phid ( \y ,0,8)], inf ) * 500 + 200, \dur , Phid ( \slider ) + 0.02, \pan , Phid ( \hat ) * 2 - 1 ).play; )

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow