more tweaking
This commit is contained in:
parent
2316c63156
commit
ff7dcf6c54
2 changed files with 20 additions and 15 deletions
|
@ -137,7 +137,7 @@ def compose(clips, target=150, base=1024, voice_over=None):
|
|||
elif 'Read' in voc['src']:
|
||||
a, b = '6.25', '-2.75'
|
||||
elif 'Free' in voc['src']:
|
||||
a, b = '5', '-4'
|
||||
a, b = '5.2', '-3.8'
|
||||
elif 'Ashley' in voc['src']:
|
||||
a, b = '4.5', '-4.5'
|
||||
voc['filter'] = {'volume': a}
|
||||
|
@ -190,11 +190,15 @@ def compose(clips, target=150, base=1024, voice_over=None):
|
|||
transparancy = 1
|
||||
else:
|
||||
fg = clip['foreground']
|
||||
if 'animation' in clip and chance(seq, 0.15):
|
||||
fg = clip['animation']
|
||||
transparancy = 1
|
||||
else:
|
||||
if 'foreground2' in clip:
|
||||
if 'foreground3' in clip:
|
||||
n = seq()
|
||||
if n <= 3: # 0,1,2,3
|
||||
clip['foreground']
|
||||
clip['foreground']yy
|
||||
elif n <= 6: # 4,5,6
|
||||
clip['foreground2']
|
||||
else: # 7,8,9
|
||||
|
@ -275,6 +279,7 @@ def compose(clips, target=150, base=1024, voice_over=None):
|
|||
scene['audio-back']['A1'].append({
|
||||
'duration': clip['duration'],
|
||||
'src': clip['original'],
|
||||
'filter': {'volume': '+0.2'},
|
||||
})
|
||||
# TBD: Foley
|
||||
scene['audio-front']['A2'].append({
|
||||
|
|
2
sax.py
2
sax.py
|
@ -39,7 +39,7 @@ noise = {
|
|||
"src": nois_wav,
|
||||
"duration": 3600.0,
|
||||
"filter": {
|
||||
"volume": "3"
|
||||
"volume": "4.25"
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue