Big Mouth Billy Bass player that takes raw wavefiles and decision list text files from an SD card
Dependencies: SDFileSystem mbed BillyBass
Diff: config.hpp
- Revision:
- 16:82a1bdc3320f
- Parent:
- 15:03105423bc3b
--- a/config.hpp Thu Jun 20 04:10:34 2013 +0000 +++ b/config.hpp Thu Jun 20 15:03:54 2013 +0000 @@ -27,6 +27,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; @@ -42,8 +46,10 @@ #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