top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


retval, sample = reaper.AZ_GetSelectedTrackMediaSampleRate(0, 1, 1)

Msg(sample)

- SCRIPT -

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

- API -

MEDIA

reaper.AZ_GetSelectedTrackMediaSampleRate

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

- 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

bottom of page