First time here? Check out the FAQ!
x

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

0 votes
535 views
Hi!

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:

https://drive.google.com/file/d/1t9kFxkAggd0DHTKxkvJ_G0AT_YdexWtP/view?usp=sharing
asked Mar 19, 2019 in Sound Design by anssi-laiho (Adept) (1,150 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: http://kyma.symbolicsound.com/qa/?qa=blob&qa_blobid=15542211052618169897

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, 2019 by ssc (Savant) (126,300 points)
Thanks, this solution works!
...