Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Reverb on Audio Stream Producing Significant Noise #383

Open
djangohenk opened this issue Nov 6, 2024 · 0 comments
Open

Issue with Reverb on Audio Stream Producing Significant Noise #383

djangohenk opened this issue Nov 6, 2024 · 0 comments

Comments

@djangohenk
Copy link

Hello,

I'd like to report an issue I'm experiencing with reverb applied to a live audio stream. I set up an experiment based on the example "Running Pedalboard on Live Audio." Below, I’ve included the Python code I used for reference.

I'm using a Focusrite Scarlett 2i2 Gen 4 audio interface connected to Ubuntu 22.04. For the input, I’m running a recording of an electric drum. The code functions correctly, but the output audio includes substantial unwanted noise alongside the reverb effect. It sounds almost like a vibrating tray of gravel.

I attempted to increase the stream’s sample frequency, which slightly reduces the noise, but it doesn't eliminate it entirely. Any advice on how to address or mitigate this issue would be greatly appreciated.

Thank you!
Henk Schaap

from pedalboard.io import AudioStream

scarlett = 'Scarlett 2i2 4th Gen, USB Audio; Direct hardware device without any conversions'

# Open up an audio stream:
with AudioStream(scarlett, scarlett, ) as stream:

  # Audio is now streaming through this pedalboard and out of your speakers!
  stream.plugins = Pedalboard([
      Reverb(room_size=0.4),
  ])
  input("Press enter to stop streaming...")

# The live AudioStream is now closed, and audio has stopped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant