You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
4.6KB

  1. // Copyright 2014 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 -f warps/makefile resources
  31. #ifndef WARPS_RESOURCES_H_
  32. #define WARPS_RESOURCES_H_
  33. #include "stmlib/stmlib.h"
  34. namespace warps {
  35. typedef uint8_t ResourceId;
  36. extern const float* filter_bank_table[];
  37. extern const float* lookup_table_table[];
  38. extern const float* wav_table[];
  39. extern const float fb__87_8000[];
  40. extern const float fb_110_8000[];
  41. extern const float fb_139_8000[];
  42. extern const float fb_175_8000[];
  43. extern const float fb_220_8000[];
  44. extern const float fb_277_8000[];
  45. extern const float fb_349_8000[];
  46. extern const float fb_440_8000[];
  47. extern const float fb_554_8000[];
  48. extern const float fb_698_8000[];
  49. extern const float fb_880_8000[];
  50. extern const float fb_1109_8000[];
  51. extern const float fb_1397_8000[];
  52. extern const float fb_1760_32000[];
  53. extern const float fb_2217_32000[];
  54. extern const float fb_2794_32000[];
  55. extern const float fb_3520_32000[];
  56. extern const float fb_4435_32000[];
  57. extern const float fb_5588_32000[];
  58. extern const float fb_7040_96000[];
  59. extern const float lut_sin[];
  60. extern const float lut_xfade_in[];
  61. extern const float lut_xfade_out[];
  62. extern const float lut_bipolar_fold[];
  63. extern const float lut_midi_to_f_high[];
  64. extern const float lut_midi_to_f_low[];
  65. extern const float lut_pot_curve[];
  66. extern const float lut_ap_poles[];
  67. extern const float wav_sine_i[];
  68. extern const float wav_sine_q[];
  69. extern const float wav_harmonics_i[];
  70. extern const float wav_harmonics_q[];
  71. extern const float wav_buzzy_i[];
  72. extern const float wav_buzzy_q[];
  73. #define FB__87_8000 0
  74. #define FB__87_8000_SIZE 7
  75. #define FB_110_8000 1
  76. #define FB_110_8000_SIZE 7
  77. #define FB_139_8000 2
  78. #define FB_139_8000_SIZE 7
  79. #define FB_175_8000 3
  80. #define FB_175_8000_SIZE 7
  81. #define FB_220_8000 4
  82. #define FB_220_8000_SIZE 7
  83. #define FB_277_8000 5
  84. #define FB_277_8000_SIZE 7
  85. #define FB_349_8000 6
  86. #define FB_349_8000_SIZE 7
  87. #define FB_440_8000 7
  88. #define FB_440_8000_SIZE 7
  89. #define FB_554_8000 8
  90. #define FB_554_8000_SIZE 7
  91. #define FB_698_8000 9
  92. #define FB_698_8000_SIZE 7
  93. #define FB_880_8000 10
  94. #define FB_880_8000_SIZE 7
  95. #define FB_1109_8000 11
  96. #define FB_1109_8000_SIZE 7
  97. #define FB_1397_8000 12
  98. #define FB_1397_8000_SIZE 7
  99. #define FB_1760_32000 13
  100. #define FB_1760_32000_SIZE 7
  101. #define FB_2217_32000 14
  102. #define FB_2217_32000_SIZE 7
  103. #define FB_2794_32000 15
  104. #define FB_2794_32000_SIZE 7
  105. #define FB_3520_32000 16
  106. #define FB_3520_32000_SIZE 7
  107. #define FB_4435_32000 17
  108. #define FB_4435_32000_SIZE 7
  109. #define FB_5588_32000 18
  110. #define FB_5588_32000_SIZE 7
  111. #define FB_7040_96000 19
  112. #define FB_7040_96000_SIZE 7
  113. #define LUT_SIN 0
  114. #define LUT_SIN_SIZE 1281
  115. #define LUT_XFADE_IN 1
  116. #define LUT_XFADE_IN_SIZE 257
  117. #define LUT_XFADE_OUT 2
  118. #define LUT_XFADE_OUT_SIZE 257
  119. #define LUT_BIPOLAR_FOLD 3
  120. #define LUT_BIPOLAR_FOLD_SIZE 4097
  121. #define LUT_MIDI_TO_F_HIGH 4
  122. #define LUT_MIDI_TO_F_HIGH_SIZE 256
  123. #define LUT_MIDI_TO_F_LOW 5
  124. #define LUT_MIDI_TO_F_LOW_SIZE 256
  125. #define LUT_POT_CURVE 6
  126. #define LUT_POT_CURVE_SIZE 513
  127. #define LUT_AP_POLES 7
  128. #define LUT_AP_POLES_SIZE 17
  129. #define WAV_SINE_I 0
  130. #define WAV_SINE_I_SIZE 1025
  131. #define WAV_SINE_Q 1
  132. #define WAV_SINE_Q_SIZE 1025
  133. #define WAV_HARMONICS_I 2
  134. #define WAV_HARMONICS_I_SIZE 1025
  135. #define WAV_HARMONICS_Q 3
  136. #define WAV_HARMONICS_Q_SIZE 1025
  137. #define WAV_BUZZY_I 4
  138. #define WAV_BUZZY_I_SIZE 1025
  139. #define WAV_BUZZY_Q 5
  140. #define WAV_BUZZY_Q_SIZE 1025
  141. } // namespace warps
  142. #endif // WARPS_RESOURCES_H_