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

The ubuntu system reports an error about ALSA, and I cannot get a voice reply. #85

Open
CrazyWan528 opened this issue Sep 19, 2024 · 3 comments

Comments

@CrazyWan528
Copy link

I tried this project on two different ubuntu-20.04 systems (one on an old system, one on a brand new system reinstalled), but both get the following errors, does anyone have the same situations? How can I solve this problem? Thank you all.

Errors Here:(The following IP address is temporarily hidden)

(omni) caoteam@caoteam-NUC13VYKi7:~/wqx/mini-omni$ API_URL=http://0.0.0.0:60808/chat streamlit run webui/omni_streamlit.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://192.168.XX.XX:8501

warm up done, time_cost: 0.072 s
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lIP fe
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
duration_after_vad: 0.000 s, time_vad: 5.561 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.002 s
duration_after_vad: 0.000 s, time_vad: 0.007 s
duration_after_vad: 0.000 s, time_vad: 0.007 s
duration_after_vad: 0.000 s, time_vad: 0.007 s
duration_after_vad: 0.512 s, time_vad: 0.006 s
duration_after_vad: 0.000 s, time_vad: 0.007 s

@mini-omni
Copy link
Contributor

It seems a problem of audio recording, can you record audio with only Pyaduio?

@lingluo610
Copy link

I also encountered a similar problem. How did you solve it?

@mini-omni
Copy link
Contributor

@lingluo610 hi, did you run the demo in your LOCAL machine? can you record audio with only Pyaduio?

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

3 participants