top of page
- API -

sample = reaper.AZ_GetSelectedMediaSampleRate(projID, selectItemID)

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • selectItemID(integer): Selected 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_GetSelectedMediaSampleRate(0, 4)

Msg(sample)

MEDIA

reaper.AZ_GetSelectedMediaSampleRate

Supported versions:

1.0.3

onwards

Get sampling rate of specified selected media ID

bottom of page