Fix an off by one error found by TomCh in the speech code which lead to the beginning of the next speech phrase to be played. This is why "excellent" sounded more like "excellent-ay". Worse, it would lead to the 5 bytes after the phrase "incredible" to be treated like speech data and who knows what that did.
Also, bump the version number to 2.6.a1 in preparation for a 2.6 release with these fixes.
This commit is contained in:
parent
e21c7375f6
commit
bc1cbc975c
Binary file not shown.
|
@ -216,7 +216,7 @@ bool mockingBoardSpeak(uint8_t *data, uint16_t dataLen)
|
|||
return false;
|
||||
|
||||
mockingBoardSpeechData = data;
|
||||
mockingBoardSpeechLen = dataLen + 1;
|
||||
mockingBoardSpeechLen = dataLen;
|
||||
mockingBoardSpeakPriv();
|
||||
|
||||
return true;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
// Defines
|
||||
|
||||
#define SAVE_OPTIONS_FILE "A2BEJWLD.OPTS"
|
||||
#define VERSION "v2.5"
|
||||
#define VERSION "v2.6.a1"
|
||||
|
||||
#define OPTIONS_VERSION_UNSAVED 0
|
||||
#define OPTIONS_VERSION 2
|
||||
|
|
Loading…
Reference in New Issue