-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasoundrc
67 lines (62 loc) · 1.04 KB
/
asoundrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# My alsa conf
# allow dmix my ALSA enables by default (though not with OSS emulation)
#pcm.!default {
# type plug
# slave.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 1024
# buffer_size 8192
# #periods 128
# rate 44100
# }
# bindings {
# 0 0
# 1 1
# }
#}
#ctl.mixer0 {
# type hw
# card 0
#}
# Improve capture with noise cancellation
# NB: it sounds good with >=S16_LE, but not when auto converted down to U8.
# (So use `arecord -fS16_LE`)
pcm.mic_nc {
type plug
slave.pcm {
type speex
slave.pcm {
type plug
slave.pcm dsnoop
}
frames 512
denoise 1
#agc 1
#agc_level 8000
#echo 1
filter_length 8192
dereverb 1
#dereverb_decay 0
#dereverb_level 0
}
}
pcm.!default {
type asym
capture.pcm mic_nc
playback.pcm cards.pcm.default
}
ctl.!default ctl.sysdefault
# ctl.!default {
# type hw
# card 2
# }