New answers tagged

0

I have an answer which is almost completely satisfactory, but I'd still appreciate some input on what to do if the two TTYs are from two different users. If both TTYs are from the same user and the user is in the audio group, everything seems to work fine. If one TTY is from one user and one is from another, however, playing sound causes one TTY to steal ...


0

sleep 2; spd-say 'get back to work' Infinite loop with -w if you need extra motivation: sleep 2; while true; do spd-say -w 'get back to work'; done Pre-installed on 14.04 via package speech-dispatcher: http://releases.ubuntu.com/trusty/ubuntu-14.04.4-desktop-amd64.manifest for blind people I suppose? Same on Ask Ubuntu: http://askubuntu.com/questions/...


0

even if your last proposition doesn't work for virtual channel "all", it helped me a lot, and I tried something which works perfectly on my computer, with the same USB sound card. Here is the config file : pcm.dmix8 { type dmix ipc_key 1001 slave { pcm "hw:2" rate 44100 channels 8 period_size 1024 ...


0

I'm not sure if you can use different dmix definitions with the same ipc_key; it might be a better idea to use a common dmix device. To be able to play a stero file to all channels, you have to convert it to mono first. pcm.dmix8 { type dmix slave { pcm "hw:1" rate 44100 channels 8 period_size 1024 ...


2

Here's one way to do it from ~/.asoundrc ; example shows an on-board and soundblaster live card united under the default PCM. # duplicate audio to both devices pcm.!default plug:both ctl.!default { type hw card SB } pcm.both { type route; slave.pcm { type multi; slaves.a.pcm "sblive"; slaves.b.pcm "onboard"; slaves.a....


1

I found this solution on a blog to work on my Debian Jessie / XFCE machine. In brief, the problem seems to be a missing "gstreamer0.10-pulseaudio" package. This causes a behavior where you can mute all audio using the keyboard button, but to unmute it you have to go into alsamixer and press M to unmute; the unmute action apparently doesn't get ...


2

Based on correspondence with the poster (see comments), it turned out that the sound card was muted inside pavucontrol.


2

The best way that I've seen is by adding the -l flag to silence as follows: sox in.wav out6.wav silence -l 1 0.1 1% -1 2.0 1% I've copied this command from Example 6 of this very useful blog post called The Sox of Silence


2

You want to use the multi-plugin. Several well documented examples of its use exist: From the alsa people: http://alsa.opensrc.org/TwoCardsAsOne From somebody with a similar question here: http://unix.stackexchange.com/a/194631/127903


-1

Since introduction of Dmix in alsa, pulseaudio turned to be useless. Bare alsa with Dmix somehow enabled deep inside (I haven't have to set anything) works much better for me. For example, there is no delays while a sound level is being changed. Just uninstall pulseaudio if you are using recent alsa and feel fine.


2

I asked this same question here: http://raspberrypi.stackexchange.com/questions/50596/how-to-change-audio-levels-of-sound-card-with-same-control-names and got the answer from CL. Use amixer -c2 controls to list all the low-level controls. Then you can use amixer -c2 cset .. to select specific controls by their unique ID number. Running the ...



Top 50 recent answers are included