top of page
- API -

channel = reaper.AZ_GetSelectedMediaNumChannels(projID, selectItemID)

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • selectItemID(integer): Selected item 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_GetSelectedMediaNumChannels(0, 3)

Msg(channel)

MEDIA

reaper.AZ_GetSelectedMediaNumChannels

Supported versions:

1.0.3

onwards

Get the number of channels for the specified selected media

bottom of page