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, _, _, volume = AZ_GetSelectedMediaVolume(0, 5, 0)

Msg(volume)

- SCRIPT -

retval, projID, selectItemID, volumeOut = AZ_GetSelectedMediaVolume(projID, selectItemID, volumeOut)

- API -

ID

MEDIA

AZ_GetSelectedMediaVolume

Get the volume of the specified selected media

- API Detail-

▼Input value

  • projID (ReaProject): Project ID

  • selectItemID(Int): Selected item ID

  • volumeOut(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

  • volumeOut(Float): Media volume

bottom of page