top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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

    

retval, _, _, _, pitch = AZ_GetTrackMediaPitch(0, 1, 2, 0)

Msg(pitch)


- SCRIPT -

retval, projID, trackID, trackItemID, pitchOut = AZ_GetTrackMediaPitch(projID, trackID, trackItemID, pitchOut)

- API -

MEDIA

AZ_GetTrackMediaPitch

Get pitch of specified media in specified track

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • trackID (Int) : Track ID

  • trackItemID(Int): Track 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

  • trackID (Int): The same as the input

  • trackItemID(Int): The same as the input

  • pitchOut(Float): Media pitch

bottom of page