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, _, _, sample = AZ_GetSelectedMediaSampleRate(0, 4, 0)

Msg(sample)

- SCRIPT -

retval, projID, selectItemID, sampleOut = AZ_GetSelectedMediaSampleRate(projID, selectItemID, sampleOut)

- API -

MEDIA

AZ_GetSelectedMediaSampleRate

Get sampling rate of specified selected media ID

- API Detail-

▼Input value

  • projID(ReaProject): Project ID

  • itemID(Int): Selected item ID

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

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

  • sampleOut(Int) : Sampling rate value

bottom of page