amygrant
Guru
- Joined
- Apr 4, 2010
- Messages
- 132
- Reaction score
- 3
[SOLVED] New Cepstral install failing to recognize voice on asterisk-side
Running PIAF 2, CentOS 6.2 64-bit and I wanted to install cepstral tonight.
Saw the thread at http://pbxinaflash.com/community/threads/cepstral-in-piaf-red-with-asterisk-10.12232/?t=12232
Ran install-cepstral and everything went fine, saw no errors
I can run the following two commands, and a wav file is generated using Allison (with nag intro)
If I run swift --voice, I get
However, if I try getting asterisk to use Allison, I get the following error in my log
Failed to set voice?
My /etc/asterisk/swift.conf has
... not sure where to go from here. It seems to me that cepstral installed fine but there is a disconnect between it and asterisk.
*edited for stupid mistakes
Running PIAF 2, CentOS 6.2 64-bit and I wanted to install cepstral tonight.
Saw the thread at http://pbxinaflash.com/community/threads/cepstral-in-piaf-red-with-asterisk-10.12232/?t=12232
Ran install-cepstral and everything went fine, saw no errors
I can run the following two commands, and a wav file is generated using Allison (with nag intro)
Code:
swift -o test.wav "this is a test"
swift -n "Allison-8kHz" -o test.wav "this is a test"
If I run swift --voice, I get
Code:
root@pbx:/opt/swift $ swift --voices
Swift command-line synthesis program
Version 5.1.0 of July 2008
Copyright (c) 2000-2006, Cepstral LLC.
Voice | Version | Lic? | Gender | Age | Language | Sample Rate
-----------|---------|------|--------|-----|------------------|------------
Allison-8kHz| 5.1.0 | No | Female | 28 | US English | 8000 Hz
However, if I try getting asterisk to use Allison, I get the following error in my log
Code:
[2012-02-27 04:21:26] DEBUG[2992] app_swift.c: Text to Speak : Congratulations! You have installed Cepstral.
[2012-02-27 04:21:26] ERROR[2992] app_swift.c: Failed to set voice.
Failed to set voice?
My /etc/asterisk/swift.conf has
Code:
voice=Allison-8kHz
... not sure where to go from here. It seems to me that cepstral installed fine but there is a disconnect between it and asterisk.
Code:
+------------------------System Information---------------------------+
| Asterisk = ONLINE | Dahdi = ONLINE | MySQL = ONLINE |
| SSH = ONLINE | Apache = ONLINE | Iptables = ONLINE |
| Fail2ban = ONLINE | Internet = ONLINE | Ip6Tables = ONLINE |
| Disk Free = ADEQUATE| Mem Free = ADEQUATE| NTPD = ONLINE |
| SendMail = ONLINE | Samba = OFFLINE | Webmin = ONLINE |
| Ethernet0 = ONLINE | Ethernet1 = N/A | Wlan0 = N/A |
| |
| PIAF Installed Version = 2.0.6.2 Running on *KVM* |
| FreePBX Version = 2.9.0.7 |
| Running Asterisk Version = 1.8.8.0 |
| Asterisk Source Version = 1.8.8.0 |
| Dahdi Source Version = 2.6.0+2.6.0 |
| Libpri Source Version = 1.4.12 |
| IP Address = 192.168.1.20 on eth0 |
| Operating System = CentOS release 6.2 (Final) |
| Kernel Version = 2.6.32-220.2.1.el6.x86_64 - 64 Bit |
| Incredible PBX 3 Version = 3.0.3 |
+---------------------------------------------------------------------+
*edited for stupid mistakes
Last edited by a moderator: