Can Selected_Line Be Written To?

Just came across this voodoo.

rprint (renoise.song().selected_line)
C-600… | —… | —… | —… | —… | —… | —… | —… | —… | —… | —… | —… | 0000 | 0000 | 0000 | 0000 | 0000 | 0000 | 0000 | 0000
rprint (renoise.song().selected_line)
OFF… | —… | —… | —… | —… | —… | —… | —… | —… | —… | —… | —… | 0000 | 0000 | 0000 | 0000 | 0000 | 0000 | 0000 | 0000
rprint (renoise.song().selected_line)
D#40220… | —… | —… | —… | —… | —… | —… | —… | —… | —… | —… | —… | F100 | 0000 | 0000 | 0000 | 0000 | 0000 | 0000 | 0000

Can selected_line be written to??

yes indeed.
you can find out which line you’re on with selected_line_index

Can even effects be written in?

Yeah i have a script writebpm that uses the api to do that.

There are some functions in api for writing to the effects column. Youll have to look in the docs.
You have to use two of them to do it as far as i know because one function writes the first byte i.e. F0 then another writes the second.

1 Like

Yes, and much appreciated that WriteBPM is! I’ll get down to studying it once I’m sure I know what I want to write and when :)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.