Skip to content

Commit

Permalink
Merge pull request #80 from LuisMayo/audio_in_aac
Browse files Browse the repository at this point in the history
Audio in aac
  • Loading branch information
LuisMayo authored Jun 20, 2022
2 parents 069e5c1 + 400667b commit 5119580
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions objection_engine/anim.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,11 @@ def do_audio(sound_effects: List[Dict], output_filename):
# music_se = AudioSegment.from_mp3(sound_effects[0]["src"])[:len(audio_se)]
# music_se -= 5
final_se = music_se.overlay(audio_se)
final_se.export(output_filename, format="mp3")
final_se.export(output_filename, format="adts")

def ace_attorney_anim(config: List[Dict], output_filename: str = "output.mp4", resolution_scale: int = 1):
root_filename = output_filename[:-4]
audio_filename = output_filename + '.audio.mp3'
audio_filename = output_filename + '.audio.aac'
text_filename = root_filename + '.txt'
if os.path.exists(root_filename):
shutil.rmtree(root_filename)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "objection_engine"
version = "3.1.0"
version = "3.1.1"
description = "Library that turns comment chains into ace attorney scenes, used in several bots"
authors = ["Luis Mayo Valbuena <luismayovalbuena@outlook.es>"]
license = "MIT"
Expand Down

0 comments on commit 5119580

Please sign in to comment.