-
Notifications
You must be signed in to change notification settings - Fork 33
/
openMHA.cfg
71 lines (52 loc) · 6.1 KB
/
openMHA.cfg
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
67
68
69
70
instance = openMHA
nchannels_in = 2
srate = 48000
mhalib = db
mha.fragsize = 48
mha.plugin_name = transducers
mha.transducers.calib_in.peaklevel = [111.4 111.4]
mha.transducers.calib_in.fir = [[-0.674757033017875 -0.339128228007168 0.030117856798366 -0.119542483672035 0.131726684555067 -0.071387589553860 0.056561094657502 -0.013365060531109 0.007091265106959 0.006913350591302 -0.002602409570910 0.023338189483743 -0.018652297865493 0.021281416315377 -0.014374905102702 0.015659551668403];[-0.674757033017875 -0.339128228007168 0.030117856798366 -0.119542483672035 0.131726684555067 -0.071387589553860 0.056561094657502 -0.013365060531109 0.007091265106959 0.006913350591302 -0.002602409570910 0.023338189483743 -0.018652297865493 0.021281416315377 -0.014374905102702 0.015659551668403]]
mha.transducers.calib_out.peaklevel = [100.8 100.8]
mha.transducers.calib_out.fir = [[-0.723329250680037 1.285750531421244 -1.764370643350338 1.702299222653803 0.569187694811727 -1.301642333817312 0.540112043557634 -0.111972475691304 0.187607100395961 0.532899301077540 -0.733701264924906 0.290587502735630 0.470074681167595 -0.330332208101367 -0.010615612830630 -0.221018479662762 -0.020491963942295 0.385847945936633 -0.198969798086483 -0.123437157204177 0.152968427130900 -0.205009361694624 -0.071974598348291 0.041537565470939 -0.058703551389704 0.006171609199330 -0.037439953306526 -0.032735557865821 0.028903184718236 -0.019431703287974 -0.069837180982837 0.038967963643885 -0.015801874625706 -0.060091628384134 0.057102986709234 -0.043134256115441 -0.016815289718170 0.002879163232524 -0.031134102833679 0.026124175604008 -0.040758325083950 0.022598560658844 0.012982112833010 -0.029909215215110 0.018353193685970 0.012015086827306 0.031537385134343 -0.028980188877489 0.026113358679986 0.017332696993042 -0.018853690496196 0.059665425003585 -0.017281793549857 0.007285675861939 0.010218784848149 0.003173184622963 0.040817408121183 -0.024810702312558 0.007344195504224 0.007639434860116 -0.004797394889051 0.025321400227842 -0.005638659121956 -0.002191206231116];[-0.723329250680037 1.285750531421244 -1.764370643350338 1.702299222653803 0.569187694811727 -1.301642333817312 0.540112043557634 -0.111972475691304 0.187607100395961 0.532899301077540 -0.733701264924906 0.290587502735630 0.470074681167595 -0.330332208101367 -0.010615612830630 -0.221018479662762 -0.020491963942295 0.385847945936633 -0.198969798086483 -0.123437157204177 0.152968427130900 -0.205009361694624 -0.071974598348291 0.041537565470939 -0.058703551389704 0.006171609199330 -0.037439953306526 -0.032735557865821 0.028903184718236 -0.019431703287974 -0.069837180982837 0.038967963643885 -0.015801874625706 -0.060091628384134 0.057102986709234 -0.043134256115441 -0.016815289718170 0.002879163232524 -0.031134102833679 0.026124175604008 -0.040758325083950 0.022598560658844 0.012982112833010 -0.029909215215110 0.018353193685970 0.012015086827306 0.031537385134343 -0.028980188877489 0.026113358679986 0.017332696993042 -0.018853690496196 0.059665425003585 -0.017281793549857 0.007285675861939 0.010218784848149 0.003173184622963 0.040817408121183 -0.024810702312558 0.007344195504224 0.007639434860116 -0.004797394889051 0.025321400227842 -0.005638659121956 -0.002191206231116]]
mha.transducers.calib_out.do_clipping = no
mha.transducers.plugin_name = mhachain
mha.transducers.mhachain.algos = [wavrec:record addsndfile:playback iirfilter:highpass altplugs]
mha.transducers.mhachain.record.prefix = /dev/shm/recording
mha.transducers.mhachain.record.use_date = no
mha.transducers.mhachain.playback.loop = no
mha.transducers.mhachain.playback.mode = add
mha.transducers.mhachain.playback.levelmode = rms
mha.transducers.mhachain.playback.level = 70
mha.transducers.mhachain.playback.channels = [0 1]
mha.transducers.mhachain.highpass.A = [1.0 -0.996]
mha.transducers.mhachain.highpass.B = [1.0 -1.0]
mha.transducers.mhachain.altplugs.plugs = [overlapadd:dynamiccompression identity]
mha.transducers.mhachain.altplugs.select = dynamiccompression
mha.transducers.mhachain.altplugs.dynamiccompression.fftlen = 384
mha.transducers.mhachain.altplugs.dynamiccompression.wnd.type = hanning
mha.transducers.mhachain.altplugs.dynamiccompression.wnd.user = []
mha.transducers.mhachain.altplugs.dynamiccompression.wnd.len = 192
mha.transducers.mhachain.altplugs.dynamiccompression.wnd.pos = 0.5
mha.transducers.mhachain.altplugs.dynamiccompression.wnd.exp = 1
mha.transducers.mhachain.altplugs.dynamiccompression.zerownd.type = hanning
mha.transducers.mhachain.altplugs.dynamiccompression.zerownd.user = []
mha.transducers.mhachain.altplugs.dynamiccompression.plugin_name = mhachain
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.algos = [fftfilterbank dc combinechannels]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.fftfilterbank.unit = Hz
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.fftfilterbank.f = [177 297 500 841 1414 2378 4000 6727 11314]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.fftfilterbank.fscale = log
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.fftfilterbank.ovltype = rect
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.fftfilterbank.ftype = center
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.gtdata = [[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0];[0.0 0.0]]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.gtmin = [0]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.gtstep = [1]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.tau_attack = [0.02]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.tau_decay = [0.1]
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.fb = fftfilterbank
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.dc.chname = fftfilterbank_nchannels
mha.transducers.mhachain.altplugs.dynamiccompression.mhachain.combinechannels.outchannels = 2
fragsize = 48
iolib = MHAIOJack
#io.con_in = [system:capture_1 system:capture_2]
#io.con_out = [system:playback_2 system:playback_1]
cmd=start