8

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
  • 31,788
  • 11
  • 91
  • 89
Ahsan
  • 11,516
  • 12
  • 52
  • 79

1 Answers1

8

Mp3splt, This works fabulously :)

Example:

import os
os.system("mp3splt inputfile.mp3")
Ahsan
  • 11,516
  • 12
  • 52
  • 79
  • 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