Q:how?:read Line In Device Settings, Matching Record

Hi. Here are 4 tracks:

Track 1
Track 2
Track 3
Track 4
.
Each has a #Line-In Device.

Track 1 - #Line-In Device Preset #2 (Synth#1 (Input 7-8, Stereo))
Track 2 - #Line-In Device Preset #3 (Synth#2 (Input 1-2, Right (2))
Track 3 - #Line-In Device Preset #4 (Synth#3 (Input 3-4, Stereo))
Track 4 - #Line-In Device Preset #5 (Mic (Input 1-2, Left (1))
.

How would I make it so that when the Sample Recorder is opened on track 3 that the Sample Recorder will start sampling from input 3-4 stereo?

Should I, instead of the Sample Recorder, use the “Render Selection Offline” API function? What could I do to be able to fluidly sample each of these various inputs without having to look on the screen or click around in the sample recorder?

First I check the renoise.song api doc. Then I check the renoise.app api doc. Searching these tells me that parameters in the sample recorder are not available via LUA. It seems the input in the sample recorder dialogue needs to be set manually. There seems to be room for some improvement in the API regarding this.

If you would use the “rnder realtime” function (interesting idea) you would need to temporary mute all other tracks, unfortunately. This is basically already available in the “freeze track” tool (you might need to alter its default paramers to make it realtime). I believe this is the only solution available for automatically sample from line-in on current track.

Yep, taktik helped with taktikrender a while back, which records in realtime - and we uncovered a major bug with realtime_lineinput_recording, which will be fixed in a future build… (You know, in the past weeks or so, a lot of people are referring to “will be fixed in a future build” “in a new version” “soon” – I wonder why?)
So it is possible to record stuff like this.
Instead of temporarily muting other tracks, I’d try and use this instead:
renoise.song().tracks[selected_track_index]:solo()
and then disable solo after the render.