Skip to content

Instantly share code, notes, and snippets.

@mwicat
Created March 12, 2021 23:07
Show Gist options
  • Select an option

  • Save mwicat/7edf7231b9c14bda03643f3bf974e3d7 to your computer and use it in GitHub Desktop.

Select an option

Save mwicat/7edf7231b9c14bda03643f3bf974e3d7 to your computer and use it in GitHub Desktop.
sel_tr = RPR_GetSelectedTrack(0, 0)
snd = RPR_CreateTrackSend(sel_tr, None)
cat = 1 # positive = hwout
hwout_idx = 3
param_name = 'I_DSTCHAN'
RPR_SetTrackSendInfo_Value(sel_tr, cat, snd, param_name, hwout_idx)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment