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

[sc-dev] SF.net SVN: supercollider:[9618] trunk



Revision: 9618
          http://supercollider.svn.sourceforge.net/supercollider/?rev=9618&view=rev
Author:   joshpar
Date:     2009-12-15 17:16:44 +0000 (Tue, 15 Dec 2009)

Log Message:
-----------
revert Language project

Modified Paths:
--------------
    trunk/Plugins.xcodeproj/project.pbxproj
    trunk/build/Help/UGens/Playback and Recording/PlayBuf.html

Modified: trunk/Plugins.xcodeproj/project.pbxproj
===================================================================
--- trunk/Plugins.xcodeproj/project.pbxproj	2009-12-15 16:01:27 UTC (rev 9617)
+++ trunk/Plugins.xcodeproj/project.pbxproj	2009-12-15 17:16:44 UTC (rev 9618)
@@ -1686,6 +1686,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = KeyboardUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -1709,6 +1710,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = MachineListening;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -1830,7 +1832,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -1878,7 +1880,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -1909,7 +1911,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				LIBRARY_SEARCH_PATHS = (
 					"$(inherited)",
 					"$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
@@ -1940,7 +1942,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -1964,7 +1966,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -1988,7 +1990,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -2012,7 +2014,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -2036,7 +2038,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -2060,7 +2062,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -2084,7 +2086,7 @@
 			buildSettings = {
 				ARCHS = "$(ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1)";
 				ARCHS_STANDARD_32_64_BIT_PRE_XCODE_3_1 = "x86_64 i386 ppc";
-				GCC_VERSION = "";
+				GCC_VERSION = 4.0;
 				OTHER_CFLAGS = (
 					"-DNO_GPL3_CODE",
 					"-DSC_DARWIN",
@@ -2114,6 +2116,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = TriggerUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2137,6 +2140,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = UnaryOpUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2160,6 +2164,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = MouseUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2183,6 +2188,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = GendynUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2206,6 +2212,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = PhysicalModellingUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2229,6 +2236,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = FFT2_UGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2252,6 +2260,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = DemandUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2275,6 +2284,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = DynNoiseUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2298,6 +2308,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = ChaosUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2321,6 +2332,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = UnpackFFTUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2344,6 +2356,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = GrainUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2367,6 +2380,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = ReverbUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};
@@ -2390,6 +2404,7 @@
 					"-DNOVA_SIMD",
 					"-DNDEBUG",
 				);
+				GCC_VERSION = 4.0;
 				PRODUCT_NAME = TestUGens;
 				SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
 			};

Modified: trunk/build/Help/UGens/Playback and Recording/PlayBuf.html
===================================================================
--- trunk/build/Help/UGens/Playback and Recording/PlayBuf.html	2009-12-15 16:01:27 UTC (rev 9617)
+++ trunk/build/Help/UGens/Playback and Recording/PlayBuf.html	2009-12-15 17:16:44 UTC (rev 9618)
@@ -5,7 +5,7 @@
 <meta http-equiv="Content-Style-Type" content="text/css">
 <title></title>
 <meta name="Generator" content="Cocoa HTML Writer">
-<meta name="CocoaVersion" content="949.43">
+<meta name="CocoaVersion" content="1038">
 <style type="text/css">
 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
@@ -13,26 +13,26 @@
 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
 p.p5 {margin: 0.0px 0.0px 0.0px 56.0px; text-indent: -56.0px; font: 12.0px Helvetica}
 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #bf0000}
