You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
15 KiB
Arduino
53 lines
15 KiB
Arduino
5 years ago
|
// Talkie library
|
||
|
// Copyright 2011 Peter Knight
|
||
|
// Adafruit library modified by Jean-Luc Deladrière
|
||
|
// This code is released under GPLv2 license.
|
||
|
|
||
|
/*
|
||
|
* Pot1 & CV in1 : Reset the counter
|
||
|
* Pot2 & CV in2 : Change the Pitch
|
||
|
* Pot3 & CV in3 : Change the Speed
|
||
|
*
|
||
|
* CV in3 : Trigger the speech
|
||
|
*/
|
||
|
|
||
|
#include "talkie.h"
|
||
|
|
||
|
Talkie voice;
|
||
|
const uint8_t spWHAT_IS_THY_BIDDING[] PROGMEM = {0x41,0x89,0xaa,0x32,0x3c,0x2a,0x1F,0x25,0xea,0xee,0x10,0x8d,0x73,0xe6,0x64,0x66,0x5c,0xac,0xc9,0x99,0xb3,0x9d,0x51,0x89,0xb4,0x67,0x4e,0x7e,0x5a,0x35,0x6b,0xaF,0x35,0xa9,0x8a,0x12,0x73,0xd2,0xd6,0xa2,0x2b,0xd5,0xdc,0x76,0x6a,0xb3,0x9F,0x92,0xc8,0x38,0xa9,0x2d,0x6e,0xda,0xc2,0x64,0x8F,0xb6,0xba,0x96,0x0e,0x8F,0xbc,0xda,0xa4,0x9d,0xaa,0xb2,0xca,0xd9,0x8b,0x32,0x6a,0xcF,0xd9,0x67,0xcF,0xd2,0x69,0x3c,0x67,0x9F,0x23,0xab,0xa0,0xc8,0xac,0x7d,0xae,0xa2,0x82,0xdd,0xa3,0xF6,0xba,0x8a,0x0a,0x51,0xcF,0x26,0xa3,0x69,0xca,0xd5,0xc4,0x92,0x8c,0xa6,0xbb,0x34,0x15,0x4d,0x3c,0xe2,0xae,0xdd,0x5c,0xcd,0x71,0x8a,0x8b,0xe9,0x20,0x31,0x27,0x2e,0x2e,0xb6,0x5d,0x54,0x55,0x43,0x8a,0xab,0x6b,0xab,0x70,0xdb,0xa9,0xad,0x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,0xF7,0x25,0xed,0x0e,0x3c,0xad,0xcd,0xdb,0x94,0x3b,0xF2,0xd0,0xF1,0xa8,0x53,0xee,0x20,0x52,0xdb,0xa2,0x4d,0xb9,0x02,0x4F,0x6d,0xF3,0x26,0xe5,0x0a,0x3c,0xb4,0x3d,0x9a,0xa4,0x3b,0xca,0x54,0x57,0x6F,0x12,0xee,0xa8,0x52,0x42,0xa3,0x4d,0xba,0xa3,0x4c,0x75,0x8d,0xd6,0xe9,0x4e,0x2a,0x55,0xc5,0xFb,0x84,0x3b,0xaa,0x54,0xd7,0x68,0x9d,0xee,0x28,0x53,0xc3,0xb3,0x49,0xba,0x03,0x4F,0x5b,0xF3,0x36,0xe9,0x8e,0x22,0x2d,0x2c,0xba,0xa4,0x27,0xF2,0xd0,0xF2,0x68,0x12,0x9e,0xa4,0x53,0x45,0x23,0x0b,0x00,0xc0,0x03};
|
||
|
const uint8_t spHASTA_LA_VISTA[] PROGMEM = {0x0e,0xe0,0x3e,0x62,0x6d,0xc9,0x78,0xa8,0x89,0xed,0xd5,0x27,0xe9,0xae,0x61,0x71,0x03,0x00,0x6a,0x45,0x00,0x40,0x72,0x2F,0x80,0xa9,0x6c,0x0d,0xF0,0x55,0xe2,0x34,0xa9,0x47,0x68,0x65,0xed,0xd3,0xa4,0x9a,0x61,0xe5,0x8b,0x4F,0x93,0x7a,0x98,0x77,0x2c,0x3e,0x4d,0x6e,0x9e,0x52,0xd9,0xF8,0xb4,0x39,0x44,0x9a,0x67,0x95,0x00,0xF0,0x10,0x9e,0x00,0x62,0x3c,0x12,0x00,0x65,0x67,0x02,0xb4,0xec,0x48,0x00,0x94,0x11,0x2b,0xc9,0x22,0xd2,0x82,0x2d,0xad,0x24,0x4b,0x0d,0x0d,0x4d,0xec,0x00,0xec,0x33,0x1d,0x00,0x5c,0xc6,0x0a,0xaa,0x36,0xd7,0x50,0x3b,0xc7,0x8F,0x4a,0x2b,0xc2,0xeb,0x9c,0x2c,0x6b,0x0b,0x77,0x9b,0x73,0xea,0x94,0xcc,0x28,0xb3,0x76,0x02,0x50,0x0F,0x73,0x00,0x68,0xe1,0x0e,0x80,0x35,0x3d,0x00,0xbc,0xb2,0x9d,0x3e,0x56,0x33,0xa9,0xaa,0x73,0xFa,0x54,0xdc,0x29,0xa2,0xF6,0x19,0x62,0x0c,0xa3,0xca,0xc6,0xab,0x08,0xde,0xdd,0x3c,0x66,0x1b,0x00,0xe6,0x74,0x07,0x80,0x92,0x69,0x00,0x90,0x2b,0x57,0x9F,0x2c,0xbb,0x55,0x34,0x39,0x7d,0xd6,0x1c,0x3e,0x11,0xFb,0x74,0x41,0x6a,0xc6,0x78,0xe4,0xd5,0x17,0x45,0xe1,0x13,0xb1,0xcF,0x90,0x94,0x44,0x94,0x27,0x39,0x43,0x91,0x6a,0x5a,0x3e,0x33,0x00,0x40,0x66,0x26,0x40,0x93,0xc8,0x04,0x30,0x5e,0x15,0x00,0xc6,0xb3,0x1c,0x00,0x4c,0x47,0x00,0x40,0xa8,0x70,0x00,0x48,0x15,0x06,0xc0,0x31,0xc3,0x00,0xc0,0x67,0x38,0x00,0x7a,0xF7,0x00,0xe0,0xe6,0x71,0x86,0xe0,0x22,0xad,0xb2,0xd2,0x1a,0x82,0x8b,0x88,0x8a,0x5a,0x6b,0xc9,0xc6,0xc3,0x42,0x1b,0x3b,0x00,0x65,0x77,0x07,0x80,0x10,0x65,0x00,0x92,0x22,0x1c,0x20,0x8d,0xa5,0x03,0x98,0x33,0x33,0x00,0xb4,0xe1,0x06,0x00,0x31,0xd3,0x00,0x20,0x54,0xb5,0x2e,0x33,0x49,0x4b,0x8F,0x33,0x96,0x22,0x34,0x24,0xdc,0x8a,0x01,0x80,0x8F,0x30,0x00,0xF0,0x95,0x0a,0xc0,0xbd,0xca,0x00,0x20,0x67,0xb5,0x26,0x4a,0xc9,0x4c,0x4d,0xd2,0x9a,0xcc,0x35,0xcc,0x3d,0x6e,0x9b,0x32,0xb3,0xF0,0xb0,0x38,0x2d,0xcb,0x42,0xc2,0x52,0x6d,0xb7,0x2c,0x73,0x73,0xcb,0x48,0xda,0xca,0xc2,0x24,0x2c,0xb4,0x6e,0x2b,0x33,0x97,0x8c,0xF4,0x38,0x2d,0x2b,0x4c,0x43,0xc2,0xe3,0x2a,0x00,0xb8,0x2a,0x05,0x80,0x54,0xa1,0x00,0x10,0x32,0x1d,0x80,0x9c,0xd4,0xa9,0x6b,0x66,0x97,0x8c,0xb9,0xa7,0xae,0x99,0x5d,0x2a,0x97,0x9e,0xb6,0x15,0x76,0x8d,0x9c,0x7a,0x86,0x12,0x28,0xa2,0x6b,0x4a,0x01,0xa2,0xa5,0x0a,0x80,0xF4,0x3e,0x01,0x90,0xd6,0x66,0x8d,0x55,0x61,0x46,0x67,0xd4,0x35,0x66,0xc9,0x19,0x13,0x93,0xdb,0x98,0xa5,0xba,0x76,0x26,0x69,0x5b,0xd5,0x6a,0x14,0x11,0x47,0x00,0xc0,0x66,0x29,0x00,0x78,0xeb,0x33,0x55,0xcF,0xaa,0x1d,0xb3,0xd7,0x5c,0x2d,0xb9,0x74,0x57,0x5d,0x53,0x31,0x64,0x3a,0x55,0x65,0x2d,0xcd,0xb1,0x4a,0xe7,0xd4,0xb5,0x14,0x4d,0x11,0x53,0x55,0xd7,0x9a,0x0d,0xb9,0x6F,0x55,0x19,0x5b,0x52,0x12,0xb9,0x59,0xd6,0x01,0xcc,0x7b,0x3b,0x80,0x2b,0x6b,0x03,0x00,0xa9,0x6d,0x00,0xa4,0xbc,0x0c,0xc0,0xb4,0xa7,0x02,0xa0,0xF1,0x54,0x00,0xd0,0x11,0x02,0x80,0xce,0x43,0x01,0xc0,0x66,0x29,0x00,0xb8,0x4c,0x01,0x00,0x9F,0xa5,0x00,0xe0,0x23,0x05,0x00,0x9c,0xa7,0x00,0x80,0x8b,0x12,0x00,0x30,0x9e,0x02,0x00,0x36,0x12,0x08,0xdd,0x65,0x98,0x9b,0xd9,0x7e};
|
||
|
const uint8_t spONE_SMALL_STEP[] PROGMEM = {0x06,0x88,0x11,0x75,0x00,0xb9,0x52,0x37,0x20,0x16,0x9a,0x02,0xa4,0x82,0x13,0x80,0x90,0xb1,0x15,0x60,0x02,0x99,0x01,0x52,0x82,0x70,0x40,0xe9,0x94,0x01,0x28,0x93,0x3b,0x00,0x65,0xcb,0x3a,0x20,0x77,0x4e,0x05,0x84,0xcc,0xee,0x00,0x77,0x78,0x02,0xe0,0x27,0x6F,0x02,0xFc,0x96,0x3d,0x4b,0x1c,0xb6,0x16,0x96,0xF4,0x2c,0xb1,0xd9,0x68,0x5a,0xdb,0x33,0xc7,0xa1,0x2d,0x95,0xcb,0xce,0x94,0xba,0xb4,0x56,0x2d,0x3d,0x53,0x5e,0x12,0xd1,0xd9,0xe6,0x8c,0xe5,0x48,0x5a,0x76,0xdd,0x33,0x96,0x25,0xa5,0x9d,0x4d,0xcF,0x58,0x9e,0x95,0xa4,0x27,0x75,0x40,0xee,0x94,0x0e,0x28,0x89,0xd2,0x01,0x25,0x52,0x05,0xa0,0x24,0xae,0x00,0xe4,0x2c,0xe5,0x80,0x14,0xb9,0x0c,0x10,0x3d,0x87,0x01,0x4a,0xa6,0x30,0x40,0x8e,0x1c,0x06,0xc8,0x85,0xc3,0x01,0xa5,0x50,0x38,0xa0,0x14,0x72,0x05,0xc4,0x40,0x26,0x80,0xe0,0x49,0x15,0x90,0x02,0x99,0x01,0x52,0x96,0x30,0x40,0xaa,0x52,0x0e,0x08,0x5b,0xF7,0xcc,0xb1,0xeb,0x66,0x69,0x9c,0x33,0xc7,0x6e,0x13,0xad,0x49,0xce,0x14,0x9b,0x4e,0x94,0x56,0x3d,0x73,0x6c,0x3a,0x56,0x96,0xF4,0x4c,0xb1,0x5b,0x5b,0x5a,0xb3,0x33,0xc5,0xa6,0xed,0xe9,0x75,0xcF,0x14,0x9b,0xb6,0x87,0xd5,0x3d,0x53,0xec,0x3a,0x16,0x5e,0xF7,0x4c,0x71,0x68,0x7b,0x5a,0xdd,0x33,0xc7,0xa1,0x6d,0xe9,0x49,0xcF,0x1c,0x87,0xb6,0x87,0x25,0x3d,0x73,0x1c,0xda,0x91,0xd2,0xF4,0x2c,0xb1,0xeb,0x64,0x9a,0xd5,0x00,0x84,0x2d,0xed,0x80,0x9c,0xb9,0x0c,0x50,0x2a,0x87,0x01,0x4a,0x23,0x73,0x40,0x99,0x52,0x0e,0x28,0x93,0x4b,0x01,0xd1,0xb1,0x1a,0x20,0x0d,0x09,0x07,0xe4,0x26,0x95,0x80,0xb2,0xa9,0x0b,0x90,0x3b,0xF6,0x99,0xea,0x96,0xd4,0x91,0x24,0x67,0xae,0x4F,0x52,0x46,0x2b,0x9F,0xb9,0x3e,0x0d,0x69,0x8F,0x73,0xe6,0x7a,0x24,0x74,0xbc,0xee,0x99,0xcb,0x90,0xb4,0xF6,0x66,0x67,0xc9,0x5b,0xc3,0x32,0x9a,0x25,0x20,0x4e,0x6a,0x03,0xc4,0x46,0x65,0x80,0xd8,0xb8,0x04,0x60,0x9c,0x98,0x00,0x94,0x61,0x15,0x80,0xb2,0xac,0x02,0x50,0x9a,0x54,0x00,0x4a,0xb3,0x0b,0xc0,0x59,0x32,0x05,0xc4,0x80,0x16,0x80,0xd2,0xb9,0xce,0x92,0xae,0x66,0x97,0x55,0x39,0x63,0x7e,0x16,0x51,0x16,0x26,0x01,0xe9,0x50,0x25,0x20,0x1d,0xaa,0x00,0xc4,0x45,0xed,0x80,0xd4,0xa8,0x1d,0x10,0x3b,0x4F,0x00,0x62,0xe3,0x4e,0x40,0x3e,0xd4,0x09,0xc8,0x0b,0xbb,0x00,0x65,0x61,0x9F,0xb9,0x3e,0x49,0xa9,0x68,0x7a,0xe6,0xFa,0xac,0xa4,0x2c,0xe9,0x99,0xdb,0xF3,0xe6,0xb6,0xa4,0x67,0x6e,0xcF,0x4b,0xc6,0xe2,0x34,0xa0,0x76,0xae,0x06,0x94,0xc2,0xdd,0x80,0x52,0xa9,0x1b,0x90,0x2b,0xF5,0x59,0xea,0xd5,0xd0,0xF6,0xa4,0x67,0x2e,0x43,0xca,0x3b,0x92,0x9e,0x39,0x2F,0x29,0xab,0x68,0x7b,0xa6,0xFc,0x24,0x3d,0xbd,0x5d,0x00,0xd2,0xa0,0x72,0x40,0xee,0xe4,0x06,0x48,0x0d,0xcd,0x00,0xa9,0x91,0x1b,0x20,0x56,0x72,0x05,0xc4,0x40,0xa1,0x80,0x14,0x29,0x14,0x10,0x3d,0xb9,0x02,0x82,0x27,0x55,0x40,0x70,0x6c,0x02,0x88,0x96,0x4c,0x00,0xc1,0xb1,0x09,0x20,0x78,0x56,0x05,0xa4,0x28,0xe6,0x80,0x34,0xb8,0x1d,0x10,0x1b,0xb7,0x01,0x62,0x97,0x76,0x40,0x1c,0x3c,0x0a,0x08,0x45,0xd2,0x00,0xa9,0x70,0x28,0x20,0x46,0x72,0x05,0x84,0xc8,0xae,0x80,0x98,0x48,0x15,0xe0,0x3d,0x9b,0x00,0x7c,0x60,0x15,0x80,0xb2,0x22,0x02,0xF0,0x96,0x4d,0x01,0xde,0xb3,0x09,0xc0,0x7b,0x76,0x01,0x04,0xcF,0xa6,0x80,0xe0,0x44,0x15,0x10,0x1d,0x9b,0x01,0x52,0xe1,0x74,0x40,0xea,0xdc,0x0a,0x48,0x95,0xc3,0x00,0xa9,0x4b,0x1a,0x20,0x36,0x2e,0x03,0xc4,0x22,0xa9,0x80,0xe0,0xd8,0x04,0x60,0x8c,0xa8,0x00,0x9c,0x11,0x13,0x80,0xF7,0x24,0x0a,0xF0,0x4e,0x4c,0x01,0xde,0x8a,0x2b,0x20,0x38,0x56,0x01,0x78,0x2b,0x26,0x00,0x6F,0xd9,0x04,0xe0,0xac,0x98,0x02,0xa2,0x67,0x53,0x80,0xb1,0xac,0x02,0xd0,0x86,0x5d,0x01,0xd6,0xb1,0x0b,0x40,0x1b,0x71,0x05,0x58,0xcb,0xa6,0x00,0x6b,0xc5,0x14,0xe0,0x8d,0x98,0x00,0xbc,0x65,0x13,0x80,0x35,0x62,0x02,0xF0,0x96,0x55,0x01,0xce,0x89,0x29,0xc0,0x3b,0x36,0x05,0x78,0x2b,0x66,0x80,0x54,0xd9,0x0a,0x10,0x36,0x4F,0x01,0xc2,0x93,0x3a,0x6b,0x9c,0x5e,0xd6,0x5a,0xF7,0x2c,0x71,0x59,0x69,0x5b,0xbb,0xb3,0xc4,0xa9,0xa5,0x65,0x5d,0xcF,0x9c,0x9a,0xb4,0x67,0xb4,0x3d,0x73,0xee,0x5c,0xd1,0xd6,0x2e,0x01,0xa9,0xe1,0x18,0x20,0x66,0x4c,0x03,0xe4,0x4c,0x61,0x80,0x9c,0x39,0x0c,0x90,0x13,0xa5,0x01,0x52,0xe2,0x32,0x40,0x0a,0x9c,0x06,0x48,0x91,0x52,0x01,0x31,0x72,0x28,0x20,0x27,0x76,0x05,0xa4,0x28,0xa1,0x80,0x14,0xd8,0x15,0x90,0xa2,0xba,0x02,0x62,0x14,0x53,0x40,0x8e,0xe4,0x0a,0x88,0x51,0x5c,0x00,0xc1,0xb3,0x0a,0x20,0x46,0
|
||
|
const uint8_t spHMMM_BEER[] PROGMEM = {0x00,0x50,0x9a,0x42,0xc2,0x5c,0xc3,0xc9,0xe8,0x1a,0x53,0x35,0x73,0x27,0xa5,0x8F,0xcc,0x3c,0x3c,0x12,0xa5,0xde,0x2b,0x0b,0x77,0x73,0xd3,0xFa,0x44,0xcd,0xc3,0xc2,0x71,0xeb,0x32,0x51,0x0F,0x0F,0x27,0xad,0x4b,0x2c,0xcc,0xdc,0x9d,0x94,0xd6,0x2b,0x4b,0x0d,0x77,0xdc,0x9a,0x20,0x3c,0xd4,0x22,0xF6,0x68,0x32,0x93,0x48,0x09,0x27,0xa3,0xc9,0x9c,0xc3,0xdc,0x6d,0xb7,0x26,0x73,0x6a,0x49,0x8d,0x3b,0x9a,0x2a,0xb0,0x3c,0xdc,0xce,0x6a,0x9a,0xc4,0x74,0x77,0x3b,0xab,0x69,0x02,0xd3,0xdd,0xec,0x8c,0xa6,0x08,0x2a,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||
|
|
||
|
int count=0;
|
||
|
int reset1;
|
||
|
int preset1 = analogRead(1);
|
||
|
int reset2;
|
||
|
int preset2 =0;
|
||
|
int toggle;
|
||
|
|
||
|
void setup() {
|
||
|
|
||
|
}
|
||
|
void loop() {
|
||
|
|
||
|
toggle = analogRead(2);
|
||
|
if (toggle < 250) {
|
||
|
voice.say(spHASTA_LA_VISTA);
|
||
|
}
|
||
|
|
||
|
else if(toggle >250 && toggle <500){
|
||
|
voice.say(spWHAT_IS_THY_BIDDING);
|
||
|
}
|
||
|
|
||
|
else if(toggle >500 && toggle <750){
|
||
|
voice.say(spONE_SMALL_STEP);
|
||
|
}
|
||
|
|
||
|
else if(toggle >750){
|
||
|
voice.say(spHMMM_BEER);
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|