Jump to content


Photo

get automation point value at time


  • Please log in to reply
No replies to this topic

#1 Trackerman

Trackerman

    Composes without Wires burns Directly from Brain to DVD that is already in Store Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3216 posts
  • Gender:Not Telling

Posted 30 January 2018 - 11:50

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 for points[].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 :)


Edited by ffx, 30 January 2018 - 13:35.