[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider:[8320] trunk/build/Help/Streams-Patterns-Events/ Pmono.html



Revision: 8320
          http://supercollider.svn.sourceforge.net/supercollider/?rev=8320&view=rev
Author:   danstowell
Date:     2008-12-29 10:58:43 +0000 (Mon, 29 Dec 2008)

Log Message:
-----------
Pmono helpfile, add note about using event type \set

Modified Paths:
--------------
    trunk/build/Help/Streams-Patterns-Events/Pmono.html

Modified: trunk/build/Help/Streams-Patterns-Events/Pmono.html
===================================================================
--- trunk/build/Help/Streams-Patterns-Events/Pmono.html	2008-12-29 10:32:24 UTC (rev 8319)
+++ trunk/build/Help/Streams-Patterns-Events/Pmono.html	2008-12-29 10:58:43 UTC (rev 8320)
@@ -59,5 +59,15 @@
 <p class="p4">p.stop;</p>
 <p class="p5"><br></p>
 <p class="p5"><br></p>
+<p class="p3">Note:</p>
+<p class="p3">A related approach is to instantiate a Synth yourself and then set its values by using an Event whose "type" is \set, as illustrated here:</p>
+<p class="p5"><br></p>
+<p class="p4">x = {|freq=440, amp=0.6| MoogFF.ar(PinkNoise.ar(amp), freq).dup}.play</p>
+<p class="p6">// we specify type:\set and also the nodeID for the synth:</p>
+<p class="p4">p = Pbind(<strong>\type, \set,</strong> \freq, Pwhite(100, 1000), \dur, 0.2, \amp,
+Pseq((1,0.99 .. 0.1), inf), <strong>\id, x.nodeID</strong>).play</p>
+<p class="p4">p.stop</p>
+<p class="p4">x.free</p>
+<p class="p5"><br></p>
 </body>
 </html>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/