faiimea commited on
Commit
c487de7
·
verified ·
1 Parent(s): 9494706

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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]