top of page

Media

10

-1 pitch for all selected media

RANK

AZSTOKE_SelectAllMediaAddPitch

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_SetSelectedMediaPitch(0,i,-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 all selected media

for i in range(allCount):

  • Loop the number of times specified by the variable (allCount)

AZ_SetSelectedMediaPitch(0,i,-1)

  • Increase or decrease the pitch of the selected media by the specified value

  • This time -1

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