top of page

function Msg(param)

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

end


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

Msg(channel)

- SCRIPT -

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

- API -

対応バージョン:

1.0.1

以降

MEDIA

reaper.AZ_GetSelectedTrackMediaNumChannels

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

- 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

bottom of page