alsa-utils | The Advanced Linux Sound Architecture - utilities | Audio Utils library
kandi X-RAY | alsa-utils Summary
kandi X-RAY | alsa-utils Summary
The Advanced Linux Sound Architecture (ALSA) - utilities
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of alsa-utils
alsa-utils Key Features
alsa-utils Examples and Code Snippets
Community Discussions
Trending Discussions on alsa-utils
QUESTION
I am trying to add alsa library to my Eclipse in order to cross-compile and debug in my iMX8X. I have cross compiled the alsa-lib by
...ANSWER
Answered 2022-Feb-22 at 12:22I have created an Ubuntu 20.04 Virtual Box image, compiled there alsa-lib, alsa-utils and alsa-tools libraries. I installed eclipse and link all the libraries in my linker. I managed to compile it by adding -L/usr/lib and -lasound again, deleting the previous one. Make sure where the compilation of your library is and link it in the Cross GCC Linker -> Libraries in a path, which in my case was /usr/lib. No idea why the previous one didnt work.
QUESTION
I am trying to run the following command
comm -23 <(pacman -Qqe | sort) <(awk '{print $1}' /desktopfs-pkgs.txt | sort)
I get the following output
...ANSWER
Answered 2022-Jan-17 at 09:06The $1 is substituted by the shell at the time the alias is defined, i.e. awk never sees a $1
. You can verify this by displaying your alias with
QUESTION
I am able to build an image from the file. However, when I try to use the speech recognition I receive an error.
This is my dockerfile
ANSWER
Answered 2021-Dec-06 at 13:54Hej! Try adding the following flags -v /dev/snd:/dev/snd -e AUDIODEV="hw:Device, 0"
to your docker run
command
Find your device name with aplay -l
.
In my case it gave me:
card 2: Device [USB PnP Audio Device], device 0: USB Audio [USB Audio]
So I had to write -e AUDIODEV="hw:Device, 0"
QUESTION
I am having sound issues with my firefox. The problem is that, sound comes off as almost muted and sounds like it is coming out from the back speakers. My firefox is using wayland
I've had a similar problem with VLC. I was able to easily fix VLC by setting the audio output module from pulseaudio audio output
to ALSA audio output
and selecting Default ALSA Output (currently PipeWire Media Server)
as the Device.
like shown here.
Firefox about:support
shows the following for the
audio output
when I was installing arch, I installed the following:
alsa-utils
, pipewire
, pipewire-alsa
, pipewire-pulse
, pipewire-jack
my pavucontrol is configured like this.
If I select Analog Stero Duplex
as the profile, then audio from all sources through firefox works . The only problem is, I can't adjust the volume anymore. The sound is either 0% muted or 100% all the time. With Pro Audio
, I can adjust volume but some sounds will not work in firefox.
I was able to partially fix the sound issues on firefox by installing xdg-desktop-portal-gtk
. No most youtube videos thru firefox works great. Not all of them work. Some videos still have the same sound issues. I don't know why. For example, this video https://www.youtube.com/watch?v=2iarxxm-v9w
Other non-youtube sounds still come off as muted. For example, sounds from this website: https://erogol.github.io/ddc-samples/
If there is a way to configure the alsa/pipewire settings globally, so all applications use it as default, that would be ideal. But getting sound to work on firefox just itself will still be a big win for me either way.
...ANSWER
Answered 2021-Oct-10 at 18:55I have found a workaround solution. I downloaded freetube and the sound on the program works perfectly with all kinds of videoos. With this, I don't have to mess around with ALSA env variables.
QUESTION
I am trying to copy a file from my host (Ubuntu 18.04) to a python container but I am having trouble copying it over. The purpose is to take my specific configuration for my default sound device and transfer it over so I don't have to do it manually later.
I've tried several variations and I am wondering if I am misunderstanding how to copy files over. I've checked the documentation and other various questions people on stackoverflow have asked regarding this like this one:
How to copy file from host to container using Dockerfile
But I get an error when I try the traditional command:
...ANSWER
Answered 2021-Feb-11 at 15:39I believe you have two issues in your COPY
command:
- Your source path starts with a slash, it shouldn't
- Your destination path contains a
~
, which will not be converted to the home directory, as it does in a shell script.
Try this:
QUESTION
I am trying to set a buildroot install to build an mp3 player and the issue I am encountering right now is that aplay that I have enabled in menuconfig is not available on my card flashed.
I am using buildroot-2020.02.8.
When looking for them in my BR folder I can find :
...ANSWER
Answered 2020-Dec-05 at 12:44Thanks to this thread I have found a solution. It seems that is was because I had first tried to install only alsamixer (which was working), then later other alsa tools. The first configuration was kept in memory and not changed.
I have been able to fix the issue by running :
make alsa-utils-dirclean
QUESTION
I have list of packages like this (it's bigger than this):
...ANSWER
Answered 2020-Nov-03 at 23:13try this regex :
QUESTION
Command:
...ANSWER
Answered 2020-Jul-30 at 09:37libasound2 package cannot be installed in general function apps. Rather go for docker container function apps, where this package can be installed in Dockerfile using the below command,
QUESTION
I'm trying to deploy a Python script on Heroku that utilizes Selenium. I have my Python script file, Procfile, requirements.txt(created via pipfreeze), and runtime.txt files all created in my root directory. I've successfully deployed everything to Heroku, have installed the 2 necessary Chrome buildpacks, and set config variables for both paths, but when I try to execute heroku run python3 my_script.py
on my command line, I receive an error message saying ImportError: No module named selenium
.
My code works locally, but I cannot seem to get it to run on Heroku. I tried executing heroku run bash
-> python3
-> import selenium
to check to see if it was installed and it's not. My Procfile reads web: python3 my_script.py
, my requirements.txt file includes selenium, and my rutime.txt file reads python-3.7.3
so I'm not sure what I'm missing here.
My goal is to use Heroku's scheduler to run my python file at intervals, but right now I can't even figure out how to run the code manually.
For reference of what the beginning of my_script.py
looks like:
ANSWER
Answered 2020-Jul-01 at 18:15As TinNguyen mentioned below, the problem was that my project required the Python buildpack. I had previously added 2 buildpacks for Chrome and since those were prioritized, Heroku must not have run its automatic check for the default language buildpacks. My solution was to add the heroku/python buildpack and set it as index 1 before the other 2 Chrome buildpacks.
QUESTION
I am trying to experiment with HRTF audio spatialization using PyAL library on the Raspberry Pi https://github.com/NicklasTegner/PyAL/tree/master/examples/HRTF
PyAL depends on OpenAL. I have installed necessary dependencies using sudo apt-get install
to ensure the library works: libopenal-dev libopenal1 libopenal-data libmysofa-dev libmysofa0 libmysofa-utils qt5-default alsa-utils alsa-oss alsaplayer-jack g++ gstreamer1.0-python3-plugin-loader gstreamer1.0-alsa
Additionally, I installed pyglet using: sudo pip3 install pyglet
All examples (3D audio, playback, efx, audiplayer, player) work except the HRTF example. When I try to run the HRTF example, I get the following error:
AL lib: (EE) ALCplaybackAlsa_reset: snd_pcm_hw_params(self->pcmHandle, hp) failed: File descriptor in bad state
I know for a fact that this is being caused by PulseAudio not being present in the system (https://unix.stackexchange.com/questions/467193/error-while-running-the-gstreamer-example-on-development-kit-file-descriptor). So I installed pulseaudio and its corresponding tools (e.g. pavucontrol
using sudo apt-get install pulseaudio
.
After installing pulseaudio and rebooting, when I run that example, the example executes without error. However, I do not hear any audio output in the headphones. In fact, audio output from the entire system stops. I made sure the audio output is headphones from sudo raspi-config
and alsamixer does show pulseaudio as a audio driver (when it is installed).
I am getting conflicting information from the Internet. The above link suggests using pulseaudio to mitigate the error (which is correct), whereas this link: https://www.youtube.com/watch?v=stvc7ehCWUU and https://raspberrypi.stackexchange.com/questions/1621/no-sound-output-in-vlc say to remove pulseaudio (which is also correct in the sense it brings my audio back but I can't run the HRTF example).
Any suggestions?
...ANSWER
Answered 2020-Jun-21 at 06:48This is very odd, but I solved the problem by connecting a cheap external USB audio card (https://www.amazon.com/gp/product/B00IRVQ0F8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1). Apparently, ALSA keeps control of 3.5mm jack and doesn't surrender control to Pulseaudio of that jack. Simplest solution is to use an external audio card.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install alsa-utils
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page