top of page
- API -

pitch = reaper.AZ_GetMediaItemPitch(mediaItem)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

▼Output value

  • retval(bool): Whether the API execution was successful or not

  • pitch(number): Number of pitches obtained

- SCRIPT -

function Msg(param)

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

end


mediaItem = reaper.AZ_GetMediaItemSelect(0,0,0)

pitch = reaper.AZ_GetMediaItemPitch(mediaItem)

Msg(pitch)

MEDIA

AZ_GetMediaItemPitch

Supported versions:

1.0.3

onwards

Get the pitch of the specified media item.

bottom of page