-p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000; min-height: 12.0px}
-p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #0000bf}
-p.p9 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #000000}
+p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #0000bf}
+p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
 span.s1 {font: 18.0px Helvetica}
 span.s2 {color: #000000}
-span.s3 {color: #0026b4}
-span.s4 {color: #0021e7}
-span.s5 {color: #002fe0}
-span.s6 {color: #002ef6}
-span.s7 {color: #0029f7}
-span.s8 {color: #0000bf}
-span.s9 {color: #606060}
-span.s10 {color: #007300}
+span.s3 {color: #0000ee}
+span.s4 {color: #0026b4}
+span.s5 {color: #0021e7}
+span.s6 {color: #002fe0}
+span.s7 {color: #002ef6}
+span.s8 {color: #0029f7}
+span.s9 {color: #0000bf}
+span.s10 {color: #606060}
+span.s11 {color: #007300}
 span.Apple-tab-span {white-space:pre}
 </style>
 </head>
 <body>
 <p class="p1"><span class="s1"><b>PlayBuf<span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span></b></span><b>sample playback oscillator</b></p>
 <p class="p2"><br></p>
-<p class="p3"><span class="s2"><b>Inherits from: </b><a href="../../Core/Object.html"><b>Object</b></a></span><span class="s3"><b> : </b><a href="../../Core/Kernel/AbstractFunction.html"><span class="s4"><b>AbstractFunction</b></span></a><b> : </b><a href="../UGen.html"><span class="s5"><b>UGen</b></span></a></span></p>
+<p class="p3"><span class="s2"><b>Inherits from: </b><a href="../../Core/Object.html"><span class="s3"><b>Object</b></span></a></span><span class="s4"><b> : </b><a href="../../Core/Kernel/AbstractFunction.html"><span class="s5"><b>AbstractFunction</b></span></a><b> : </b><a href="../UGen.html"><span class="s6"><b>UGen</b></span></a></span></p>
 <p class="p4"><br></p>
 <p class="p1">Plays back a sample resident in memory.</p>
 <p class="p4"><br></p>
@@ -56,102 +56,102 @@
 <p class="p1"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span>A trigger occurs when a signal changes from &lt;= 0 to &gt; 0.</p>
 <p class="p1"><span class="Apple-tab-span">	</span><b>startPos</b> - sample frame to start playback.</p>
 <p class="p1"><span class="Apple-tab-span">	</span><b>loop</b><span class="Apple-converted-space">    </span>- 1 means true, 0 means false. this is modulate-able.</p>
-<p class="p5"><span class="Apple-tab-span">	</span><b>doneAction</b> - an integer representing an action to be executed when the buffer is finished playing. This can be used to free the enclosing synth, etc. See <a href="../Synth control/Envelopes/UGen-doneActions.html"><span class="s6">UGen-doneActions</span></a> for more detail.</p>
+<p class="p5"><span class="Apple-tab-span">	</span><b>doneAction</b> - an integer representing an action to be executed when the buffer is finished playing. This can be used to free the enclosing synth, etc. See <a href="../Synth control/Envelopes/UGen-doneActions.html"><span class="s7">UGen-doneActions</span></a> for more detail.</p>
 <p class="p4"><br></p>
-<p class="p1"><b>See also:</b> <a href="DiskIn.html"><span class="s7">DiskIn</span></a>, <a href="../Oscillators/BufRd.html"><span class="s7">BufRd</span></a></p>
+<p class="p1"><b>See also:</b> <a href="DiskIn.html"><span class="s8">DiskIn</span></a>, <a href="../Oscillators/BufRd.html"><span class="s8">BufRd</span></a></p>
 <p class="p2"><br></p>
 <p class="p2"><br></p>
 <p class="p2"><br></p>
 <p class="p6"><span class="s2">s.boot </span>// Boot the server, if you need to<span class="Apple-converted-space"> </span></p>
-<p class="p7"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// read a whole sound into memory</p>
 <p class="p6">// note: not *that* columbia, the first one</p>
-<p class="p6"><span class="s2">b = </span><span class="s8">Buffer</span><span class="s2">.read(s, </span><span class="s9">"sounds/a11wlk01.wav"</span><span class="s2">); </span>// remember to free the buffer later.</p>
-<p class="p7"><br></p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum), doneAction:2)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
+<p class="p6"><span class="s2">b = </span><span class="s9">Buffer</span><span class="s2">.read(s, </span><span class="s10">"sounds/a11wlk01.wav"</span><span class="s2">); </span>// remember to free the buffer later.</p>
 <p class="p2"><br></p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum), doneAction:2)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
 <p class="p1">In the above example, note how the doneAction:2 causes the synth to free itself when the buffer reaches its end.</p>
 <p class="p4"><br></p>
 <p class="p1">Note again that the number of channels must be fixed for the SynthDef. It cannot vary depending on which buffer you use.</p>
 <p class="p2"><br></p>
-<p class="p7"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// loop is true</p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum), loop: 1.0)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum), loop: 1.0)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// trigger one shot on each pulse</p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">var</span> trig;</p>
-<p class="p9"><span class="Apple-tab-span">	</span>trig = <span class="s8">Impulse</span>.kr(2.0);</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum), trig, 0, 0)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">var</span> trig;</p>
+<p class="p8"><span class="Apple-tab-span">	</span>trig = <span class="s9">Impulse</span>.kr(2.0);</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum), trig, 0, 0)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// trigger one shot on each pulse</p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">var</span> trig;</p>
-<p class="p9"><span class="Apple-tab-span">	</span>trig = <span class="s8">Impulse</span>.kr(<span class="s8">XLine</span>.kr(0.1, 100, 30));</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum), trig, 5000, 0)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">var</span> trig;</p>
+<p class="p8"><span class="Apple-tab-span">	</span>trig = <span class="s9">Impulse</span>.kr(<span class="s9">XLine</span>.kr(0.1, 100, 30));</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum), trig, 5000, 0)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// mouse control of trigger rate and startpos</p>
-<p class="p9"><span class="s8">SynthDef</span>(<span class="s10">\help_PlayBuf</span>, { <span class="s8">arg</span> out=0, bufnum=0;</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">var</span> trig;</p>
-<p class="p9"><span class="Apple-tab-span">	</span>trig = <span class="s8">Impulse</span>.kr(<span class="s8">MouseY</span>.kr(0.5, 200, 1));</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum), trig, <span class="s8">MouseX</span>.kr(0, <span class="s8">BufFrames</span>.kr(bufnum)), 1)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
+<p class="p8"><span class="s9">SynthDef</span>(<span class="s11">\help_PlayBuf</span>, { <span class="s9">arg</span> out=0, bufnum=0;</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">var</span> trig;</p>
+<p class="p8"><span class="Apple-tab-span">	</span>trig = <span class="s9">Impulse</span>.kr(<span class="s9">MouseY</span>.kr(0.5, 200, 1));</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum), trig, <span class="s9">MouseX</span>.kr(0, <span class="s9">BufFrames</span>.kr(bufnum)), 1)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// accelerating pitch</p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">var</span> rate;</p>
-<p class="p9"><span class="Apple-tab-span">	</span>rate = <span class="s8">XLine</span>.kr(0.1, 100, 60);</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum)*rate, 1.0, 0.0, 1.0)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">var</span> rate;</p>
+<p class="p8"><span class="Apple-tab-span">	</span>rate = <span class="s9">XLine</span>.kr(0.1, 100, 60);</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum)*rate, 1.0, 0.0, 1.0)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// sine wave control of playback rate. negative rate plays backwards</p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">var</span> rate;</p>
-<p class="p9"><span class="Apple-tab-span">	</span>rate = <span class="s8">FSinOsc</span>.kr(<span class="s8">XLine</span>.kr(0.2, 8, 30), 0, 3, 0.6);</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum) * rate, 1, 0, 1)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">var</span> rate;</p>
+<p class="p8"><span class="Apple-tab-span">	</span>rate = <span class="s9">FSinOsc</span>.kr(<span class="s9">XLine</span>.kr(0.2, 8, 30), 0, 3, 0.6);</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum) * rate, 1, 0, 1)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
 <p class="p6">// zig zag around sound<span class="Apple-converted-space"> </span></p>
