You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def add_audio_effects():
......
with AudioFile(audio_path) as f:
with AudioFile(output_path, 'w', f.samplerate, 2) as o:
# Read one second of audio at a time, until the file is empty:
while f.tell() < f.frames:
chunk = f.read(int(f.samplerate))
chunk = np.tile(chunk, (2, 1)).T
effected = board(chunk, f.samplerate, reset=False)
o.write(effected)
......
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: