bring down Ashley vocals slightly (-0.75 db)
This commit is contained in:
parent
34ef701646
commit
5295d1bfc9
1 changed files with 5 additions and 2 deletions
|
@ -139,7 +139,7 @@ def compose(clips, target=150, base=1024, voice_over=None):
|
|||
elif 'Free' in voc['src']:
|
||||
a, b = '5.2', '-3.8'
|
||||
elif 'Ashley' in voc['src']:
|
||||
a, b = '4.5', '-4.5'
|
||||
a, b = '3.75', '-5.25'
|
||||
voc['filter'] = {'volume': a}
|
||||
scene['audio-center']['A1'].append(voc)
|
||||
vo_low = vo.copy()
|
||||
|
@ -580,11 +580,14 @@ def update_subtitles(options):
|
|||
for clip in scene['audio-center']['A1']:
|
||||
if not clip.get("blank"):
|
||||
batch, fragment_id = clip['src'].replace('.wav', '').split('/')[-2:]
|
||||
vo = item.models.Item.objects.filter(data__icontains='2-Whispered', data__title__startswith=fragment_id + '_').first()
|
||||
vo = item.models.Item.objects.filter(data__batch__icontains=batch, data__title__startswith=fragment_id + '_').first()
|
||||
if vo:
|
||||
#print("%s => %s %s" % (clip['src'], vo, vo.get('batch')))
|
||||
for sub in vo.annotations.filter(layer="subtitles").exclude(value="").order_by("start"):
|
||||
sdata = get_srt(sub, offset)
|
||||
subs.append(sdata)
|
||||
else:
|
||||
print("could not find vo for %s" % clip['src'])
|
||||
offset += clip['duration']
|
||||
path = folder / "front.srt"
|
||||
srt = ox.srt.encode(subs)
|
||||
|
|
Loading…
Reference in a new issue