top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


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

retval,chMode = reaper.AZ_GetMediaItemChannelMode(mediaItem)

Msg(chMode)


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

retval,ch = reaper.AZ_GetMediaItemChannelMode(Item)

Msg(ch)

- SCRIPT -

retval,chMode = reaper.AZ_GetMediaItemChannelMode(mediaItem)

- API -

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