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_GetTrackMediaSampleRate(0, 1, 2, 0)

Msg(sample)

- SCRIPT -

retval, projID, trackID, trackItemID, sampleOut = AZ_GetTrackMediaSampleRate(projID, trackID, trackItemID, sampleOut)

- API -

ID

MEDIA

AZ_GetTrackMediaSampleRate

Get the sampling rate of the specified media for the specified track

- API Detail-

▼Input value

  • proj ID(ReaProjrct): Project ID

  • trackID(Int) : Track ID

  • trackItemID (Int): Track media ID

  • sampleOut(Int): Any number (0 is OK)

▼Output value

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

  • proj ID(ReaProjrct): The same as the input is output

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

  • trackItemID(Int): The same as the input

  • sampleOut(Int): Sampling rate value

bottom of page