Mercurial > hg > silvet
comparison data/include/templates.h @ 88:97b77e7cb94c timing
Store templates as doubles instead of floats
author | Chris Cannam |
---|---|
date | Tue, 06 May 2014 12:49:49 +0100 |
parents | eec530c4300d |
children | 840c0d703bbb e3373d367bda |
comparison
equal
deleted
inserted
replaced
87:a44c52983ec2 | 88:97b77e7cb94c |
---|---|
13 | 13 |
14 typedef struct { | 14 typedef struct { |
15 const char *name; | 15 const char *name; |
16 int lowest; | 16 int lowest; |
17 int highest; | 17 int highest; |
18 float data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_SIZE]; | 18 double data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_SIZE]; |
19 } silvet_template_t; | 19 } silvet_template_t; |
20 | 20 |
21 static int silvet_templates_lowest_note = 15; | 21 static int silvet_templates_lowest_note = 15; |
22 static int silvet_templates_highest_note = 72; | 22 static int silvet_templates_highest_note = 72; |
23 | 23 |