Setting Line Input Devices Parameters

Hey,

I’m working to more tightly integrate renoise and a few other bits and pieces and really would like to set a Line Input device’s channel and input parameters upon creating it.

This doens’t appear to be possible in 2.8b5. Only volume and panning are listed.

Am I missing something?

Cheers,
Tristan

got it sorted… really must use these irc rooms more!

somewhat horribly you’ve got to mangle a blob of xml…

  
local device = renoise.song().tracks[track]:insert_device_at(  
 "Audio/Effects/Native/#Line Input", 2)  
  
-- set the input parameter - (not availiable via .parameters[])  
device.active_preset_data =  
 string.gsub(device.active_preset_data,  
 "<inputchannel>0</inputchannel>",  
 "<inputchannel>" .. channel .. "</inputchannel>")  
  

at least it’s actually possible!

Hmm. So this would enable me to control L/R/L+R and input channel?

Yes. Try it?

not yet, got a remix to deliver on the 26th, one that doesn’t require any sampling

nope. bit weird. swapping “L+R” for “L” or “R” doesn’t seem to persist?

I could do with the ability to set that now…

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