get automation point value at time

Hi,

for reading an automation point value at a specific time, do I have to populate the whole renoise.song().patterns[].tracks[].automation[].points array and check forpoints[].time, or is there a faster way?

e.g.

if (renoise.song().patterns[].tracks[].automation[]:has_point_at(time)) then
  value =renoise.song().patterns[].tracks[].automation[]:get_point_at(time)
end

EDIT: Nevermind. I can read the value of the dsp slider :slight_smile: