Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ def convert_6ch_wav_to_stereo(input_file_path, output_file_path):
|
|
6 |
sound = AudioSegment.from_file(input_file_path, format="wav")
|
7 |
if sound.channels != 6:
|
8 |
sound.export(output_file_path, format="wav")
|
|
|
9 |
front_left = sound.split_to_mono()[0]
|
10 |
front_right = sound.split_to_mono()[1]
|
11 |
center = sound.split_to_mono()[2]
|
|
|
6 |
sound = AudioSegment.from_file(input_file_path, format="wav")
|
7 |
if sound.channels != 6:
|
8 |
sound.export(output_file_path, format="wav")
|
9 |
+
return
|
10 |
front_left = sound.split_to_mono()[0]
|
11 |
front_right = sound.split_to_mono()[1]
|
12 |
center = sound.split_to_mono()[2]
|