Sample Recorder window: Changing Input Source Programmatically?

nice to see this being requested. i’ve tried to formulate this in various forms in the API function wishlist thread about 2-3 times. finally dusted off all those old posts and just created this:https://forum.renoise.com/t/the-api-wishlist-thread/29285with all of “my” wishlist stuff put together.

renoise.song().transport:sample_recorder.sync.none()
renoise.song().transport:sample_recorder.sync.pattern()
renoise.song().transport:sample_recorder.record_dry()
renoise.song().transport:sample_recorder.inputch.left()
renoise.song().transport:sample_recorder.inputch.right()
renoise.song().transport:sample_recorder.inputch.both()
renoise.song().transport:sample_recorder.monitor()
renoise.song().transport:sample_recorder.input.list()
renoise.song().transport:sample_recorder.input.1 to X according to list
renoise.song().transport:sample_recorder.fx.list()
renoise.song().transport:sample_recorder.fx.1 to X according to list