bartman081523 commited on
Commit
9cf73ca
1 Parent(s): ef5f4d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,7 +74,7 @@ iface = gr.Interface(
74
  gr.inputs.Slider(minimum=20, maximum=20000, default=300, step=10, label="Lowcut Frequency (Hz)"),
75
  gr.inputs.Slider(minimum=20, maximum=20000, default=5000, step=10, label="Highcut Frequency (Hz)"),
76
  gr.inputs.Slider(minimum=1, maximum=600, default=30, step=1, label="Duration (seconds)"),
77
- gr.inputs.Slider(minimum=1, maximum=180, default=30, step=1, label="Pop Rate (pops per second)")
78
  ],
79
  outputs=[
80
  gr.outputs.Audio(type="numpy", label="Vinyl Sound"),
@@ -88,7 +88,7 @@ iface = gr.Interface(
88
  title="Vinyl Sound Generator",
89
  description="Generate a synthetic vinyl sound using pink noise, rumble, hiss, and pops. Adjust the noise ratio, bandpass frequencies, duration, and pop rate to modify the sound.",
90
  examples=[
91
- [0.0005, 300, 5000, 30, 30],
92
  [0.001, 500, 4000, 30, 50],
93
  [0.002, 200, 6000, 30, 100]
94
  ]
 
74
  gr.inputs.Slider(minimum=20, maximum=20000, default=300, step=10, label="Lowcut Frequency (Hz)"),
75
  gr.inputs.Slider(minimum=20, maximum=20000, default=5000, step=10, label="Highcut Frequency (Hz)"),
76
  gr.inputs.Slider(minimum=1, maximum=600, default=30, step=1, label="Duration (seconds)"),
77
+ gr.inputs.Slider(minimum=1, maximum=180, default=10, step=1, label="Pop Rate (pops per second)")
78
  ],
79
  outputs=[
80
  gr.outputs.Audio(type="numpy", label="Vinyl Sound"),
 
88
  title="Vinyl Sound Generator",
89
  description="Generate a synthetic vinyl sound using pink noise, rumble, hiss, and pops. Adjust the noise ratio, bandpass frequencies, duration, and pop rate to modify the sound.",
90
  examples=[
91
+ [0.0005, 300, 5000, 30, 10],
92
  [0.001, 500, 4000, 30, 50],
93
  [0.002, 200, 6000, 30, 100]
94
  ]