-
Notifications
You must be signed in to change notification settings - Fork 30
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
use internal audio system, not only microphone #6
Comments
Can you checkout the latest master branch and try to run the script |
Unfortunately the script does not work for me:
|
The error was caused by Did you get a colorful image or a black image? |
I see. I didn't get any image, just an empty page (blank page) |
OK, I will write another simple python test script. And if that script failed too, then I think you can report this error to pyaudio. |
Can you try to run this in the latest master branch?
|
It doesn't work either (but all I see is ALSA related, whereas my system uses pulse, not sure this may contribute to the issue):
|
My audio configuration is ArchLinux default (so it is pulse I guess), and I see this
|
So I cannot help at this stage. This issue belongs to upstream. https://people.csail.mit.edu/hubert/pyaudio/ |
Thank you for the link and help. What version of python3-pyaudio do you have? Mine is 0.2.11 Wondering, do you have any virtual audio output? I thought this could be having an impact. Another possibility is that I'm missing some other python3 library that it is needed. |
Same as you here.
I don't know, if there is any virtual audio output, then they are from the default configuration of ArchLinux. |
Got it working!! For the case it is useful for others: I had to install pavucontrol, edit your test1.sh script to remove the kill statement to have time enough to change how the ALSA plug-in records audio, from the intern audio, to the monitor of the intern audio. Why one works and the other doesn't is out of my comprehension. Unfortunately KDE's audio system does give you access to all that. |
Glad to know. Although I don't understand, does my applet work as edit: never mind |
I think I was not clear enough. Your scripts work in my system, assumed audio settings of Removing the kill instruction is not really important, but it help so I had time to change settings in pavucontrol before the ALSA plug-in vanished. EDIT:
This was referred to the ALSA plug-in setting |
Mmm, I just realized that this change between Somehow I cannot have access to both at once, but anyways, if I have to choose, I prefer the former option above than the latter. Just out of curiosity, is the spectrum in your system working for both options at once (micro alone with no internal audio playing, as well as muted micro with some internal audio playing)? |
Sorry, I don't have a microphone, cannot test. |
I see, thank you anyway. Perhaps some other user may say... |
not sure it is an issue in panon or something that is misconfigured in my system, but if I mute the microphone I don't see any spectrum even though I have audio signals going on.
for the case it is important, my audio system is based on pulseaudio.
The text was updated successfully, but these errors were encountered: