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")

    

_, _, pitch = AZ_GetSelectedMediaPitch(0, 3, 0)

Msg(pitch)


- SCRIPT -

projID, selectItemID, pitchOut = AZ_GetSelectedMediaPitch(projID, selectItemID, pitchOut)

- API -

対応バージョン:

以降

MEDIA

AZ_GetSelectedMediaPitch

Get pitch for selected media

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectItemID(Int): Selected item ID

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

▼Output value

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

  • projID (ReaProject): The same as the input is output

  • selectItemID(Int): The same as the input is output

  • pitchOut(Float): Media pitch

bottom of page