Mercurial > hg > silvet
annotate data/include/templates.h @ 49:9b17bbd16a5f
Use supplied pitch ranges, plus subrepo update
author | Chris Cannam |
---|---|
date | Mon, 07 Apr 2014 16:21:57 +0100 |
parents | b49597c93132 |
children | eec530c4300d |
rev | line source |
---|---|
Chris@30 | 1 /* Do not edit this file: it was automatically generated */ |
Chris@30 | 2 |
Chris@30 | 3 #ifndef SILVET_DATA_TEMPLATES_H |
Chris@30 | 4 #define SILVET_DATA_TEMPLATES_H |
Chris@30 | 5 |
Chris@30 | 6 /* note: intended to parse as both C and C++ */ |
Chris@30 | 7 |
Chris@30 | 8 #define SILVET_TEMPLATE_NOTE_COUNT 88 |
Chris@30 | 9 #define SILVET_TEMPLATE_HEIGHT 545 |
Chris@35 | 10 #define SILVET_TEMPLATE_COUNT 13 |
Chris@30 | 11 |
Chris@30 | 12 typedef struct { |
Chris@30 | 13 const char *name; |
Chris@30 | 14 int lowest; |
Chris@30 | 15 int highest; |
Chris@30 | 16 float data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_HEIGHT]; |
Chris@30 | 17 } silvet_template_t; |
Chris@30 | 18 |
Chris@41 | 19 static int silvet_templates_lowest_note = 15; |
Chris@41 | 20 static int silvet_templates_highest_note = 72; |
Chris@41 | 21 |
Chris@35 | 22 static silvet_template_t silvet_templates[SILVET_TEMPLATE_COUNT] = { |
Chris@30 | 23 #include "bassoon.h" |
Chris@30 | 24 #include "cello.h" |
Chris@30 | 25 #include "clarinet.h" |
Chris@30 | 26 #include "flute.h" |
Chris@30 | 27 #include "guitar.h" |
Chris@30 | 28 #include "horn.h" |
Chris@30 | 29 #include "oboe.h" |
Chris@30 | 30 #include "tenorsax.h" |
Chris@30 | 31 #include "violin.h" |
Chris@30 | 32 #include "piano-maps-SptkBGCl.h" |
Chris@30 | 33 #include "piano1.h" |
Chris@30 | 34 #include "piano2.h" |
Chris@30 | 35 #include "piano3.h" |
Chris@30 | 36 }; |
Chris@30 | 37 |
Chris@30 | 38 #endif |