top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

function Msg(param)

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

end


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

retval,pitch = reaper.AZ_GetMediaItemPitch(mediaItem)

Msg(pitch)

- SCRIPT -

retval,pitch = reaper.AZ_GetMediaItemPitch(mediaItem)

- API -

ID

MEDIA

reaper.AZ_GetMediaItemPitch

Get the pitch of the specified media item.

- 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

bottom of page