annotate data/include/templates.h @ 40:303c06efa8d2

Return a sketch of notes from pitch activation matrix
author Chris Cannam
date Sat, 05 Apr 2014 13:18:55 +0100
parents 461d94ed3816
children b49597c93132
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@35 19 static silvet_template_t silvet_templates[SILVET_TEMPLATE_COUNT] = {
Chris@30 20 #include "bassoon.h"
Chris@30 21 #include "cello.h"
Chris@30 22 #include "clarinet.h"
Chris@30 23 #include "flute.h"
Chris@30 24 #include "guitar.h"
Chris@30 25 #include "horn.h"
Chris@30 26 #include "oboe.h"
Chris@30 27 #include "tenorsax.h"
Chris@30 28 #include "violin.h"
Chris@30 29 #include "piano-maps-SptkBGCl.h"
Chris@30 30 #include "piano1.h"
Chris@30 31 #include "piano2.h"
Chris@30 32 #include "piano3.h"
Chris@30 33 };
Chris@30 34
Chris@30 35 #endif