SuperCollider : ExemplesSylvain

SuperCollider :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
exemple_sylvain.sc (line 0)
(
p=ProxySpace.push(s.boot);//switching to JITLib Env
History.document;
History.start;
History.saveStory("~/Desktop/Workshop_His_08_02_27");
)
~out.ar(2);
~out={(~wav.ar+~oth.ar+~me.ar)*0.2}
~out.play;
~out=0;

~wav.ar(2);
~wav.play;
~wav.stop;
~wav.fadeTime=5;

~wav=0;

~wav={Pan2.ar(BPF.ar(PinkNoise.ar(0.6),5000, 0.5, 0.9), SinOsc.ar(0.5))}


~oth.ar(2);
~oth.play;
~oth.stop;
~oth=0;

~oth={arg t_trig=1; EnvGen.kr(Env.perc(0.02,0.2,3,-4), t_trig)*SinOsc.ar([[66,51].wrapAt(0),[400,450].wrapAt(1)],0, 0.9)}

(
Tdef(\oth,
{
    var a,r,t;
   
    a=Pseq([1, 0.5, 0.25], 2);
    r=Pseq([2, 1, 0.5], 1);
    t=Pseq([a,r], inf).asStream;
   
    inf.do
    {
        //|i|
        //a.next.postln;
        //r.next.postln;
        //s.next.postln;
        ~oth.set(\t_trig,1);
        t.next.wait;
    }
}
)
)


Tdef(\oth).play;
Tdef(\oth).stop;

~me.ar(2);
~me.play;
~me.stop;

~me={|t_trig=1, freq=500| EnvGen.kr(Env.perc(0.2,0.3,1,-4),t_trig)*LFSaw.ar(freq,0,SinOsc.kr(0.5).range(0,1)}
~me=0;

(
Tdef(\me,
{
    var b,c;
   
    b=Pshuf([60.2,62.1,63.8,64.7],inf).asStream;
    c=Prand([0.5,0.25,0.125,1,1.5], inf).asStream;
    inf.do
    {
        ~me.set(\t_trig,1,\freq,b.next.midicps);        c.next.wait;
    }
}
)
)

Tdef(\me).play;

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.3
Page was generated in 1.2607 seconds