top of page
- API -

sample = reaper.AZ_GetSelectedTrackMediaSampleRate(projID, selectTrackID, selectItemID)

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • selectTrackID(integer) : Select track ID

  • trackItemID(integer): Track media 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_GetSelectedTrackMediaSampleRate(0, 1, 1)

Msg(sample)

MEDIA

reaper.AZ_GetSelectedTrackMediaSampleRate

Supported versions:

1.0.3

onwards

Get the sampling rate of the specified media of the specified selected track

bottom of page