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

Re: [sc-dev] ListPatterns: a modest proposal

sorry I should have posed my question more clearly.
I asked why do you write Pseq(1, inf)?
it doesn't make sense really, you could write Pn(1, inf) or just 1

Good way to hang sclang. The reason is that x.list.size is always 0, so the >.embedInStream never gets called and the Pseq stream loops infinitely.

does this happen to you because of automation or because of writing code?
if the former, you could still add something like asCollection.

No, it's in the stream created by Pseq.asStream:

				repeats.value.do({ arg j;
					list.size.do({ arg i;
item = list @@ (i + offsetValue); inval = item.embedInStream(inval);