Browse Source

增加音频音量

zhangyong 9 tháng trước cách đây
mục cha
commit
aee28699d8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/tts_help.py

+ 1 - 1
common/tts_help.py

@@ -66,7 +66,7 @@ class TTS:
                     file.write(response.content)
                 # 增加音频音量
                 audio = AudioSegment.from_file(pw_mp3_path)
-                louder_audio = audio + 15
+                louder_audio = audio + 22
                 louder_audio.export(pw_mp3_path, format="mp3")
                 time.sleep(5)
                 return pw_mp3_path