Change name of separe.py to separe_vocals.py
Browse files
separe.py → separe_vocals.py
RENAMED
@@ -28,7 +28,7 @@ def change_sample_rate(input_audio_file_path, output_audio_file_path, sample_rat
|
|
28 |
output_audio_file_path (str): Path to the output audio file
|
29 |
sample_rate (int): Sample rate to change to
|
30 |
"""
|
31 |
-
os.system(f'ffmpeg -i {input_audio_file_path} -ar {sample_rate} {output_audio_file_path}')
|
32 |
|
33 |
def audio_is_stereo(audio_file_path):
|
34 |
"""
|
@@ -49,7 +49,7 @@ def set_mono(input_audio_file_path, output_audio_file_path):
|
|
49 |
input_audio_file_path (str): Path to the input audio file
|
50 |
output_audio_file_path (str): Path to the output audio file
|
51 |
"""
|
52 |
-
os.system(f'ffmpeg -i {input_audio_file_path} -ac 1 {output_audio_file_path}')
|
53 |
|
54 |
def main(args):
|
55 |
# Get input and output files
|
|
|
28 |
output_audio_file_path (str): Path to the output audio file
|
29 |
sample_rate (int): Sample rate to change to
|
30 |
"""
|
31 |
+
os.system(f'ffmpeg -i {input_audio_file_path} -ar {sample_rate} -loglevel error {output_audio_file_path}')
|
32 |
|
33 |
def audio_is_stereo(audio_file_path):
|
34 |
"""
|
|
|
49 |
input_audio_file_path (str): Path to the input audio file
|
50 |
output_audio_file_path (str): Path to the output audio file
|
51 |
"""
|
52 |
+
os.system(f'ffmpeg -i {input_audio_file_path} -ac 1 -loglevel error {output_audio_file_path}')
|
53 |
|
54 |
def main(args):
|
55 |
# Get input and output files
|