I seem to run on this same problem every now and then and cannot find a solution.
I want to use Sample or SampleWithTimeIndex so that I am scanning the playhead position with a parameter (usually I have it named as !Position). At the same time I have a parameter that defines the lenght of the timeline (!Lenght)
When using SampleWithTimeIndex I create the two parameters by putting (!Position - (!Length) cubed) to the StartLoop and (!Position + (!Length) cubed) to the EndLoop of an TimeIndexForFileName sound in the TimeIndex field of the SampleWithTimeIndex. Cubed is there to make short time index lenght behave nicely.
Is there a way to make the Time Index to start playing from the same value as StartLoop? Now it seems to start from the beginning of the index no matter what I try?
Example Sound at: