Jump to content


Photo

get automation point value at time


  • Please log in to reply
No replies to this topic

#1 ffx

ffx

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

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3480 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.

Test system: macOS 10.13.4, HFS+. Firewire Audio, i7 4770, 8GB Ram, GTX1050 2GB, 48kHz
GUI Automation RecorderNative DSP Context MenuTuned ShortcutsUnified Value Shift And Transpose | Jump To From Send Modified (Docs) | Quick Template | Nisanmol's Groove Tool FixedThemes