Mercurial > hg > silvet
annotate data/include/templates.h @ 30:d697e78f81f1
Add templates in C header form (and conversion program)
author | Chris Cannam |
---|---|
date | Tue, 01 Apr 2014 17:40:21 +0100 |
parents | |
children | 461d94ed3816 |
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@30 | 10 |
Chris@30 | 11 typedef struct { |
Chris@30 | 12 const char *name; |
Chris@30 | 13 int lowest; |
Chris@30 | 14 int highest; |
Chris@30 | 15 float data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_HEIGHT]; |
Chris@30 | 16 } silvet_template_t; |
Chris@30 | 17 |
Chris@30 | 18 static silvet_template_t silvet_templates[13] = { |
Chris@30 | 19 #include "bassoon.h" |
Chris@30 | 20 #include "cello.h" |
Chris@30 | 21 #include "clarinet.h" |
Chris@30 | 22 #include "flute.h" |
Chris@30 | 23 #include "guitar.h" |
Chris@30 | 24 #include "horn.h" |
Chris@30 | 25 #include "oboe.h" |
Chris@30 | 26 #include "tenorsax.h" |
Chris@30 | 27 #include "violin.h" |
Chris@30 | 28 #include "piano-maps-SptkBGCl.h" |
Chris@30 | 29 #include "piano1.h" |
Chris@30 | 30 #include "piano2.h" |
Chris@30 | 31 #include "piano3.h" |
Chris@30 | 32 }; |
Chris@30 | 33 |
Chris@30 | 34 #endif |