1 /* ----------------------------------------------------------------------
2  * Project:      CMSIS DSP Library
3  * Title:        coef.h
4  * Description:  Parameters for the ML model and filter
5  *
6  * $Date:        16 March 2022
7  *
8  * Target Processor: Cortex-M and Cortex-A cores
9  * -------------------------------------------------------------------- */
10 /*
11  * Copyright (C) 2010-2022 ARM Limited or its affiliates. All rights reserved.
12  *
13  * SPDX-License-Identifier: Apache-2.0
14  *
15  * Licensed under the Apache License, Version 2.0 (the License); you may
16  * not use this file except in compliance with the License.
17  * You may obtain a copy of the License at
18  *
19  * www.apache.org/licenses/LICENSE-2.0
20  *
21  * Unless required by applicable law or agreed to in writing, software
22  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
23  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24  * See the License for the specific language governing permissions and
25  * limitations under the License.
26  */
27 
28 #ifndef COEF_H
29 #define COEF_H
30 
31 #define NUMTAPS 10
32 #define AUDIOBUFFER_LENGTH 512
33 
34 extern const q15_t fir_coefs[NUMTAPS];
35 
36 extern const q15_t coef_q15[98];
37 extern const q15_t intercept_q15 ;
38 extern const int coef_shift;
39 extern const int intercept_shift;
40 extern const q15_t window[400];
41 
42 #endif
43