First time here? Check out the FAQ!

How to get a sample or timeIndex to start from the "StartLoop"

0 votes

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:
asked Mar 19 in Sound Design by anssi-laiho (Practitioner) (790 points)
Have you tried putting the same values in Start and StartLoop? (And the same in End and EndLoop)?
Yes, I have tried putting the same value, but it seems to start always at the beginning of the time index if the time index is gated regardless of what I insert in the start field.

1 Answer

0 votes

If you put the StartLoop expression also into the Start and EndAttack fields, the playback will start at exactly that point. Here's your example with the parameters set that way:

If this example does not work for you, you need to update to the most recent version of Kyma (choose Check for software updates from the Help menu in Kyma).

answered Mar 20 by ssc (Savant) (88,760 points)
Thanks, this solution works!