forked from boourns/eurorack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.h
93 lines (79 loc) · 2.9 KB
/
resources.h
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
// Copyright 2014 Olivier Gillet.
//
// Author: Olivier Gillet ([email protected])
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// See http://creativecommons.org/licenses/MIT/ for more information.
//
// -----------------------------------------------------------------------------
//
// Resources definitions.
//
// Automatically generated with:
// make resources
#ifndef CLOUDS_RESOURCES_H_
#define CLOUDS_RESOURCES_H_
#include "stmlib/stmlib.h"
namespace clouds {
typedef uint8_t ResourceId;
extern const float* src_filter_table[];
extern const int16_t* lookup_table_int16_table[];
extern const float* lookup_table_table[];
extern const float src_filter_1x_2_31[];
extern const float src_filter_1x_2_45[];
extern const float src_filter_1x_2_63[];
extern const float src_filter_1x_2_91[];
extern const int16_t lut_db[];
extern const float lut_sin[];
extern const float lut_window[];
extern const float lut_xfade_in[];
extern const float lut_xfade_out[];
extern const float lut_sine_window_4096[];
extern const float lut_cutoff[];
extern const float lut_grain_size[];
extern const float lut_quantized_pitch[];
#define SRC_FILTER_1X_2_31 0
#define SRC_FILTER_1X_2_31_SIZE 31
#define SRC_FILTER_1X_2_45 1
#define SRC_FILTER_1X_2_45_SIZE 45
#define SRC_FILTER_1X_2_63 2
#define SRC_FILTER_1X_2_63_SIZE 63
#define SRC_FILTER_1X_2_91 3
#define SRC_FILTER_1X_2_91_SIZE 91
#define LUT_DB 0
#define LUT_DB_SIZE 257
#define LUT_SIN 0
#define LUT_SIN_SIZE 1281
#define LUT_WINDOW 1
#define LUT_WINDOW_SIZE 4097
#define LUT_XFADE_IN 2
#define LUT_XFADE_IN_SIZE 17
#define LUT_XFADE_OUT 3
#define LUT_XFADE_OUT_SIZE 17
#define LUT_SINE_WINDOW_4096 4
#define LUT_SINE_WINDOW_4096_SIZE 4096
#define LUT_CUTOFF 5
#define LUT_CUTOFF_SIZE 257
#define LUT_GRAIN_SIZE 6
#define LUT_GRAIN_SIZE_SIZE 257
#define LUT_QUANTIZED_PITCH 7
#define LUT_QUANTIZED_PITCH_SIZE 1025
} // namespace clouds
#endif // CLOUDS_RESOURCES_H_