• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 // GMM tables for inactive segments. Generated by MakeGmmTables.m.
12 
13 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_VAD_NOISE_GMM_TABLES_H_
14 #define WEBRTC_MODULES_AUDIO_PROCESSING_VAD_NOISE_GMM_TABLES_H_
15 
16 static const int kNoiseGmmNumMixtures = 12;
17 static const int kNoiseGmmDim = 3;
18 
19 static const double
20     kNoiseGmmCovarInverse[kNoiseGmmNumMixtures][kNoiseGmmDim][kNoiseGmmDim] = {
21         {{7.36219567592941e+00, 4.83060785179861e-03, 1.23335151497610e-02},
22          {4.83060785179861e-03, 1.65289507047817e-04, -2.41490588169997e-04},
23          {1.23335151497610e-02, -2.41490588169997e-04, 6.59472060689382e-03}},
24         {{8.70265239309140e+00, -5.30636201431086e-04, 5.44014966585347e-03},
25          {-5.30636201431086e-04, 3.11095453521008e-04, -1.86287206836035e-04},
26          {5.44014966585347e-03, -1.86287206836035e-04, 6.29493388790744e-04}},
27         {{4.53467851955055e+00, -3.92977536695197e-03, -2.46521420693317e-03},
28          {-3.92977536695197e-03, 4.94650752632750e-05, -1.08587438501826e-05},
29          {-2.46521420693317e-03, -1.08587438501826e-05, 9.28793975422261e-05}},
30         {{9.26817997114275e-01, -4.03976069276753e-04, -3.56441427392165e-03},
31          {-4.03976069276753e-04, 2.51976251631430e-06, 1.46914206734572e-07},
32          {-3.56441427392165e-03, 1.46914206734572e-07, 8.19914567685373e-05}},
33         {{7.61715986787441e+00, -1.54889041216888e-04, 2.41756280071656e-02},
34          {-1.54889041216888e-04, 3.50282550461672e-07, -6.27251196972490e-06},
35          {2.41756280071656e-02, -6.27251196972490e-06, 1.45061847649872e-02}},
36         {{8.31193642663158e+00, -3.84070508164323e-04, -3.09750630821876e-02},
37          {-3.84070508164323e-04, 3.80433432277336e-07, -1.14321142836636e-06},
38          {-3.09750630821876e-02, -1.14321142836636e-06, 8.35091486289997e-04}},
39         {{9.67283151270894e-01, 5.82465812445039e-05, -3.18350798617053e-03},
40          {5.82465812445039e-05, 2.23762672000318e-07, -7.74196587408623e-07},
41          {-3.18350798617053e-03, -7.74196587408623e-07, 3.85120938338325e-04}},
42         {{8.28066236985388e+00, 5.87634508319763e-05, 6.99303090891743e-03},
43          {5.87634508319763e-05, 2.93746018618058e-07, 3.40843332882272e-07},
44          {6.99303090891743e-03, 3.40843332882272e-07, 1.99379171190344e-04}},
45         {{6.07488998675646e+00, -1.11494526618473e-02, 5.10013111123381e-03},
46          {-1.11494526618473e-02, 6.99238879921751e-04, 5.36718550370870e-05},
47          {5.10013111123381e-03, 5.36718550370870e-05, 5.26909853276753e-04}},
48         {{6.90492021419175e+00, 4.20639355257863e-04, -2.38612752336481e-03},
49          {4.20639355257863e-04, 3.31246767338153e-06, -2.42052288150859e-08},
50          {-2.38612752336481e-03, -2.42052288150859e-08, 4.46608368363412e-04}},
51         {{1.31069150869715e+01, -1.73718583865670e-04, -1.97591814508578e-02},
52          {-1.73718583865670e-04, 2.80451716300124e-07, 9.96570755379865e-07},
53          {-1.97591814508578e-02, 9.96570755379865e-07, 2.41361900868847e-03}},
54         {{4.69566344239814e+00, -2.61077567563690e-04, 5.26359000761433e-03},
55          {-2.61077567563690e-04, 1.82420859823767e-06, -7.83645887541601e-07},
56          {5.26359000761433e-03, -7.83645887541601e-07, 1.33586288288802e-02}}};
57 
58 static const double kNoiseGmmMean[kNoiseGmmNumMixtures][kNoiseGmmDim] = {
59     {-2.01386094766163e+00, 1.69702162045397e+02, 7.41715804872181e+01},
60     {-1.94684591777290e+00, 1.42398396732668e+02, 1.64186321157831e+02},
61     {-2.29319297562437e+00, 3.86415425589868e+02, 2.13452215267125e+02},
62     {-3.25487177070268e+00, 1.08668712553616e+03, 2.33119949467419e+02},
63     {-2.13159632447467e+00, 4.83821702557717e+03, 6.86786166673740e+01},
64     {-2.26171410780526e+00, 4.79420193982422e+03, 1.53222513286450e+02},
65     {-3.32166740703185e+00, 4.35161135834358e+03, 1.33206448431316e+02},
66     {-2.19290322814343e+00, 3.98325506609408e+03, 2.13249167359934e+02},
67     {-2.02898459255404e+00, 7.37039893155007e+03, 1.12518527491926e+02},
68     {-2.26150236399500e+00, 1.54896745196145e+03, 1.49717357868579e+02},
69     {-2.00417668301790e+00, 3.82434760310304e+03, 1.07438913004312e+02},
70     {-2.30193040814533e+00, 1.43953696546439e+03, 7.04085275122649e+01}};
71 
72 static const double kNoiseGmmWeights[kNoiseGmmNumMixtures] = {
73     -1.09422832086193e+01,
74     -1.10847897513425e+01,
75     -1.36767587732187e+01,
76     -1.79789356118641e+01,
77     -1.42830169160894e+01,
78     -1.56500228061379e+01,
79     -1.83124990950113e+01,
80     -1.69979436177477e+01,
81     -1.12329424387828e+01,
82     -1.41311785780639e+01,
83     -1.47171861448585e+01,
84     -1.35963362781839e+01};
85 #endif  // WEBRTC_MODULES_AUDIO_PROCESSING_VAD_NOISE_GMM_TABLES_H_
86