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

Re: [sc-users] time trace



Hi Henricus,

You can read beats or seconds from the context of the routine that
streams the Pbind:
(
p = Pbind(\degree, Pseq((0..7)),
         \dur,    1,
	 'beats&seconds', Pfunc({ [thisThread.beats, thisThread.seconds] })
   );
~pattern = Pdef(\myPat, Pseq([p], inf)).trace.play(quant: 8);
);


RJK


> On Dec 28, 2016, at 7:37 PM, Henricus J. Holtman <clfest@xxxxxxxxxx> wrote:
> 
> (
> p = Pbind(\degree, Pseq((0..7)),
>          \dur,    1
>    );
> ~pattern = Pdef(\myPat, Pseq([p], inf)).trace.play(quant: 8);
> );


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/