zarox commited on
Commit
16d22f2
·
1 Parent(s): bbc5ea2
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -39,30 +39,30 @@ with gr.Blocks(title="Audio Fusion") as iface:
39
  with gr.Tab("Slowed Effect"):
40
  speed_check = gr.Checkbox(label="Apply slowed effect")
41
  with gr.Column(visible=False) as se_col:
42
- speed = gr.Slider(label="Slowed - Speed Multiplier", minimum=0.1, maximum=4, step=0.01, value=0.92)
43
 
44
- # Reverb Effect and its arguments
45
  with gr.Tab("Reverb Effect"):
46
  reverb_check = gr.Checkbox(label="Apply reverb effect")
47
  with gr.Column(visible=False) as re_col:
48
  with gr.Row():
49
- room = gr.Slider(label="Reverb - Room Size", minimum=0, maximum=1, step=0.01, value=0.8)
50
- damp = gr.Slider(label="Reverb - Damping", minimum=0, maximum=1, step=0.05, value=1)
51
- width = gr.Slider(label="Reverb - Width", minimum=0, maximum=1, step=0.05, value=0.5)
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):
 
39
  with gr.Tab("Slowed Effect"):
40
  speed_check = gr.Checkbox(label="Apply slowed effect")
41
  with gr.Column(visible=False) as se_col:
42
+ speed = gr.Slider(label="Speed Multiplier", minimum=0.1, maximum=4, step=0.05, value=0.90)
43
 
44
+ # Reverb Effect and its argument
45
  with gr.Tab("Reverb Effect"):
46
  reverb_check = gr.Checkbox(label="Apply reverb effect")
47
  with gr.Column(visible=False) as re_col:
48
  with gr.Row():
49
+ room = gr.Slider(label="Room Size", minimum=0, maximum=1, step=0.01, value=0.8)
50
+ damp = gr.Slider(label="Damping", minimum=0, maximum=1, step=0.05, value=1)
51
+ width = gr.Slider(label="Width", minimum=0, maximum=1, step=0.05, value=0.5)
52
  with gr.Row():
53
+ wet = gr.Slider(label="Wet Level", minimum=0, maximum=1, step=0.05, value=0.3)
54
+ dry = gr.Slider(label="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="Pan Boundary", minimum=0, maximum=100, value=90)
62
+ jump = gr.Slider(label="Jump Percentage", minimum=1, maximum=100, value=5)
63
  with gr.Row():
64
+ time = gr.Slider(label="Time L to R (s)", minimum=1, maximum=30, value=10)
65
+ volx = gr.Slider(label="Volume Multiplier", minimum=1, maximum=20, value=6)
66
 
67
  # =====================================================
68
  def di_v(check):