New answers tagged audio
Any player can be used. I'm adding cvlc for completeness.
This is a fresh LMDE install audio is erratic, stops to work after some time. nothing helped except this. sudo pam-auth-update --force pulseaudio -k && sudo alsa force-reload What it does, and what it changed I have no idea.
The problem lies in a PulseAudio module called module-role-cork which exists to pause music and video during phone calls. All applications are given a media-role property which can be either music video or phone. The Cork module will give any application tagged phone exclusive access to the PulseAudio server and pause anything not tagged as such. Simply ...
it would seem the more logical if applications probed for the more advanced audio solutions first I would guess there's actually a big advantage to this, having done a little with the ALSA API. Here's where you start, in order to just play a prepped PCM stream. Now I'll cite wikipedia on the OSS API: The API is designed to use the traditional Unix ...
As explained in https://bbs.archlinux.org/viewtopic.php?id=172491, this is a problem with semi-installed (as in, not installed at all, but modules still exist) bluetooth support. If you deactivate bluetooth fully in your /etc/pulse/default.pa, by commenting out the following lines: ### Automatically load driver modules for Bluetooth hardware #.ifexists ...
I made a test recording like so: arecord -d 4 out.wav You could use dd like this: dd bs=1 if=out.wav | aplay Or use a really choppy unbuffered stream with a while loop: while read -n 2048 bytes; do printf "$bytes" | aplay done < out.wav You could then use netcat to redirect it to a socket or port. ...
It is obfuscated because you run multiple commands, but the only real error is in cuebreakpoints not being able to process the cue file. That you get an error from shnsplit as well is because cuebreakpints cannot pipe anything sensible into it. Look at the file.cue for any obvious syntax errors, it should look like: REM GENRE "Electronica" REM DATE ...
If lspci|grep snd_ens1371 gives some output the sound kernel modules are loaded & sound is probably muted in alsamixer. Muted channels show up as 'MM' & can be unmuted by selecting them & pressing M. If alsamixer does not detect a sound card run: alsactl init If you are using pulseaudio check /etc/asound.confcontains a minimum of: pcm.pulse ...
For single user use, you can write a nemo action in: $HOME/.local/share/nemo/actions/ For all users use: /usr/share/nemo/actions/ The file has to preserve the file ending *.nemo_action. Something like: [Nemo Action] Name=mp42m4a Comment=Convert mp4/flv to m4a Exec=gnome-terminal -x sh -c "ffmpeg -i %F -vn -acodec copy audio.m4a" Icon-Name= ...
Found this method on AskUbuntu that shows using a crontab entry along with amixer to mute/unmute the sound. It's titled: How do I automatically mute/unmute sound during a certain time period (e.g. night)?. General steps Create a crontab entry $ crontab -e Add entries to crontab 59 21 * * * amixer set Master mute 00 08 * * * amixer set Master unmute ...
I'm assuming that you are asking this because you want it to be done automatically rather than having somebody tell you "Just turn the volume down when you go to bed". Go to a shell prompt and use "crontab -e" and add two events along this lines of this: 0 21 * * * /usr/sbin/amixer -D pulse sset Master,0 0% 0 8 * * * /usr/sbin/amixer -D pulse sset ...
After spending more than one hour trying to vainly setup the ALSA loopback device on Debian, the most effective and least time-consuming solution was to solder an actual device in 5 minutes. Seriously, I recompiled the kernel to enable the ALSA loopback, I tweaked the /etc/asound.conf and ~/.asound.rc without results.
Are you sure the audio sounds good above 100%? Oftentimes, the sound appears distorted, maybe that's why you cannot access it from your hardware keys. (Edit: Wanted to comment, but that's an answer because I don't have enough reputation, sorry…)
ffmpeg -i video.mp4 -vn -acodec copy audio.aac Here’s a short explanation on what every parameter does: -i “input file” -vn “skip the video part” -acodec copy "copy audio stream".
Top 50 recent answers are included