top of page
- API -

firstChInx, numChs, inputChType = reaper.AZ_GetTrackItemInputChannel(track)

- API Detail-

▼Input values

track(MediaTrack): target track


▼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")


track = reaper.AZ_GetTrackItemSelect(0, 0, 0)


firstChInx, numChs, inputChType = reaper.AZ_GetTrackItemInputChannel(track)

Msg(firstChInx)

Msg(numChs)

Msg(inputChType)

TRACK

AZ_GetTrackItemInputChannel

Supported versions:

2.0.0

onwards

Get track input channel settings

bottom of page