top of page
- API -
sampleRate=reaper.AZ_GetMediaItemSampleRate(mediaItem)
- API Detail-
▼Input value
MediaItem (MediaItem): Media item
▼Output value
retval(bool): Whether the API execution was successful or not
sample(Integer): Sample rate
- SCRIPT -
function Msg(param)
reaper.ShowConsoleMsg(tostring(param).."\n")
end
mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)
sampleRate= reaper.AZ_GetMediaItemSampleRate(mediaItem)
Msg(sampleRate)
MEDIA
AZ_GetMediaItemSampleRate
Supported versions:
1.0.3
onwards
Get the sample rate of a given media item
bottom of page