Split Audio File with python Librosa

1.3k views Asked by At

After doing split in an audio file with Librosa, I want to know how to obtain the resultant fragments in mp3 filesSee audio image

1

There are 1 answers

0
damaredayo On

Can you just open individual files like

    fragment1 = open("x.mp3", "a")
    fragment2 = open("y.mp3", "a")

and then write to each of those using what you have as variables?