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

audio sampling error #10

Open
oladipoacademics opened this issue May 10, 2019 · 1 comment
Open

audio sampling error #10

oladipoacademics opened this issue May 10, 2019 · 1 comment

Comments

@oladipoacademics
Copy link

oladipoacademics commented May 10, 2019

hi, i tried to run supersid.py on raspberry pi 3 but i keep getting this error. i have install pyalsaaudio but this message would not clear. pls help

From Sampler object instance:
Could not open capture device. Please cError alsaaudio
global name 'alsaaudio_soundcard' is not defined
To debugg: remove the try/except clause to get detail on what exception is triggered.
Traceback (most recent call last):
File "supersid.py", line 226, in
sid = SuperSID(config_file=args.config_file, read_file=args.filename)
File "supersid.py", line 100, in init
self.close()
File "supersid.py", line 188, in close
self.sampler.close()
File "/home/pi/Desktop/supersid-master/supersid/sampler.py", line 221, in close
self.capture_device.close()
AttributeError: Sampler instance has no attribute 'capture_device'

@jrhilton
Copy link

What soundcard are you using and is it set to be the default one? I've seen similar messages when the built in sound-out-only (HDMI or headphone jack) was the default card still.

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

2 participants