diff --git a/render.py b/render.py index aa87c3e..4c2e96b 100644 --- a/render.py +++ b/render.py @@ -112,9 +112,13 @@ def compose(clips, target=150, base=1024, voice_over=None): voc = vo.copy() a, b = '3', '-6' if 'Whispered' in voc['src']: - a, b = '4', '-5' - elif 'Read' in voc['src']: 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} scene['audio-center']['A1'].append(voc) vo_low = vo.copy() diff --git a/sax.py b/sax.py index c58fa7d..e4f031b 100644 --- a/sax.py +++ b/sax.py @@ -38,12 +38,11 @@ long = { noise = { "src": nois_wav, "duration": 3600.0, -} -''' "filter": { - "volume": "1" + "volume": "2" }, -''' +} + project.append_clip('A1', long) project.append_clip('A2', noise) path = os.path.join(root, "sax-mix.kdenlive")