top of page

import sys

sys.path.append(RPR_GetResourcePath() + r"/UserPlugins")

from AZSTOKE_BRONZE_python import *


def Msg(parm):

    RPR_ShowConsoleMsg(str(parm) + "\n")

    

mediaItem = AZ_GetMediaItemSelect(0,0,0)

item,pitchOut = AZ_GetMediaItemPitch(mediaItem,0)

Msg(pitchOut)

- SCRIPT -

item,pitchOut = AZ_GetMediaItemPitch(item,pitchOut)

- API -

ID

MEDIA

AZ_GetMediaItemPitch

対応バージョン:

2.0.0

以降

Get the pitch of the specified media item.

- API Detail-

▼Input value

  • MediaItem (MediaItem): Media item

  • pitchOut(float): Any number (0 is OK)

▼Output value

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

  • pitchOut(float): Number of pitches obtained

bottom of page