Hi.
cur_smp = op(‘noise2’).sampleIndex
I use it to get the the sample of a noise that is changing over time (I use absTime.seconds*10 in Tx)
But instead of a number of current sample I always get 599.
sampleIndex is meant to be used only in parameters of the Noise CHOP.
During the cook it varies between 0 and the full length of the output, but just for that single cook.
Are you looking for the start sample of the output?
In that case, try: op(‘noise2’).start
Cheers