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.

192 lines
6.3KB

  1. // Copyright 2013 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. #ifndef YARNS_RESOURCES_H_
  32. #define YARNS_RESOURCES_H_
  33. #include "stmlib/stmlib.h"
  34. namespace yarns {
  35. typedef uint8_t ResourceId;
  36. extern const char* string_table[];
  37. extern const uint16_t* lookup_table_table[];
  38. extern const int16_t* lookup_table_signed_table[];
  39. extern const int16_t* waveform_table[];
  40. extern const uint32_t* lookup_table_32_table[];
  41. extern const uint16_t* char_table[];
  42. extern const uint16_t lut_env_expo[];
  43. extern const uint16_t lut_arpeggiator_patterns[];
  44. extern const uint16_t lut_consonance[];
  45. extern const int16_t lut_scale_pythagorean[];
  46. extern const int16_t lut_scale_1_4_eb[];
  47. extern const int16_t lut_scale_1_4_e[];
  48. extern const int16_t lut_scale_1_4_ea[];
  49. extern const int16_t lut_scale_bhairav[];
  50. extern const int16_t lut_scale_gunakri[];
  51. extern const int16_t lut_scale_marwa[];
  52. extern const int16_t lut_scale_shree[];
  53. extern const int16_t lut_scale_purvi[];
  54. extern const int16_t lut_scale_bilawal[];
  55. extern const int16_t lut_scale_yaman[];
  56. extern const int16_t lut_scale_kafi[];
  57. extern const int16_t lut_scale_bhimpalasree[];
  58. extern const int16_t lut_scale_darbari[];
  59. extern const int16_t lut_scale_rageshree[];
  60. extern const int16_t lut_scale_khamaj[];
  61. extern const int16_t lut_scale_mimal[];
  62. extern const int16_t lut_scale_parameshwari[];
  63. extern const int16_t lut_scale_rangeshwari[];
  64. extern const int16_t lut_scale_gangeshwari[];
  65. extern const int16_t lut_scale_kameshwari[];
  66. extern const int16_t lut_scale_pa__kafi[];
  67. extern const int16_t lut_scale_natbhairav[];
  68. extern const int16_t lut_scale_m_kauns[];
  69. extern const int16_t lut_scale_bairagi[];
  70. extern const int16_t lut_scale_b_todi[];
  71. extern const int16_t lut_scale_chandradeep[];
  72. extern const int16_t lut_scale_kaushik_todi[];
  73. extern const int16_t lut_scale_jogeshwari[];
  74. extern const int16_t wav_exponential[];
  75. extern const int16_t wav_ring[];
  76. extern const int16_t wav_steps[];
  77. extern const int16_t wav_noise[];
  78. extern const int16_t wav_sine[];
  79. extern const uint32_t lut_lfo_increments[];
  80. extern const uint32_t lut_portamento_increments[];
  81. extern const uint32_t lut_oscillator_increments[];
  82. extern const uint32_t lut_euclidean[];
  83. extern const uint16_t chr_characters[];
  84. #define STR_DUMMY 0 // dummy
  85. #define LUT_ENV_EXPO 0
  86. #define LUT_ENV_EXPO_SIZE 257
  87. #define LUT_ARPEGGIATOR_PATTERNS 1
  88. #define LUT_ARPEGGIATOR_PATTERNS_SIZE 22
  89. #define LUT_CONSONANCE 2
  90. #define LUT_CONSONANCE_SIZE 1536
  91. #define LUT_SCALE_PYTHAGOREAN 0
  92. #define LUT_SCALE_PYTHAGOREAN_SIZE 12
  93. #define LUT_SCALE_1_4_EB 1
  94. #define LUT_SCALE_1_4_EB_SIZE 12
  95. #define LUT_SCALE_1_4_E 2
  96. #define LUT_SCALE_1_4_E_SIZE 12
  97. #define LUT_SCALE_1_4_EA 3
  98. #define LUT_SCALE_1_4_EA_SIZE 12
  99. #define LUT_SCALE_BHAIRAV 4
  100. #define LUT_SCALE_BHAIRAV_SIZE 12
  101. #define LUT_SCALE_GUNAKRI 5
  102. #define LUT_SCALE_GUNAKRI_SIZE 12
  103. #define LUT_SCALE_MARWA 6
  104. #define LUT_SCALE_MARWA_SIZE 12
  105. #define LUT_SCALE_SHREE 7
  106. #define LUT_SCALE_SHREE_SIZE 12
  107. #define LUT_SCALE_PURVI 8
  108. #define LUT_SCALE_PURVI_SIZE 12
  109. #define LUT_SCALE_BILAWAL 9
  110. #define LUT_SCALE_BILAWAL_SIZE 12
  111. #define LUT_SCALE_YAMAN 10
  112. #define LUT_SCALE_YAMAN_SIZE 12
  113. #define LUT_SCALE_KAFI 11
  114. #define LUT_SCALE_KAFI_SIZE 12
  115. #define LUT_SCALE_BHIMPALASREE 12
  116. #define LUT_SCALE_BHIMPALASREE_SIZE 12
  117. #define LUT_SCALE_DARBARI 13
  118. #define LUT_SCALE_DARBARI_SIZE 12
  119. #define LUT_SCALE_BAGESHREE 14
  120. #define LUT_SCALE_BAGESHREE_SIZE 12
  121. #define LUT_SCALE_RAGESHREE 15
  122. #define LUT_SCALE_RAGESHREE_SIZE 12
  123. #define LUT_SCALE_KHAMAJ 16
  124. #define LUT_SCALE_KHAMAJ_SIZE 12
  125. #define LUT_SCALE_MIMAL 17
  126. #define LUT_SCALE_MIMAL_SIZE 12
  127. #define LUT_SCALE_PARAMESHWARI 18
  128. #define LUT_SCALE_PARAMESHWARI_SIZE 12
  129. #define LUT_SCALE_RANGESHWARI 19
  130. #define LUT_SCALE_RANGESHWARI_SIZE 12
  131. #define LUT_SCALE_GANGESHWARI 20
  132. #define LUT_SCALE_GANGESHWARI_SIZE 12
  133. #define LUT_SCALE_KAMESHWARI 21
  134. #define LUT_SCALE_KAMESHWARI_SIZE 12
  135. #define LUT_SCALE_PA__KAFI 22
  136. #define LUT_SCALE_PA__KAFI_SIZE 12
  137. #define LUT_SCALE_NATBHAIRAV 23
  138. #define LUT_SCALE_NATBHAIRAV_SIZE 12
  139. #define LUT_SCALE_M_KAUNS 24
  140. #define LUT_SCALE_M_KAUNS_SIZE 12
  141. #define LUT_SCALE_BAIRAGI 25
  142. #define LUT_SCALE_BAIRAGI_SIZE 12
  143. #define LUT_SCALE_B_TODI 26
  144. #define LUT_SCALE_B_TODI_SIZE 12
  145. #define LUT_SCALE_CHANDRADEEP 27
  146. #define LUT_SCALE_CHANDRADEEP_SIZE 12
  147. #define LUT_SCALE_KAUSHIK_TODI 28
  148. #define LUT_SCALE_KAUSHIK_TODI_SIZE 12
  149. #define LUT_SCALE_JOGESHWARI 29
  150. #define LUT_SCALE_JOGESHWARI_SIZE 12
  151. #define LUT_SCALE_RASIA 30
  152. #define LUT_SCALE_RASIA_SIZE 12
  153. #define WAV_EXPONENTIAL 0
  154. #define WAV_EXPONENTIAL_SIZE 257
  155. #define WAV_RING 1
  156. #define WAV_RING_SIZE 257
  157. #define WAV_STEPS 2
  158. #define WAV_STEPS_SIZE 257
  159. #define WAV_NOISE 3
  160. #define WAV_NOISE_SIZE 257
  161. #define WAV_SINE 4
  162. #define WAV_SINE_SIZE 1025
  163. #define LUT_LFO_INCREMENTS 0
  164. #define LUT_LFO_INCREMENTS_SIZE 128
  165. #define LUT_PORTAMENTO_INCREMENTS 1
  166. #define LUT_PORTAMENTO_INCREMENTS_SIZE 128
  167. #define LUT_OSCILLATOR_INCREMENTS 2
  168. #define LUT_OSCILLATOR_INCREMENTS_SIZE 97
  169. #define LUT_EUCLIDEAN 3
  170. #define LUT_EUCLIDEAN_SIZE 1024
  171. #define CHR_CHARACTERS 0
  172. #define CHR_CHARACTERS_SIZE 256
  173. } // namespace yarns
  174. #endif // YARNS_RESOURCES_H_