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 MODULES_AUDIO_PROCESSING_VAD_NOISE_GMM_TABLES_H_ 14 #define MODULES_AUDIO_PROCESSING_VAD_NOISE_GMM_TABLES_H_ 15 16 namespace webrtc { 17 18 static const int kNoiseGmmNumMixtures = 12; 19 static const int kNoiseGmmDim = 3; 20 21 static const double 22 kNoiseGmmCovarInverse[kNoiseGmmNumMixtures][kNoiseGmmDim][kNoiseGmmDim] = { 23 {{7.36219567592941e+00, 4.83060785179861e-03, 1.23335151497610e-02}, 24 {4.83060785179861e-03, 1.65289507047817e-04, -2.41490588169997e-04}, 25 {1.23335151497610e-02, -2.41490588169997e-04, 6.59472060689382e-03}}, 26 {{8.70265239309140e+00, -5.30636201431086e-04, 5.44014966585347e-03}, 27 {-5.30636201431086e-04, 3.11095453521008e-04, -1.86287206836035e-04}, 28 {5.44014966585347e-03, -1.86287206836035e-04, 6.29493388790744e-04}}, 29 {{4.53467851955055e+00, -3.92977536695197e-03, -2.46521420693317e-03}, 30 {-3.92977536695197e-03, 4.94650752632750e-05, -1.08587438501826e-05}, 31 {-2.46521420693317e-03, -1.08587438501826e-05, 9.28793975422261e-05}}, 32 {{9.26817997114275e-01, -4.03976069276753e-04, -3.56441427392165e-03}, 33 {-4.03976069276753e-04, 2.51976251631430e-06, 1.46914206734572e-07}, 34 {-3.56441427392165e-03, 1.46914206734572e-07, 8.19914567685373e-05}}, 35 {{7.61715986787441e+00, -1.54889041216888e-04, 2.41756280071656e-02}, 36 {-1.54889041216888e-04, 3.50282550461672e-07, -6.27251196972490e-06}, 37 {2.41756280071656e-02, -6.27251196972490e-06, 1.45061847649872e-02}}, 38 {{8.31193642663158e+00, -3.84070508164323e-04, -3.09750630821876e-02}, 39 {-3.84070508164323e-04, 3.80433432277336e-07, -1.14321142836636e-06}, 40 {-3.09750630821876e-02, -1.14321142836636e-06, 8.35091486289997e-04}}, 41 {{9.67283151270894e-01, 5.82465812445039e-05, -3.18350798617053e-03}, 42 {5.82465812445039e-05, 2.23762672000318e-07, -7.74196587408623e-07}, 43 {-3.18350798617053e-03, -7.74196587408623e-07, 3.85120938338325e-04}}, 44 {{8.28066236985388e+00, 5.87634508319763e-05, 6.99303090891743e-03}, 45 {5.87634508319763e-05, 2.93746018618058e-07, 3.40843332882272e-07}, 46 {6.99303090891743e-03, 3.40843332882272e-07, 1.99379171190344e-04}}, 47 {{6.07488998675646e+00, -1.11494526618473e-02, 5.10013111123381e-03}, 48 {-1.11494526618473e-02, 6.99238879921751e-04, 5.36718550370870e-05}, 49 {5.10013111123381e-03, 5.36718550370870e-05, 5.26909853276753e-04}}, 50 {{6.90492021419175e+00, 4.20639355257863e-04, -2.38612752336481e-03}, 51 {4.20639355257863e-04, 3.31246767338153e-06, -2.42052288150859e-08}, 52 {-2.38612752336481e-03, -2.42052288150859e-08, 4.46608368363412e-04}}, 53 {{1.31069150869715e+01, -1.73718583865670e-04, -1.97591814508578e-02}, 54 {-1.73718583865670e-04, 2.80451716300124e-07, 9.96570755379865e-07}, 55 {-1.97591814508578e-02, 9.96570755379865e-07, 2.41361900868847e-03}}, 56 {{4.69566344239814e+00, -2.61077567563690e-04, 5.26359000761433e-03}, 57 {-2.61077567563690e-04, 1.82420859823767e-06, -7.83645887541601e-07}, 58 {5.26359000761433e-03, -7.83645887541601e-07, 1.33586288288802e-02}}}; 59 60 static const double kNoiseGmmMean[kNoiseGmmNumMixtures][kNoiseGmmDim] = { 61 {-2.01386094766163e+00, 1.69702162045397e+02, 7.41715804872181e+01}, 62 {-1.94684591777290e+00, 1.42398396732668e+02, 1.64186321157831e+02}, 63 {-2.29319297562437e+00, 3.86415425589868e+02, 2.13452215267125e+02}, 64 {-3.25487177070268e+00, 1.08668712553616e+03, 2.33119949467419e+02}, 65 {-2.13159632447467e+00, 4.83821702557717e+03, 6.86786166673740e+01}, 66 {-2.26171410780526e+00, 4.79420193982422e+03, 1.53222513286450e+02}, 67 {-3.32166740703185e+00, 4.35161135834358e+03, 1.33206448431316e+02}, 68 {-2.19290322814343e+00, 3.98325506609408e+03, 2.13249167359934e+02}, 69 {-2.02898459255404e+00, 7.37039893155007e+03, 1.12518527491926e+02}, 70 {-2.26150236399500e+00, 1.54896745196145e+03, 1.49717357868579e+02}, 71 {-2.00417668301790e+00, 3.82434760310304e+03, 1.07438913004312e+02}, 72 {-2.30193040814533e+00, 1.43953696546439e+03, 7.04085275122649e+01}}; 73 74 static const double kNoiseGmmWeights[kNoiseGmmNumMixtures] = { 75 -1.09422832086193e+01, -1.10847897513425e+01, -1.36767587732187e+01, 76 -1.79789356118641e+01, -1.42830169160894e+01, -1.56500228061379e+01, 77 -1.83124990950113e+01, -1.69979436177477e+01, -1.12329424387828e+01, 78 -1.41311785780639e+01, -1.47171861448585e+01, -1.35963362781839e+01}; 79 80 } // namespace webrtc 81 82 #endif // MODULES_AUDIO_PROCESSING_VAD_NOISE_GMM_TABLES_H_ 83