7

I have mp3 files and i want to slice these into samples, by giving a start and end time to a library function. Does anyone know which python library suits me to do this??

plaes
  • 30,266
  • 10
  • 85
  • 86
Ahsan
  • 10,980
  • 12
  • 48
  • 78

1 Answers1

7

Mp3splt, This works fabulously :)

Example:

import os
os.system("mp3splt inputfile.mp3")
Ahsan
  • 10,980
  • 12
  • 48
  • 78
  • They provide library which you could wrap (e.g. using boost::python) instead of calling commands. Or do you use `ctypes`? – eudoxos Sep 16 '11 at 07:37
  • 2
    I used their commands, `import os` `os.system("mp3splt inputfile.mp3")` etc – Ahsan Sep 16 '11 at 07:42