forked from pichenettes/eurorack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresources.h
97 lines (82 loc) · 3.08 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
// Copyright 2016 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 PLAITS_RESOURCES_H_
#define PLAITS_RESOURCES_H_
#include "stmlib/stmlib.h"
namespace plaits {
typedef uint8_t ResourceId;
extern const float* lookup_table_table[];
extern const int16_t* lookup_table_i16_table[];
extern const int8_t* lookup_table_i8_table[];
extern const int16_t* wavetables_table[];
extern const float lut_sine[];
extern const float lut_fm_frequency_quantizer[];
extern const float lut_fold[];
extern const float lut_fold_2[];
extern const float lut_stiffness[];
extern const float lut_svf_shift[];
extern const int16_t lut_ws_inverse_tan[];
extern const int16_t lut_ws_inverse_sin[];
extern const int16_t lut_ws_linear[];
extern const int16_t lut_ws_bump[];
extern const int16_t lut_ws_double_bump[];
extern const int8_t lut_lpc_excitation_pulse[];
extern const int16_t wav_integrated_waves[];
#define LUT_SINE 0
#define LUT_SINE_SIZE 1281
#define LUT_FM_FREQUENCY_QUANTIZER 1
#define LUT_FM_FREQUENCY_QUANTIZER_SIZE 129
#define LUT_FOLD 2
#define LUT_FOLD_SIZE 516
#define LUT_FOLD_2 3
#define LUT_FOLD_2_SIZE 516
#define LUT_STIFFNESS 4
#define LUT_STIFFNESS_SIZE 65
#define LUT_SVF_SHIFT 5
#define LUT_SVF_SHIFT_SIZE 257
#define LUT_WS_INVERSE_TAN 0
#define LUT_WS_INVERSE_TAN_SIZE 257
#define LUT_WS_INVERSE_SIN 1
#define LUT_WS_INVERSE_SIN_SIZE 257
#define LUT_WS_LINEAR 2
#define LUT_WS_LINEAR_SIZE 257
#define LUT_WS_BUMP 3
#define LUT_WS_BUMP_SIZE 257
#define LUT_WS_DOUBLE_BUMP 4
#define LUT_WS_DOUBLE_BUMP_SIZE 257
#define LUT_WS_DOUBLE_BUMP_SENTINEL 5
#define LUT_WS_DOUBLE_BUMP_SENTINEL_SIZE 257
#define LUT_LPC_EXCITATION_PULSE 0
#define LUT_LPC_EXCITATION_PULSE_SIZE 640
#define WAV_INTEGRATED_WAVES 0
#define WAV_INTEGRATED_WAVES_SIZE 49920
} // namespace plaits
#endif // PLAITS_RESOURCES_H_