top of page

AZSTOKE/ALGAZODIK

GameAudio & Art

Media

7

Fade in 0.2 seconds/out 1 second for all media on selected waveform

RANK

SNS SHARE

AZSTOKE_SelectAllMediaSetFade

import sys

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

from AZSTOKE_BRONZE_python import *


def Msg(parm):

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


retval,_,_,allCount,_ = AZ_GetSelectedMediaTypeCount(0,"",0,0)


for i in range(allCount):

    AZ_SetSelectedMediaFade(0,i,1,0.2,1,1)

import sys

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

from AZSTOKE_BRONZE_python import *

  • Import the Bronze API.

  • If you don't have it installed, you'll need to download it here


def Msg(parm):

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

  • Set up the Msg function to output to the console screen


retval,_,_,allCount,_ = AZ_GetSelectedMediaTypeCount(0,"",0,0)

  • Get the number of all media in the specified track (allCount)

for i in range(allCount):

  • Loop from 0 to the variable (allCount)

AZ_SetSelectedMediaFade(0,i,1,0.2,1,1)

  • Set the start fade of the selected media to 0.2 seconds and the end fade to 1 second

  • This time, fade type 1 is used.

APIの利用にはBRONZEに

加入し専用APIを

ダウンロード

する必要があります。

Multiple media in a project

- Script Code -
- Script Image -
- Warm Up -
- Script Detail -
- API -

PYTHON

​ReaScript File Download 👇

​※実行するには専用APIが必要です

- Script Image -
bottom of page