volume adjustments

This commit is contained in:
j 2023-11-08 00:04:37 +01:00
parent 1608b5cb60
commit 60f66b1cb4
2 changed files with 5 additions and 2 deletions

View file

@ -105,6 +105,7 @@ def compose(clips, target=150, base=1024, voice_over=None):
})
vo_min += offset
for vo in voice_overs:
vo_low['filter'] = {'volume': '3'}
scene['audio-center']['A1'].append(vo)
vo_low = vo.copy()
vo_low['filter'] = {'volume': '-6'}
@ -168,6 +169,8 @@ def compose(clips, target=150, base=1024, voice_over=None):
})
transparency = seq() / 9
# 50% of time no transparancy of foregroudnd layer
# 50% some transparancy, 25%, 50%, 75% levels of transparancy
transparancy = 1
# coin flip which site is visible (50% chance)
if chance(seq, 0.5):

4
sax.py
View file

@ -19,14 +19,14 @@ long = {
"src": long_wav,
"duration": 3600.0,
"filter": {
"volume": "-3"
"volume": "-4"
},
}
noise = {
"src": nois_wav,
"duration": 3600.0,
"filter": {
"volume": "-1"
"volume": "1"
},
}
project.append_clip('A1', long)