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

Re: [sc-users] granular lagging



thanks james and scott. i want to preserve the list so array.asList seems to do the trick...
thanks for the automation example!  looks good.
cheers,
jeremy
On Aug 28, 2005, at 5:12 AM, scott smith wrote:

dear Jeremy

SequencableCollection-flat should ensure 1d ness

(
a = #[0, 1, 2];
x = List[a];
x.flat
)

(
a = #[0, 1, 2];
x = List[List[List[a]]];
x.flat
)


maybe Env-at will be usefull to you for doing automation ?
here is a little example

(
    var nPoints=80,envDur,delta;

    w=SCWindow("",Rect(100,100,400,200)).front;
    g=SCSlider(w,Rect(10,10,380,180));

    e=Env.perc(0.8,2);

    envDur=e.times.sum;
    delta=envDur/nPoints;
    {
        nPoints.do({ |i|
            { g.value=e[i*delta] }.defer;
            delta.wait;
        })
    }.r.play
)


_______________________________________________________________
What common English verb becomes its own past tense by rearranging its letters?

postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=251
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users