Spaces:
Sleeping
Sleeping
Ali Safaya
commited on
Commit
·
3333b22
1
Parent(s):
195b17b
edit volume
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def get_format_info(input_file):
|
|
50 |
|
51 |
# Function to increase volume of audio with sox
|
52 |
def increase_volume(input_file):
|
53 |
-
os.system(f"sox -v 1.
|
54 |
os.rename(f"{input_file}.vol.wav", input_file)
|
55 |
return input_file
|
56 |
|
|
|
50 |
|
51 |
# Function to increase volume of audio with sox
|
52 |
def increase_volume(input_file):
|
53 |
+
os.system(f"sox -v 1.25 {input_file} {input_file}.vol.wav")
|
54 |
os.rename(f"{input_file}.vol.wav", input_file)
|
55 |
return input_file
|
56 |
|