top of page
- API -

sample = reaper.AZ_GetMediaSampleRate(projID, itemID)

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • itemID(integer): Item ID

▼Output value

  • retval(boolean): Success or failure of API execution

  • sample(integer): Sampling rate value

- SCRIPT -

function Msg(param)

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

end


sample = reaper.AZ_GetMediaSampleRate(0, 4)

Msg(sample)

MEDIA

reaper.AZ_GetMediaSampleRate

Supported versions:

1.0.3

onwards

Get the sampling rate of the specified media ID

bottom of page