change to mp3
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ class SplitWavAudioMubin():
|
|
23 |
t1 = from_min * 60 * 1000
|
24 |
t2 = to_min * 60 * 1000
|
25 |
split_audio = self.audio[t1:t2]
|
26 |
-
split_audio.export(self.folder + '/' + split_filename, format="
|
27 |
|
28 |
def multiple_split(self, min_per_split):
|
29 |
total_mins = math.ceil(self.get_duration() / 60)
|
|
|
23 |
t1 = from_min * 60 * 1000
|
24 |
t2 = to_min * 60 * 1000
|
25 |
split_audio = self.audio[t1:t2]
|
26 |
+
split_audio.export(self.folder + '/' + split_filename, format="mp3")
|
27 |
|
28 |
def multiple_split(self, min_per_split):
|
29 |
total_mins = math.ceil(self.get_duration() / 60)
|