Skip to content

Instantly share code, notes, and snippets.

@mdombroski
Created November 26, 2009 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdombroski/243694 to your computer and use it in GitHub Desktop.
Save mdombroski/243694 to your computer and use it in GitHub Desktop.
# asoundrc with preamp and equaliser
pcm.preamp {
type equal
slave {
pcm "plugequal"
}
controls ".alsaequal-amp.bin"
library "/usr/lib/ladspa/amp_1181.so"
module "amp"
}
pcm.plugequal {
type equal
slave {
pcm "plug:dmixer"
}
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
pcm.asym0 {
type asym
playback.pcm "preamp"
}
pcm.!default {
type plug
slave {
# pcm "asym0"
pcm "dmixer"
}
}
pcm.dsp0 {
type plug
slave {
pcm "dmixer"
}
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 32668
# periods 128
rate 44100
}
# bindings {
# 0 0
# 1 1
# }
}
ctl.mixer0 {
type hw
card 0
}
ctl.equal {
type equal
library "/usr/lib/ladspa/mbeq_1197.so"
module "mbeq"
}
ctl.preamp {
type equal
controls ".alsaequal-amp.bin"
library "/usr/lib/ladspa/amp_1181.so"
module "amp"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment