top of page

import sys

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

from AZSTOKE_BRONZE_python import *

from AZSTOKE_SILVER_python import *


def Msg(parm):

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

    

item = AZ_GetMediaItemSelect(0,0,0)

item,maxMomentary,maxMomentaryPosOut = AZ_SetMediaItemLoudnessMaxMomentary(item,-21,0)

Msg(maxMomentaryPosOut)

- SCRIPT -

item,maxMomentary,maxMomePosOut = reaper.AZ_SetMediaItemLoudnessMaxMomentary(item,maxMomentary,maxMomePosOut)

- API -

対応バージョン:

1.0.0

以降

Loudness

AZ_SetMediaItemLoudnessMaxMomentary

Set the specified MaxMomentary for the specified media

- API Detail-

▼Input value

  • item(MediaItem): Media item

  • setMaxMomentary(double): MaxMomentary * Sets the largest Momentary in loudness measurement in 400ms units

  • maxMomentaryPosOut(double) : Initial value

▼Output value

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

  • item(MediaItem) : Output is the same as the input value

  • maxMomentary(double) : Output is the same as the input value

  • maxMomentaryPosOut(double): Maximum momentary start position (seconds)

bottom of page