On Dec 28, 2013 9:36 PM, "tasos tsesmetzis" <ttsesmetzis@xxxxxxxxx> wrote:
>
> Thanks James for your reply.
> I think that even now there is a problem with the 'recursionLevel' key.
>
>
> (
> Pdef(\x,
> Pbind(
> \freq, Pseq([ 400, 300, 600 ] ),
> \dur, Pseq( [0.1, 0.2, 0.3]),
> \amp, 0.4
> )
> )
> )
>
> // O.k if 'recursionLevel' is nil or 0,
> // but is this the wright behavior if 'recursionLevel' > 0 ?
> ( instrument: \x, type: \phrase, recursionLevel: nil ).play;
> ( instrument: \x, type: \phrase, recursionLevel: 0 ).play;
> ( instrument: \x, type: \phrase, recursionLevel: 1 ).play;
I have no idea about this. I don't use it myself. Julian?
> Something that puzzled me is the 'protoEvent' arg of Pattern's
> 'play' method ( or is the 'protoEvent' arg of EventStreamPlayer ? )
> in the line
> pat.play(thisThread.clock, outerEvent, 0.0);
> near the end of 'phraseEventFunction'.
> E.x.
> a = Pbind(\freq, 300, \dur, Pseq([0.2, 0.3, 0.4]) );
>
> a.play( protoEvent: ( freq: 700 ) ); // doesn't override freq
>
> // instead, it acts as parentEvent
> a.play( protoEvent: ( freq: 700, detune: 10 ) );
I don't know about this either,
hjh