top of page
- API -

reaper.AZ_SetSelectedTrackIdInputChannel(projID, selectTrackID, firstChInx, numChs, inputChType)

- API Detail-

▼Input values

projID(ReaProject): target project (0 for the current project)

selectTrackID(integer): selected track ID (0-based order among selected tracks)

firstChInx(integer): index of the first channel (0-based)

numChs(integer): number of input channels

inputChType(integer): input channel type (0 = Audio, 1 = Midi)

- SCRIPT -

dofile(reaper.AZ_GetLuaInitPath())

require("reaper_AZSTOKE_SILVER")


projID = 0

selectTrackID = 0

firstChInx = 0

numChs = 1

inputChType = 0


reaper.AZ_SetSelectedTrackIdInputChannel(projID, selectTrackID, firstChInx, numChs, inputChType)

TRACK

AZ_SetSelectedTrackIdInputChannel

Supported versions:

2.0.0

onwards

Set input channel (by selected track ID)

bottom of page