A while I have abandoned all sound daemons and lived happily ever since with just the dmix plugin. However, recently I got annoyed by the different volume levels of youtube videos and decided to plug in a compressor and a limiter. IMHO this is an extremely desirable setup.
But alas, I had no luck. I got playback to work or capture, but never both. I suppose the underlying problem is my lack of understanding, so my fundamental questions are:
- Where can I find a good documentation of alsa and .asoundrc, which goes beyond mere examples and which would e.g. explain the error messages (see below) I got.
- Has anyobody succeeded in a daemonless sound setup which included ladspa plugins?
- Does anybody know the reasons, or even a solution for my particular problems (described below)?
For those of you who have the patience to follow my woes here they are. I got as far as being able to play sound like this
aplay -D ladspaChain /usr/share/skype/sounds/CallBusy.wav
but I cannot play via the default device.
pcm.!default {
type plug
slave.pcm {
type asym
playback.pcm "ladspaChain"
capture.pcm "dsnooper"
}
}
Without -D ladspaChain, I get
aplay: pcm_params.c:170: snd1_pcm_hw_param_get_min: Assertion `!snd_interval_empty(i)' failed.**
Alternatively I tried
pcm.!default {
type route
slave.pcm {
type asym
playback.pcm "ladspaChain"
capture.pcm "dsnooper"
}
ttable {
0.0 1 # left channel
1.1 1 # right channel
}
}
In this case playback works, but arecord gives me
arecord: set_params:1081: Sample format non available
Available formats:
- S32_LE