top of page
- API -
firstChInx, numChs, inputChType = reaper.AZ_GetSelectedTrackIdInputChannel(projID, selectTrackID)
- API Detail-
▼Input values
projID(ReaProject): target project (0 for the current project)
selectTrackID(integer): selected track ID (0-based order among selected tracks)
▼Output values
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, numChs, inputChType = reaper.AZ_GetSelectedTrackIdInputChannel(projID, selectTrackID)
Msg(firstChInx)
Msg(numChs)
Msg(inputChType)
TRACK
AZ_GetSelectedTrackIdInputChannel
Supported versions:
2.0.0
onwards
Get input channel settings (by selected track ID)

bottom of page
