Skip to content

Instantly share code, notes, and snippets.

@jhyang12345
Created April 3, 2018 12:22
Show Gist options
  • Select an option

  • Save jhyang12345/dafd0eb421aaf81638d1e4752fb16643 to your computer and use it in GitHub Desktop.

Select an option

Save jhyang12345/dafd0eb421aaf81638d1e4752fb16643 to your computer and use it in GitHub Desktop.

Revisions

  1. jhyang12345 created this gist Apr 3, 2018.
    5 changes: 5 additions & 0 deletions simple_mp3_cutter.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    from moviepy.editor import *

    clip = AudioFileClip("잊어야 한다는 마음으로 - 아이유.mp3")
    clip = clip.cutout(0, 20)
    clip.write_audiofile("test.mp3")