added effects, minor fixes

master
Nova deViator 2015-04-03 19:42:38 +02:00
parent 6353d120fb
commit 363e03ebac
1 changed files with 29 additions and 20 deletions

View File

@ -1,4 +1,5 @@
( /*
/* *************************************************************************
_____ ____ __. /\ ____________________ _____ _____ ____ __. /\ ____________________ _____
/ | || |/ _| / / \______ \______ \/ \ / | || |/ _| / / \______ \______ \/ \
/ | || < / / | | _/| ___/ \ / \ / | || < / / | | _/| ___/ \ / \
@ -13,16 +14,24 @@
\/ \/ \/ \/ \/ \/ \/ \/ \/ \/
v150403 v150403
"4K/BPM" - for SCLOrk "4K/BPM SCLOrk" for Santa Clara University Laptop Orchestra
by Luka Prinčič / Nova deViator <nova@deviator.si> by Luka Prinčič / Nova deViator <nova@deviator.si>
thanks to Bruno Ruviaro
adapted from 4K/BPM Sonoretum patch, released and
installed at Sonoretum project / Kapelica Gallery, Ljubljana
thanks to Marko Košnik, Sandra Sajovic and Jurij Krpan
released under GNU GPL. feel free to copy, reuse, remix, released under GNU GPL. feel free to copy, reuse, remix,
provided that you share under same conditions: GNU GPL. */ provided that you share under same conditions: GNU GPL.
***************************************************************************** */
(
// HERE BE SOME FUNKY VARIABLES ///////////////////////////////////////
// HERE BE SOME FUNKY VARIABLES //
~chanExpan = [1,1]; // multi channel expansion (just stereo here) ~chanExpan = [1,1]; // multi channel expansion (just stereo here)
~bpm = 1; // bpm, for now constant, it could drift... ~bpm = 1; // bpm, for now constant, it could drift...
@ -35,7 +44,7 @@
DEFINE SYNTHS AND ADD TO SERVER DEFINE SYNTHS AND ADD TO SERVER
******************************* */ ******************************* */
SynthDef(\kindaBass, { | out=0, gain=0.1 | SynthDef(\kindaBass, { | out=0, gain=0 |
out = SinOsc.ar( ((LFSaw.kr(-0.05,1) + 1) * 100 + 40 ), LFTri.kr(40,0,1), out = SinOsc.ar( ((LFSaw.kr(-0.05,1) + 1) * 100 + 40 ), LFTri.kr(40,0,1),
LFSaw.kr(1.5 * ~bpm) ) * 0.5 * ~chanExpan * gain; LFSaw.kr(1.5 * ~bpm) ) * 0.5 * ~chanExpan * gain;
OffsetOut.ar(0, out); }).add; OffsetOut.ar(0, out); }).add;