so i tried this
renoise.song().tracks[renoise.song().selected_track_index].output_routing=1
and this
renoise.song().tracks[renoise.song().selected_track_index].output_routing=Master
and i keep getting an error:
>>> renoise.song().tracks[renoise.song().selected_track_index].output_routing[0]
*** [string "renoise.song().tracks[renoise.song().selected_track_index].outp..."]:1: '=' expected near '<eof>'
>>> renoise.song().tracks[renoise.song().selected_track_index].output_routing=0
*** No matching overload found, candidates:
*** void <unknown>(Track&,custom [class String] const&)
*** stack traceback:
*** [C]: ?
*** [C]: in function '__newindex'
*** [string "do..."]:22: in function <[string "do..."]:9>
*** [string "renoise.song().tracks[renoise.song().select..."]:1: in main chunk
>>> renoise.song().tracks[renoise.song().selected_track_index].output_routing=1
*** No matching overload found, candidates:
*** void <unknown>(Track&,custom [class String] const&)
*** stack traceback:
*** [C]: ?
*** [C]: in function '__newindex'
*** [string "do..."]:22: in function <[string "do..."]:9>
*** [string "renoise.song().tracks[renoise.song().select..."]:1: in main chunk
>>> renoise.song().tracks[renoise.song().selected_track_index].output_routing
*** [string "renoise.song().tracks[renoise.song().selected_track_index].outp..."]:1: '=' expected near '<eof>'
>>> renoise.song().tracks[renoise.song().selected_track_index].output_routing=[1]
*** [string "renoise.song().tracks[renoise.song().selected_track_index].outp..."]:1: unexpected symbol near '['
>>> renoise.song().tracks[renoise.song().selected_track_index].output_routing=Master
*** [string "renoise.song().tracks[renoise.song().select..."]:1: variable 'Master' is not declared
*** stack traceback:
*** [C]: in function '_error'
*** [string "local mt = getmetatable(_G)..."]:29: in function <[string "local mt = getmetatable(_G)..."]:24>
*** [string "renoise.song().tracks[renoise.song().select..."]:1: in main chunk
what am i supposed to do, to change the output routing of said track?