Chris@136: /* Do not edit: this file was automatically generated by generateTemplatesC */ Chris@30: Chris@30: #ifndef SILVET_DATA_TEMPLATES_H Chris@30: #define SILVET_DATA_TEMPLATES_H Chris@30: Chris@30: /* note: intended to parse as both C and C++ */ Chris@30: Chris@218: #define SILVET_TEMPLATE_COUNT 14 /* Number of instruments */ Chris@303: #define SILVET_TEMPLATE_NOTE_COUNT 88 /* Number of notes per instrument */ Chris@44: #define SILVET_TEMPLATE_HEIGHT 545 /* Frequency bins per template */ Chris@44: #define SILVET_TEMPLATE_MAX_SHIFT 2 /* Zeros at either end of template */ Chris@44: #define SILVET_TEMPLATE_SIZE 549 /* Height + 2 * max shift space */ Chris@30: Chris@30: typedef struct { Chris@30: const char *name; Chris@30: int lowest; Chris@30: int highest; Chris@151: float data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_SIZE]; Chris@30: } silvet_template_t; Chris@30: Chris@41: static int silvet_templates_lowest_note = 15; Chris@41: static int silvet_templates_highest_note = 72; Chris@41: Chris@35: static silvet_template_t silvet_templates[SILVET_TEMPLATE_COUNT] = { Chris@30: #include "bassoon.h" Chris@30: #include "cello.h" Chris@30: #include "clarinet.h" Chris@30: #include "flute.h" Chris@30: #include "guitar.h" Chris@30: #include "horn.h" Chris@30: #include "oboe.h" Chris@30: #include "tenorsax.h" Chris@30: #include "violin.h" Chris@218: #include "viola.h" Chris@161: #include "piano1.h" Chris@161: #include "piano2.h" Chris@161: #include "piano3.h" Chris@218: #include "pianorwc.h" Chris@30: }; Chris@30: Chris@30: #endif