Emanuele Lapponi
commited on
Commit
•
2adb27f
1
Parent(s):
fd00f97
:fire: remove unused function
Browse files
app.py
CHANGED
@@ -16,16 +16,6 @@ def stretch(audio, factor):
|
|
16 |
return np.array(buffer)
|
17 |
|
18 |
|
19 |
-
def fix_pops(chunk):
|
20 |
-
chunk = np.array(chunk)
|
21 |
-
print(type(chunk), type(chunk[0]), type(chunk[-1]))
|
22 |
-
# print(chunk[0].shape, chunk[-1].shape)
|
23 |
-
print(chunk[0], chunk[-1])
|
24 |
-
chunk[:, 0] = fix_pops_channel(chunk[:, 0])
|
25 |
-
chunk[:, 1] = fix_pops_channel(chunk[:, 1])
|
26 |
-
return chunk
|
27 |
-
|
28 |
-
|
29 |
st.title("👹 Sound Refukculator")
|
30 |
|
31 |
audio = np.array([])
|
|
|
16 |
return np.array(buffer)
|
17 |
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
st.title("👹 Sound Refukculator")
|
20 |
|
21 |
audio = np.array([])
|