USBMIDI sampled pipe organ uses real pipe organ samples to produce a realistic sound with 16 note polyphony. A serial output will drive external TPIC6A596 shift registers that could be used to drive pipe organ magnets (Solenoid valves)

Dependencies:   TextLCD USBDevice mbed

Revision:
28:753d70280c19
Parent:
25:50784817ad28
--- a/Montre.h	Sun Nov 15 20:57:51 2015 +0000
+++ b/Montre.h	Thu Nov 19 14:14:11 2015 +0000
@@ -38578,6 +38578,6 @@
 //                                             024    036    048    060    072    084    096    108
 const unsigned int sample2_len[8]        =   {57818, 57135, 57260, 57355, 57140, 56736, 32964, 39518};  
 const unsigned int sample2_attack[8]     =   {15970, 16830, 19698,  7029,  5797,  4103,  2537,  3791};
-const unsigned int sample2_loop_start[8] =   {22907, 18855, 19698, 14109,  9170, 11475, 14173, 13675};
-const unsigned int sample2_loop_end[8]   =   {37738, 40430, 37900, 33827, 37152, 24829, 17691, 24439};
-const unsigned int sample2_loop_off[8]   =   {37738, 40430, 37900, 33827, 37152, 24829, 17691, 24439};
+const unsigned int sample2_loop_start[8] =   {34792, 18855, 19698, 14109,  9170, 11475, 14173, 13675};
+const unsigned int sample2_loop_end[8]   =   {36144, 40430, 37900, 33827, 37152, 24829, 17691, 24439};
+const unsigned int sample2_loop_off[8]   =   {36144, 40430, 37900, 33827, 37152, 24829, 17691, 24439};