Spaces:
Running
Running
UPDATE
Browse files
app.py
CHANGED
|
@@ -35,17 +35,6 @@ with gr.Blocks(title="Audio Fusion") as iface:
|
|
| 35 |
gr.Markdown("<p align='center'><h1>Audio Fusion</h1></p>")
|
| 36 |
input_audio = gr.Audio(label="Upload your music file", type="filepath")
|
| 37 |
|
| 38 |
-
# 8d Effect and its arguments
|
| 39 |
-
with gr.Tab("8d Effect"):
|
| 40 |
-
dimension_check = gr.Checkbox(label="Apply 8D effect")
|
| 41 |
-
with gr.Column(visible=False) as di_col:
|
| 42 |
-
with gr.Row():
|
| 43 |
-
pan = gr.Slider(label="8D - Pan Boundary", minimum=0, maximum=100, value=100)
|
| 44 |
-
jump = gr.Slider(label="8D - Jump Percentage", minimum=1, maximum=100, value=5)
|
| 45 |
-
with gr.Row():
|
| 46 |
-
time = gr.Slider(label="8D - Time L to R (s)", minimum=1, maximum=30, value=10)
|
| 47 |
-
volx = gr.Slider(label="8D - Volume Multiplier", minimum=1, maximum=20, value=6)
|
| 48 |
-
|
| 49 |
# SLowed Effect and its arguments
|
| 50 |
with gr.Tab("Slowed Effect"):
|
| 51 |
speed_check = gr.Checkbox(label="Apply slowed effect")
|
|
@@ -63,6 +52,17 @@ with gr.Blocks(title="Audio Fusion") as iface:
|
|
| 63 |
with gr.Row():
|
| 64 |
wet = gr.Slider(label="Reverb - Wet Level", minimum=0, maximum=1, step=0.05, value=0.3)
|
| 65 |
dry = gr.Slider(label="Reverb - Dry Level", minimum=0, maximum=1, step=0.05, value=0.8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
# =====================================================
|
| 68 |
def di_v(check):
|
|
|
|
| 35 |
gr.Markdown("<p align='center'><h1>Audio Fusion</h1></p>")
|
| 36 |
input_audio = gr.Audio(label="Upload your music file", type="filepath")
|
| 37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
# SLowed Effect and its arguments
|
| 39 |
with gr.Tab("Slowed Effect"):
|
| 40 |
speed_check = gr.Checkbox(label="Apply slowed effect")
|
|
|
|
| 52 |
with gr.Row():
|
| 53 |
wet = gr.Slider(label="Reverb - Wet Level", minimum=0, maximum=1, step=0.05, value=0.3)
|
| 54 |
dry = gr.Slider(label="Reverb - Dry Level", minimum=0, maximum=1, step=0.05, value=0.8)
|
| 55 |
+
|
| 56 |
+
# 8d Effect and its arguments
|
| 57 |
+
with gr.Tab("8d Effect"):
|
| 58 |
+
dimension_check = gr.Checkbox(label="Apply 8D effect")
|
| 59 |
+
with gr.Column(visible=False) as di_col:
|
| 60 |
+
with gr.Row():
|
| 61 |
+
pan = gr.Slider(label="8D - Pan Boundary", minimum=0, maximum=100, value=100)
|
| 62 |
+
jump = gr.Slider(label="8D - Jump Percentage", minimum=1, maximum=100, value=5)
|
| 63 |
+
with gr.Row():
|
| 64 |
+
time = gr.Slider(label="8D - Time L to R (s)", minimum=1, maximum=30, value=10)
|
| 65 |
+
volx = gr.Slider(label="8D - Volume Multiplier", minimum=1, maximum=20, value=6)
|
| 66 |
|
| 67 |
# =====================================================
|
| 68 |
def di_v(check):
|