volume tweaks

This commit is contained in:
j 2023-11-14 11:12:18 +01:00
parent 589ccf9fb7
commit 8e9236a176
2 changed files with 9 additions and 6 deletions

View file

@ -112,9 +112,13 @@ def compose(clips, target=150, base=1024, voice_over=None):
voc = vo.copy() voc = vo.copy()
a, b = '3', '-6' a, b = '3', '-6'
if 'Whispered' in voc['src']: if 'Whispered' in voc['src']:
a, b = '4', '-5'
elif 'Read' in voc['src']:
a, b = '6', '-3' a, b = '6', '-3'
elif 'Read' in voc['src']:
a, b = '7', '-2'
elif 'Free' in voc['src']:
a, b = '5', '-4'
elif 'Ashley' in voc['src']:
a, b = '5', '-4'
voc['filter'] = {'volume': a} voc['filter'] = {'volume': a}
scene['audio-center']['A1'].append(voc) scene['audio-center']['A1'].append(voc)
vo_low = vo.copy() vo_low = vo.copy()

7
sax.py
View file

@ -38,12 +38,11 @@ long = {
noise = { noise = {
"src": nois_wav, "src": nois_wav,
"duration": 3600.0, "duration": 3600.0,
}
'''
"filter": { "filter": {
"volume": "1" "volume": "2"
}, },
''' }
project.append_clip('A1', long) project.append_clip('A1', long)
project.append_clip('A2', noise) project.append_clip('A2', noise)
path = os.path.join(root, "sax-mix.kdenlive") path = os.path.join(root, "sax-mix.kdenlive")