top of page
- API -

reaper.AZ_SetMediaItemPitch(mediaItem,setPitch)

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • pitch(number) - the amount of pitch increment to set

▼Output value

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

- SCRIPT -

function Msg(param)

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

end


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

reaper.AZ_SetMediaItemPitch(mediaItem,-3)

MEDIA

AZ_SetMediaItemPitch

Supported versions:

1.0.3

onwards

Set the pitch of the specified media item.

bottom of page