aboutsummaryrefslogtreecommitdiff
path: root/src/common_audio/signal_processing_library/main/source/sin_table.c
blob: ea44666b497284898133276f666ffe81dc2bdf8b (plain)
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
/*
 *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */


/*
 * This file contains the 360 degree sine table.
 *
 */

#include "signal_processing_library.h"

WebRtc_Word16 WebRtcSpl_kSinTable[] = {
        0,    142,    285,    428,    571,    713,    856,    998,   1140,
     1281,   1422,   1563,   1703,   1842,   1981,   2120,   2258,   2395,
     2531,   2667,   2801,   2935,   3068,   3200,   3331,   3462,   3591,
     3719,   3845,   3971,   4095,   4219,   4341,   4461,   4580,   4698,
     4815,   4930,   5043,   5155,   5265,   5374,   5481,   5586,   5690,
     5792,   5892,   5991,   6087,   6182,   6275,   6366,   6455,   6542,
     6627,   6710,   6791,   6870,   6947,   7021,   7094,   7164,   7233,
     7299,   7362,   7424,   7483,   7540,   7595,   7647,   7697,   7745,
     7791,   7834,   7874,   7912,   7948,   7982,   8012,   8041,   8067,
     8091,   8112,   8130,   8147,   8160,   8172,   8180,   8187,   8190,
     8191,   8190,   8187,   8180,   8172,   8160,   8147,   8130,   8112,
     8091,   8067,   8041,   8012,   7982,   7948,   7912,   7874,   7834,
     7791,   7745,   7697,   7647,   7595,   7540,   7483,   7424,   7362,
     7299,   7233,   7164,   7094,   7021,   6947,   6870,   6791,   6710,
     6627,   6542,   6455,   6366,   6275,   6182,   6087,   5991,   5892,
     5792,   5690,   5586,   5481,   5374,   5265,   5155,   5043,   4930,
     4815,   4698,   4580,   4461,   4341,   4219,   4096,   3971,   3845,
     3719,   3591,   3462,   3331,   3200,   3068,   2935,   2801,   2667,
     2531,   2395,   2258,   2120,   1981,   1842,   1703,   1563,   1422,
     1281,   1140,    998,    856,    713,    571,    428,    285,    142,
        0,   -142,   -285,   -428,   -571,   -713,   -856,   -998,  -1140,
    -1281,  -1422,  -1563,  -1703,  -1842,  -1981,  -2120,  -2258,  -2395,
    -2531,  -2667,  -2801,  -2935,  -3068,  -3200,  -3331,  -3462,  -3591,
    -3719,  -3845,  -3971,  -4095,  -4219,  -4341,  -4461,  -4580,  -4698,
    -4815,  -4930,  -5043,  -5155,  -5265,  -5374,  -5481,  -5586,  -5690,
    -5792,  -5892,  -5991,  -6087,  -6182,  -6275,  -6366,  -6455,  -6542,
    -6627,  -6710,  -6791,  -6870,  -6947,  -7021,  -7094,  -7164,  -7233,
    -7299,  -7362,  -7424,  -7483,  -7540,  -7595,  -7647,  -7697,  -7745,
    -7791,  -7834,  -7874,  -7912,  -7948,  -7982,  -8012,  -8041,  -8067,
    -8091,  -8112,  -8130,  -8147,  -8160,  -8172,  -8180,  -8187,  -8190,
    -8191,  -8190,  -8187,  -8180,  -8172,  -8160,  -8147,  -8130,  -8112,
    -8091,  -8067,  -8041,  -8012,  -7982,  -7948,  -7912,  -7874,  -7834,
    -7791,  -7745,  -7697,  -7647,  -7595,  -7540,  -7483,  -7424,  -7362,
    -7299,  -7233,  -7164,  -7094,  -7021,  -6947,  -6870,  -6791,  -6710,
    -6627,  -6542,  -6455,  -6366,  -6275,  -6182,  -6087,  -5991,  -5892,
    -5792,  -5690,  -5586,  -5481,  -5374,  -5265,  -5155,  -5043,  -4930,
    -4815,  -4698,  -4580,  -4461,  -4341,  -4219,  -4096,  -3971,  -3845,
    -3719,  -3591,  -3462,  -3331,  -3200,  -3068,  -2935,  -2801,  -2667,
    -2531,  -2395,  -2258,  -2120,  -1981,  -1842,  -1703,  -1563,  -1422,
    -1281,  -1140,   -998,   -856,   -713,   -571,   -428,   -285,   -142
};