-
Notifications
You must be signed in to change notification settings - Fork 261
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
Audio Stream device names are not exposed in documentation and missing device error message is not user friendly. #380
Comments
Hi @djangohenk! What comes up when you run the following line? print(AudioStream.input_device_names) |
Hi @psobot This is the output |
Looks like you should be able to do: scarlett = 'Scarlett 2i2 4th Gen, USB Audio; Direct hardware device without any conversions'
with AudioStream(scarlett, scarlett) as stream:
# do stuff with `stream` here! Let me know if that doesn't work; the error message could be improved on our end to show potential matches instead of just saying |
@psobot |
Hi,
I'm trying to use Pedalboard with a live audio stream, following the example provided in the documentation (version 0.9.16) titled "Running Pedalboard on Live Audio." However, I keep running into issues with specifying
input_device_name
andoutput_device_name
.My computer is running Ubuntu 22.04, and I’m using a Focusrite Scarlett 2i2 4th Gen as the USB audio device. When I run
$ python3 -m sounddevice
, I get the following information for the device:'5 Scarlett 2i2 4th Gen: USB Audio (hw:3,0), ALSA (4 in, 2 out)'
No matter what I try as the input and output device names, I keep getting an error like:
ValueError: No such device: hw:3,0
Any help would be greatly appreciated.
Kind regards,
Henk
The text was updated successfully, but these errors were encountered: