top of page
- API -

channel = reaper.AZ_GetTrackMediaNumChannels(projID, trackID, trackItemID)

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • trackID(integer) : 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_GetTrackMediaNumChannels(0, 1, 2)

Msg(channel)

MEDIA

reaper.AZ_GetTrackMediaNumChannels

Supported versions:

1.0.3

onwards

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

bottom of page