Can we use a switch and the "redirect_output" code option to switch the output of a BUS from the "Bypass Insert FX" position to the third OUT 1 position ?
Is there no one for this routing problem ?
According to the manual, you just use $OUTPUT_TYPE_MASTER_OUT and $OUTPUT_TYPE_BUS_OUT
Well, I managed to get what I wanted with this simple code on the callback of the switch concerned ($stringchannel):
on ui_control($stringchannel) if($stringchannel = 1) set_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,1,-1,-1,$NI_BUS_OFFSET+3) else set_engine_par($ENGINE_PAR_OUTPUT_CHANNEL,-2,-1,-1,$NI_BUS_OFFSET+3) end if end on