Redirect Output ?

corbo-billy
corbo-billy Member Posts: 106 Helper

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 ?

Comments

  • corbo-billy
    corbo-billy Member Posts: 106 Helper
    edited November 30

    Is there no one for this routing problem ?

  • medusa
    medusa Member Posts: 98 Helper

    According to the manual, you just use $OUTPUT_TYPE_MASTER_OUT and $OUTPUT_TYPE_BUS_OUT 


  • corbo-billy
    corbo-billy Member Posts: 106 Helper

    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
    

Back To Top