top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


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

retval,channel= reaper.AZ_GetMediaItemNumChannels(mediaItem)

Msg(channel)

- SCRIPT -

retval,channel=reaper.AZ_GetMediaItemNumChannels(mediaItem)

- API -

ID

MEDIA

reaper.AZ_GetMediaItemNumChannels

Gets the number of channels for a given media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

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

  • channel(Integer): Number of channels

bottom of page