top of page
- API -
dofile(reaper.AZ_GetLuaInitPath())
allCount,_ = reaper.AZ_GetSelectedMediaTypeCount(0,"")
for i = 0,allCount-1 do
reaper.AZ_SetSelectedMediaFade(0,i,1,0.2,1,1)
end
- API Detail-
Multiple media in a project
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
allCount,_ = reaper.AZ_GetSelectedMediaTypeCount(0,"")
Get the number of selected media (allCount)
for i = 0,allCount-1 do
Loop from 0 to the variable (allCount-1)
reaper.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.
end
- SCRIPT -
Media
AZSTOKE_SelectAllMediaSetFade
Fade in 0.2 seconds/fade out 1 second for all selected media
bottom of page