-
Get text changes from CSV/TSV table
Hi guys,
I am trying to link the values from a heart rate monitor to a text layer using an expression. I have a TSV file with the time in frames and the value. The table looks like this:
timeInFrames heartRate 0 9 75 96 650 95 800 95
// etc.
I didn’t manage to work with the TSV file, nor with hardcoded values, like this:
if (timeToFrames() >= 0){text.sourceText = ’96’;}
if (timeToFrames() >= 75){text.sourceText = ’96’;}
if (timeToFrames() >= 650){text.sourceText = ’95’;}
if (timeToFrames() >= 800){text.sourceText = ’95’;}
Do you have a tip for me, how I can change the text automatically at the appropriate time?Thanks for your help!