Big Mouth Billy Bass automation library

Dependents:   BillyBass_with_SD

Revision:
8:ad0c038ebfc1
Parent:
5:869b3711bdb3
--- a/config_sample.hpp	Thu Jun 20 04:10:22 2013 +0000
+++ b/config_sample.hpp	Thu Jun 20 15:03:49 2013 +0000
@@ -1,4 +1,4 @@
-// COPY THIS FILE AS config.hpp and edit as needed
+// copy this to config.hpp and edit as needed
 #ifndef __included_config_hpp
 #define __included_config_hpp
 
@@ -28,6 +28,10 @@
 #define MAX_ACTIONS_PER_SONG MAX_ACTIONS_LINES_PER_SONG*2
 #define MAX_TEXT_FILE_LENGTH 2048
 
+// define this to 1 to make start times earlier and
+// enforce minimum on times
+#define FIX_TIMES 0
+
 // Sample configuration
 typedef int16_t Sample_t;   // 16-bit raw, LE samples
 const float SAMPLE_RATE_HZ = 8000.0;
@@ -41,6 +45,13 @@
 #define SERIAL_BAUD 115200
 #define ANALOG_OUTPUT_BIAS  0x8000
 
+#define BODY_ON_DELAY 0.65
+#define BODY_OFF_DELAY 0.65
+#define TAIL_ON_DELAY 0.40
+#define TAIL_OFF_DELAY 0.40
+#define MOUTH_ON_DELAY 0.10
+#define MOUTH_OFF_DELAY 0.10
+#define MOUTH_MIN_ON_TIME 0.05
 
 // Power:
 // Power GND  J9/14