-<p class="p8">SynthDef<span class="s2">(</span><span class="s10">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">var</span> rate;</p>
-<p class="p9"><span class="Apple-tab-span">	</span>rate = <span class="s8">LFNoise2</span>.kr(<span class="s8">XLine</span>.kr(1, 20, 60), 2);</p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="s8">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
-<p class="p9"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s8">PlayBuf</span>.ar(1, bufnum, <span class="s8">BufRateScale</span>.kr(bufnum) * rate, 1, 0, 1)</p>
-<p class="p9"><span class="Apple-tab-span">	</span>)</p>
-<p class="p9">}).play(s, [<span class="s10">\out</span>, 0, <span class="s10">\bufnum</span>, b]);</p>
-<p class="p7"><br></p>
-<p class="p7"><br></p>
-<p class="p9">b.free;</p>
+<p class="p7">SynthDef<span class="s2">(</span><span class="s11">\help_PlayBuf</span><span class="s2">, {</span>| out = 0, bufnum = 0 |</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">var</span> rate;</p>
+<p class="p8"><span class="Apple-tab-span">	</span>rate = <span class="s9">LFNoise2</span>.kr(<span class="s9">XLine</span>.kr(1, 20, 60), 2);</p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="s9">Out</span>.ar(out,<span class="Apple-converted-space"> </span></p>
+<p class="p8"><span class="Apple-tab-span">	</span><span class="Apple-tab-span">	</span><span class="s9">PlayBuf</span>.ar(1, bufnum, <span class="s9">BufRateScale</span>.kr(bufnum) * rate, 1, 0, 1)</p>
+<p class="p8"><span class="Apple-tab-span">	</span>)</p>
+<p class="p8">}).play(s, [<span class="s11">\out</span>, 0, <span class="s11">\bufnum</span>, b]);</p>
+<p class="p2"><br></p>
+<p class="p2"><br></p>
+<p class="p8">b.free;</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/