11 Oct
2007
11 Oct
'07
3:40 a.m.
ons 2007-10-10 klockan 15:52 +0200 skrev Atte André Jensen:
Hi
I looked in the manual but couldn't find the answer: Is is possible to set the loop start/end with SndBuf from within chuck? It's not mentioned at http://chuck.cs.princeton.edu/doc/program/ugen_full.html#sndbuf. Alternatively: is there another mechanism to play samples that allows setting the loop start/end?
I think you have to wrap it in a while-statement: while( true ) { 0 => buf.pos; buf.samples()::samp => now; } Though, a .loop(true/false) would be cool. GSTN