plays a fucking annoying sound for 10 seconds and loops.

Dependencies:   mbed

Fork of song_demo_PWM by jim hamblen

Revision:
6:ce3c3d9c96e9
Parent:
5:54dda16baec4
--- a/tones.h	Thu Oct 29 09:22:41 2015 +0000
+++ b/tones.h	Thu Oct 29 10:08:17 2015 +0000
@@ -186,15 +186,13 @@
 
 //failure sound and failure durations
 float note_death[] = {
-  NOTE_C7, NOTE_CS7, NOTE_D7, 0.0,
-  NOTE_C7, NOTE_G7, 0.0, NOTE_G7,
-  NOTE_G7, NOTE_F7, NOTE_E7,
-  NOTE_C7, NOTE_E6, 0.0, 
-  NOTE_E6, NOTE_C6, 0.0,
+    NOTE_B6, NOTE_F7, 0.0, NOTE_F7,
+    NOTE_F7, NOTE_E7, NOTE_D7,
+    NOTE_C7, NOTE_E6, 0.0, 
+    NOTE_E6, NOTE_C6, 0.0,
 };
     
     float duration_death[] = {
-    0.15, 0.15, 0.15, 0.12,
     0.12, 0.12, 0.12, 0.12,
     0.09, 0.09, 0.09,
     0.12, 0.12, 0.12,