plays a fucking annoying sound for 10 seconds and loops.

Dependencies:   mbed

Fork of song_demo_PWM by jim hamblen

Files at this revision

API Documentation at this revision

Comitter:
DennisNiehoff
Date:
Thu Oct 29 10:08:17 2015 +0000
Parent:
5:54dda16baec4
Child:
7:29dd200668db
Commit message:
Adjusted the death sound

Changed in this revision

tones.h Show annotated file Show diff for this revision Revisions of this file
--- 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,