top of page

function Msg(param)

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

end


mediaItem = reaper.AZ_GetMediaItemSelect(0,2,0) 

chMode = reaper.AZ_GetMediaItemChannelMode(mediaItem)

Msg(chMode)


Item = reaper.AZ_GetMediaItemSelect(0,3,0) 

ch = reaper.AZ_GetMediaItemChannelMode(Item)

Msg(ch)

- SCRIPT -

chMode = reaper.AZ_GetMediaItemChannelMode(mediaItem)

- API -

対応バージョン:

2.0.0

以降

MEDIA

reaper.AZ_GetMediaItemChannelMode

Gets the channel mode of the specified media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • chMode(Integer): Channel mode

bottom of page