The attached script "MidiCtrldSeqTransp.lua" (copied together from sample scripts) is changing the song position pointer, but in an unpredictable way and producing glitches. Maybe "renoise.song().transport:start_at(<line position>) is not the right method in my use case?
I figured out that the the actual line of the playback position could be read out by
That works perfectly fine for me.
This property is declared in Renoise.Song.API.lua as playback position from line 516 to 520.
-- Playback position. renoise.song().transport.playback_pos -> [renoise.SongPos object] renoise.song().transport.playback_pos_beats -> [number, 0-song_end_beats
Because it's not explicitly declared as read-only (in contrast to other properties) I assume that it could be also set to a specific value.
Unfortunately I can't figure out how to do that. Could anyone support me in that?
Help would also be very appriciated, if I am trying to control the song position via MIDI in the completely wrong manner.
Thanks in advance!!