top of page
- API -

channel = reaper.AZ_GetSelectedTrackMediaNumChannels(projID, selectTrackID, selectItemID)

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • selectTrackID(integer) : Select track ID

  • trackItemID(integer): Track media ID

▼Output value

  • retval(boolean): Success or failure of API execution

  • channel(integer): Number of channels

- SCRIPT -

function Msg(param)

reaper.ShowConsoleMsg(tostring((param)).."\n")

end


channel = reaper.AZ_GetSelectedTrackMediaNumChannels(0, 0, 0)

Msg(channel)

MEDIA

reaper.AZ_GetSelectedTrackMediaNumChannels

Supported versions:

1.0.3

onwards

Gets the number of channels for the specified media in the specified selected track.

bottom of page