only VO on center
This commit is contained in:
parent
f62479ad12
commit
d410042506
1 changed files with 2 additions and 6 deletions
|
|
@ -134,6 +134,7 @@ def compose(clips, target=150, base=1024, voice_over=None, options=None):
|
|||
'''
|
||||
clip = None
|
||||
if not clip:
|
||||
# FIXME: while not all clips have AI versions make sure we have one 50% of the time
|
||||
clip = random_choice(seq, clips, True)
|
||||
if not clips:
|
||||
print("not enough clips, need to reset")
|
||||
|
|
@ -164,13 +165,8 @@ def compose(clips, target=150, base=1024, voice_over=None, options=None):
|
|||
}
|
||||
})
|
||||
|
||||
volume_center = volume_front = '-2.5'
|
||||
volume_front = '-2.5'
|
||||
volume_rear = '-8.5'
|
||||
scene['audio-center']['A1'].append({
|
||||
'duration': clip['duration'],
|
||||
'src': audio_center,
|
||||
'filter': {'volume': volume},
|
||||
})
|
||||
scene['audio-front']['A2'].append({
|
||||
'duration': clip['duration'],
|
||||
'src': audio_front,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue