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

[sc-dev] SF.net SVN: quarks:[2681] OpenObject/examples2



Revision: 2681
          http://sourceforge.net/p/quarks/code/2681
Author:   redfrik
Date:     2013-12-29 18:42:23 +0000 (Sun, 29 Dec 2013)
Log Message:
-----------
OpenObject: bugfixes in pd patch and lower limit for trgMax

Modified Paths:
--------------
    OpenObject/examples2/oo_soundfiles.pd
    OpenObject/examples2/oo_soundfiles.scd

Modified: OpenObject/examples2/oo_soundfiles.pd
===================================================================
--- OpenObject/examples2/oo_soundfiles.pd	2013-12-29 18:31:16 UTC (rev 2680)
+++ OpenObject/examples2/oo_soundfiles.pd	2013-12-29 18:42:23 UTC (rev 2681)
@@ -59,19 +59,19 @@
 -1 -1 400 1;
 #X obj 582 373 hsl 128 15 0.001 144 1 0 empty empty empty -2 -8 0 10
 -262144 -1 -1 12100 1;
-#X msg 579 422 /oo synth set posMax \$1;
-#X msg 585 468 /oo synth set posRate \$1;
+#X msg 579 422 /oo synth set trgMax \$1;
+#X msg 585 468 /oo synth set trgRate \$1;
 #X floatatom 585 447 5 0 0 0 - - -;
 #X obj 765 333 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
 -1 -1 2300 1;
-#X msg 762 400 /oo synth set posMin \$1;
+#X msg 762 400 /oo synth set durMin \$1;
 #X obj 762 498 s toSC;
 #X obj 765 353 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
 -1 -1 8800 1;
 #X obj 765 373 hsl 128 15 0.001 144 1 0 empty empty empty -2 -8 0 10
 -262144 -1 -1 12700 1;
-#X msg 762 422 /oo synth set posMax \$1;
-#X msg 768 468 /oo synth set posRate \$1;
+#X msg 762 422 /oo synth set durMax \$1;
+#X msg 768 468 /oo synth set durRate \$1;
 #X floatatom 768 447 5 0 0 0 - - -;
 #X text 197 310 panning and rate of change;
 #X msg 203 400 /oo synth set panMin \$1;

Modified: OpenObject/examples2/oo_soundfiles.scd
===================================================================
--- OpenObject/examples2/oo_soundfiles.scd	2013-12-29 18:31:16 UTC (rev 2680)
+++ OpenObject/examples2/oo_soundfiles.scd	2013-12-29 18:42:23 UTC (rev 2681)
@@ -18,7 +18,7 @@
 		var pos= LFDNoise1.kr(posRate).range(posMin, posMax);
 		var pan= LFDNoise1.kr(panRate).range(panMin, panMax);
 		var pch= LFDNoise1.kr(pchRate).range(pchMin, pchMax);
-		var trg= Impulse.kr(1/LFDNoise1.kr(trgRate).exprange(trgMin.max(0.001), trgMax));
+		var trg= Impulse.kr(1/LFDNoise1.kr(trgRate).exprange(trgMin.max(0.001), trgMax.max(0.001)));
 		var dur= LFDNoise1.kr(durRate).exprange(durMin.max(0.001), durMax);
 		var snd= GrainBuf.ar(1, trg, dur, buf, pch, pos, 4);
 		Out.ar(out, Pan2.ar(snd, pan, env*vol.dbamp));

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/