* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdbool.h> | #include <stdbool.h> |
* | * | ||||
* Copyright (C) 2015 Reece H. Dunn | * Copyright (C) 2015 Reece H. Dunn | ||||
* | * | ||||
* This file is part of espeak-ng. | |||||
* | |||||
* This program is free software: you can redistribute it and/or modify | * This program is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 3 of the License, or | * the Free Software Foundation, either version 3 of the License, or |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write to the | |||||
* Free Software Foundation, Inc., | |||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "speech.h" | #include "speech.h" |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write to the | |||||
* Free Software Foundation, Inc., | |||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
// This source file is only used for asynchronious modes | // This source file is only used for asynchronious modes |
/* | /* | ||||
* Copyright (C) 2007, Gilles Casse <[email protected]> | |||||
* Copyright (C) 2013-2015 Reece H. Dunn | |||||
* Copyright (C) 2007, Gilles Casse <[email protected]> | |||||
* Copyright (C) 2013-2015 Reece H. Dunn | |||||
* | * | ||||
* This program is free software; you can redistribute it and/or modify | |||||
* it under the terms of the GNU General Public License as published by | |||||
* the Free Software Foundation; either version 3 of the License, or | |||||
* (at your option) any later version. | |||||
* This program is free software; you can redistribute it and/or modify | |||||
* it under the terms of the GNU General Public License as published by | |||||
* the Free Software Foundation; either version 3 of the License, or | |||||
* (at your option) any later version. | |||||
* | * | ||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* | * | ||||
* You should have received a copy of the GNU General Public License | |||||
* along with this program; if not, write to the | |||||
* Free Software Foundation, Inc., | |||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
* You should have received a copy of the GNU General Public License | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
// This source file is only used for asynchronious modes | // This source file is only used for asynchronious modes |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
// See URL: ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/klatt.3.04.tar.gz | // See URL: ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/synthesis/klatt.3.04.tar.gz |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdbool.h> | #include <stdbool.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#ifdef __cplusplus | #ifdef __cplusplus |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdlib.h> | #include <stdlib.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "stdio.h" | #include "stdio.h" |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "speak_lib.h" | #include "speak_lib.h" |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#ifdef __cplusplus | #ifdef __cplusplus |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#ifndef SPEECH_H | #ifndef SPEECH_H |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
/*************************************************************************** | |||||
* Copyright (C) 2005 to 2014 by Jonathan Duddington * | |||||
* email: [email protected] * | |||||
* Copyright (C) 2015 Reece H. Dunn * | |||||
* * | |||||
* This program is free software; you can redistribute it and/or modify * | |||||
* it under the terms of the GNU General Public License as published by * | |||||
* the Free Software Foundation; either version 3 of the License, or * | |||||
* (at your option) any later version. * | |||||
* * | |||||
* This program is distributed in the hope that it will be useful, * | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | |||||
* GNU General Public License for more details. * | |||||
* * | |||||
* You should have received a copy of the GNU General Public License * | |||||
* along with this program; if not, see: * | |||||
* <http://www.gnu.org/licenses/>. * | |||||
***************************************************************************/ | |||||
/* | |||||
* Copyright (C) 2005 to 2014 by Jonathan Duddington | |||||
* email: [email protected] | |||||
* Copyright (C) 2015 Reece H. Dunn | |||||
* | |||||
* This program is free software; you can redistribute it and/or modify | |||||
* it under the terms of the GNU General Public License as published by | |||||
* the Free Software Foundation; either version 3 of the License, or | |||||
* (at your option) any later version. | |||||
* | |||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* | |||||
* You should have received a copy of the GNU General Public License | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | |||||
#include <stdbool.h> | #include <stdbool.h> | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#ifdef __cplusplus | #ifdef __cplusplus |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include <stdio.h> | #include <stdio.h> |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#ifdef __cplusplus | #ifdef __cplusplus |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#ifdef __cplusplus | #ifdef __cplusplus |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "stdio.h" | #include "stdio.h" |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write to the | |||||
* Free Software Foundation, Inc., | |||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "speech.h" | #include "speech.h" |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write to the | |||||
* Free Software Foundation, Inc., | |||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
// TBD: | // TBD: |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write to the | |||||
* Free Software Foundation, Inc., | |||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "speech.h" | #include "speech.h" |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
// this version keeps wavemult window as a constant fraction | // this version keeps wavemult window as a constant fraction |
* GNU General Public License for more details. | * GNU General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
* along with this program; if not, write see: | |||||
* <http://www.gnu.org/licenses/>. | |||||
* along with this program; if not, see: <http://www.gnu.org/licenses/>. | |||||
*/ | */ | ||||
#include "speech.h" | #include "speech.h" |