1 // Copyright 2015 Olivier Gillet. 2 // 3 // Author: Olivier Gillet (ol.gillet@gmail.com) 4 // 5 // Permission is hereby granted, free of charge, to any person obtaining a copy 6 // of this software and associated documentation files (the "Software"), to deal 7 // in the Software without restriction, including without limitation the rights 8 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 // copies of the Software, and to permit persons to whom the Software is 10 // furnished to do so, subject to the following conditions: 11 // 12 // The above copyright notice and this permission notice shall be included in 13 // all copies or substantial portions of the Software. 14 // 15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 // THE SOFTWARE. 22 // 23 // See http://creativecommons.org/licenses/MIT/ for more information. 24 // 25 // ----------------------------------------------------------------------------- 26 // 27 // Resources definitions. 28 // 29 // Automatically generated with: 30 // make resources 31 32 33 #ifndef RINGS_RESOURCES_H_ 34 #define RINGS_RESOURCES_H_ 35 36 37 #include "stmlib/stmlib.h" 38 39 40 41 namespace rings { 42 43 typedef uint8_t ResourceId; 44 45 extern const int16_t* lookup_table_int16_table[]; 46 47 extern const uint32_t* lookup_table_uint32_table[]; 48 49 extern const float* lookup_table_table[]; 50 51 extern const float lut_sine[]; 52 extern const float lut_4_decades[]; 53 extern const float lut_svf_shift[]; 54 extern const float lut_stiffness[]; 55 extern const float lut_fm_frequency_quantizer[]; 56 #define LUT_SINE 0 57 #define LUT_SINE_SIZE 5121 58 #define LUT_4_DECADES 1 59 #define LUT_4_DECADES_SIZE 257 60 #define LUT_SVF_SHIFT 2 61 #define LUT_SVF_SHIFT_SIZE 257 62 #define LUT_STIFFNESS 3 63 #define LUT_STIFFNESS_SIZE 257 64 #define LUT_FM_FREQUENCY_QUANTIZER 4 65 #define LUT_FM_FREQUENCY_QUANTIZER_SIZE 129 66 67 } // namespace rings 68 69 #endif // RINGS_RESOURCES_H_ 70