forked from pichenettes/eurorack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.h
226 lines (213 loc) · 6.95 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
// Copyright 2015 Emilie Gillet.
//
// Author: Emilie 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 MARBLES_RESOURCES_H_
#define MARBLES_RESOURCES_H_
#include "stmlib/stmlib.h"
namespace marbles {
typedef uint8_t ResourceId;
extern const float* lookup_table_table[];
extern const float* distributions_table[];
extern const float lut_raised_cosine[];
extern const float lut_sine[];
extern const float lut_logit[];
extern const float dist_icdf_0_0[];
extern const float dist_icdf_0_1[];
extern const float dist_icdf_0_2[];
extern const float dist_icdf_0_3[];
extern const float dist_icdf_0_4[];
extern const float dist_icdf_0_5[];
extern const float dist_icdf_0_6[];
extern const float dist_icdf_0_7[];
extern const float dist_icdf_0_8[];
extern const float dist_icdf_1_0[];
extern const float dist_icdf_1_1[];
extern const float dist_icdf_1_2[];
extern const float dist_icdf_1_3[];
extern const float dist_icdf_1_4[];
extern const float dist_icdf_1_5[];
extern const float dist_icdf_1_6[];
extern const float dist_icdf_1_7[];
extern const float dist_icdf_1_8[];
extern const float dist_icdf_2_0[];
extern const float dist_icdf_2_1[];
extern const float dist_icdf_2_2[];
extern const float dist_icdf_2_3[];
extern const float dist_icdf_2_4[];
extern const float dist_icdf_2_5[];
extern const float dist_icdf_2_6[];
extern const float dist_icdf_2_7[];
extern const float dist_icdf_2_8[];
extern const float dist_icdf_3_0[];
extern const float dist_icdf_3_1[];
extern const float dist_icdf_3_2[];
extern const float dist_icdf_3_3[];
extern const float dist_icdf_3_4[];
extern const float dist_icdf_3_5[];
extern const float dist_icdf_3_6[];
extern const float dist_icdf_3_7[];
extern const float dist_icdf_3_8[];
extern const float dist_icdf_4_0[];
extern const float dist_icdf_4_1[];
extern const float dist_icdf_4_2[];
extern const float dist_icdf_4_3[];
extern const float dist_icdf_4_4[];
extern const float dist_icdf_4_5[];
extern const float dist_icdf_4_6[];
extern const float dist_icdf_4_7[];
extern const float dist_icdf_4_8[];
#define LUT_RAISED_COSINE 0
#define LUT_RAISED_COSINE_SIZE 257
#define LUT_SINE 1
#define LUT_SINE_SIZE 257
#define LUT_LOGIT 2
#define LUT_LOGIT_SIZE 257
#define DIST_ICDF_0_0 0
#define DIST_ICDF_0_0_SIZE 387
#define DIST_ICDF_0_1 1
#define DIST_ICDF_0_1_SIZE 387
#define DIST_ICDF_0_2 2
#define DIST_ICDF_0_2_SIZE 387
#define DIST_ICDF_0_3 3
#define DIST_ICDF_0_3_SIZE 387
#define DIST_ICDF_0_4 4
#define DIST_ICDF_0_4_SIZE 387
#define DIST_ICDF_0_5 5
#define DIST_ICDF_0_5_SIZE 387
#define DIST_ICDF_0_6 6
#define DIST_ICDF_0_6_SIZE 387
#define DIST_ICDF_0_7 7
#define DIST_ICDF_0_7_SIZE 387
#define DIST_ICDF_0_8 8
#define DIST_ICDF_0_8_SIZE 387
#define DIST_ICDF_0_8_GUARD 9
#define DIST_ICDF_0_8_GUARD_SIZE 387
#define DIST_ICDF_1_0 10
#define DIST_ICDF_1_0_SIZE 387
#define DIST_ICDF_1_1 11
#define DIST_ICDF_1_1_SIZE 387
#define DIST_ICDF_1_2 12
#define DIST_ICDF_1_2_SIZE 387
#define DIST_ICDF_1_3 13
#define DIST_ICDF_1_3_SIZE 387
#define DIST_ICDF_1_4 14
#define DIST_ICDF_1_4_SIZE 387
#define DIST_ICDF_1_5 15
#define DIST_ICDF_1_5_SIZE 387
#define DIST_ICDF_1_6 16
#define DIST_ICDF_1_6_SIZE 387
#define DIST_ICDF_1_7 17
#define DIST_ICDF_1_7_SIZE 387
#define DIST_ICDF_1_8 18
#define DIST_ICDF_1_8_SIZE 387
#define DIST_ICDF_1_8_GUARD 19
#define DIST_ICDF_1_8_GUARD_SIZE 387
#define DIST_ICDF_2_0 20
#define DIST_ICDF_2_0_SIZE 387
#define DIST_ICDF_2_1 21
#define DIST_ICDF_2_1_SIZE 387
#define DIST_ICDF_2_2 22
#define DIST_ICDF_2_2_SIZE 387
#define DIST_ICDF_2_3 23
#define DIST_ICDF_2_3_SIZE 387
#define DIST_ICDF_2_4 24
#define DIST_ICDF_2_4_SIZE 387
#define DIST_ICDF_2_5 25
#define DIST_ICDF_2_5_SIZE 387
#define DIST_ICDF_2_6 26
#define DIST_ICDF_2_6_SIZE 387
#define DIST_ICDF_2_7 27
#define DIST_ICDF_2_7_SIZE 387
#define DIST_ICDF_2_8 28
#define DIST_ICDF_2_8_SIZE 387
#define DIST_ICDF_2_8_GUARD 29
#define DIST_ICDF_2_8_GUARD_SIZE 387
#define DIST_ICDF_3_0 30
#define DIST_ICDF_3_0_SIZE 387
#define DIST_ICDF_3_1 31
#define DIST_ICDF_3_1_SIZE 387
#define DIST_ICDF_3_2 32
#define DIST_ICDF_3_2_SIZE 387
#define DIST_ICDF_3_3 33
#define DIST_ICDF_3_3_SIZE 387
#define DIST_ICDF_3_4 34
#define DIST_ICDF_3_4_SIZE 387
#define DIST_ICDF_3_5 35
#define DIST_ICDF_3_5_SIZE 387
#define DIST_ICDF_3_6 36
#define DIST_ICDF_3_6_SIZE 387
#define DIST_ICDF_3_7 37
#define DIST_ICDF_3_7_SIZE 387
#define DIST_ICDF_3_8 38
#define DIST_ICDF_3_8_SIZE 387
#define DIST_ICDF_3_8_GUARD 39
#define DIST_ICDF_3_8_GUARD_SIZE 387
#define DIST_ICDF_4_0 40
#define DIST_ICDF_4_0_SIZE 387
#define DIST_ICDF_4_1 41
#define DIST_ICDF_4_1_SIZE 387
#define DIST_ICDF_4_2 42
#define DIST_ICDF_4_2_SIZE 387
#define DIST_ICDF_4_3 43
#define DIST_ICDF_4_3_SIZE 387
#define DIST_ICDF_4_4 44
#define DIST_ICDF_4_4_SIZE 387
#define DIST_ICDF_4_5 45
#define DIST_ICDF_4_5_SIZE 387
#define DIST_ICDF_4_6 46
#define DIST_ICDF_4_6_SIZE 387
#define DIST_ICDF_4_7 47
#define DIST_ICDF_4_7_SIZE 387
#define DIST_ICDF_4_8 48
#define DIST_ICDF_4_8_SIZE 387
#define DIST_ICDF_4_8_GUARD 49
#define DIST_ICDF_4_8_GUARD_SIZE 387
#define DIST_ICDF_4_0_GUARD 50
#define DIST_ICDF_4_0_GUARD_SIZE 387
#define DIST_ICDF_4_1_GUARD 51
#define DIST_ICDF_4_1_GUARD_SIZE 387
#define DIST_ICDF_4_2_GUARD 52
#define DIST_ICDF_4_2_GUARD_SIZE 387
#define DIST_ICDF_4_3_GUARD 53
#define DIST_ICDF_4_3_GUARD_SIZE 387
#define DIST_ICDF_4_4_GUARD 54
#define DIST_ICDF_4_4_GUARD_SIZE 387
#define DIST_ICDF_4_5_GUARD 55
#define DIST_ICDF_4_5_GUARD_SIZE 387
#define DIST_ICDF_4_6_GUARD 56
#define DIST_ICDF_4_6_GUARD_SIZE 387
#define DIST_ICDF_4_7_GUARD 57
#define DIST_ICDF_4_7_GUARD_SIZE 387
#define DIST__ICDF_4_8_GUARD 58
#define DIST__ICDF_4_8_GUARD_SIZE 387
#define DIST_ICDF_4_8_GUARD_GUARD 59
#define DIST_ICDF_4_8_GUARD_GUARD_SIZE 387
} // namespace marbles
#endif // MARBLES_RESOURCES_H_