top of page
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)
channel= reaper.AZ_GetMediaItemNumChannels(mediaItem)
Msg(channel)
- SCRIPT -
channel=reaper.AZ_GetMediaItemNumChannels(mediaItem)
- API -
対応バージョン:
2.0.0
以降
MEDIA
reaper.AZ_GetMediaItemNumChannels
Gets the number of channels for a given media item.
LUA
- 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