top of page
- API -

pitch= reaper.AZ_GetSelectedTrackMediaPitch(projID, selectTrackID, trackItemID)

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectTrackID (integer) : Select track ID

  • trackItemID(integer): Track item ID

▼Output value

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

  • pitch(number): media pitch

- SCRIPT -

function Msg(param)

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

end


pitch = reaper.AZ_GetSelectedTrackMediaPitch(0, 1, 1)

Msg(pitch)

MEDIA

reaper.AZ_GetSelectedTrackMediaPitch

Supported versions:

1.0.3

onwards

Get pitch of specified media in specified selected track

bottom of page