Page 1 of 1

Raspberry Pi /w Callie

PostPosted: Thu Mar 14, 2013 12:20 pm
by ChrisM
Hi All,

Please post any questions, use cases, or ideas here about using Cepstral voices on the Raspberry Pi. We would love to hear about performance, use cases, success on operating systems other than Raspbian etc.

We would be happy to assist you in any capacity as well.

Happy coding!

Re: Raspberry Pi /w Callie

PostPosted: Thu Mar 14, 2013 2:12 pm
by NicholeH
To stream your swift audio on Raspbian "wheezy," follow these steps:

1. Pulse Audio does not work well with current versions of Raspbian, so if you have that, you'll need to uninstall it:
Code: Select all
sudo apt-get --yes purge pulseaudio
This is discussed further here: http://www.raspberrypi.org/phpBB3/viewt ... io#p254225) and here: https://github.com/raspberrypi/firmware/issues/139. It may also be possible to stream audio without uninstalling Pulse Audio. If you'd like to try it, you can read more about that here: http://elinux.org/R-Pi_Troubleshooting# ... plications.

2. Alsa oss is a good alternative for Pulse Audio, and it works with both Raspbian and Swift. You should only need the following:
Code: Select all
sudo apt-get install alsa-utils alsa-oss

3.
Code: Select all
sudo reboot

4. Log back in.

5.
Code: Select all
sudo amixer cset numid=3 1
1 is for analogue audio; 2 is for hdmi.

6.
Code: Select all
aoss swift -n Callie "Hello, this is Callie."

Re: Raspberry Pi /w Callie

PostPosted: Fri Mar 15, 2013 2:08 pm
by ChrisM
I did some performance analysis of the Callie build we currently have available and found some interesting information.

First of all, the first time using the voice to synthesize text is radically slow because the voice needs to be loaded into memory. Subsequent syntheses however take advantage of the voice data in inactive memory and synthesize much much faster.

I wanted to test swift's performance on the Pi at normal processor speeds and overclocked speeds.

Set up: Create file with the phrase "This is a test of the Cepstral Swift Engine on the Raspberry Pi at various processor speeds. We hope for the best and wish you good day." in a text file. To test time to hear any synthesis we set up speakers and had two people start a timer with their cell phone at the same time I executed a swift command. They would stop the timer when they heard the voice start speaking. Doing this several times gave a rough approximation. I also did the following command to time the actual length of time it takes to synthesize the entire audio:

Code: Select all
time swift -n Callie -f input.txt


Results:

Overclock Setting ||| Time to Hear ||| Time To Synth

None ||| 1.5s ||| 2.182s

Medium ||| 1.3s ||| 1.928s

Turbo ||| 1.1s ||| 1.798s

We find that a 1s delay is not very noticeable thus making Callie very suitable for usage in a Real Time TTS application in our opinions.

Re: Raspberry Pi /w Callie

PostPosted: Fri May 10, 2013 1:34 pm
by brandon.dacrib
Where can a user like myself go to download this software? I am a license holder for the x86 platform and would love to start some experimentation with my raspberry pi. I tried submitting a ticket via the web portal, but have yet to get a response.

Re: Raspberry Pi /w Callie

PostPosted: Mon May 13, 2013 8:59 am
by ChrisM
Hi,

I am very sorry to hear that you have no received a reply from our support team. We recently moved onto a new ticketing system and it is possible your ticket was lost in the shuffle. Please accept our apologies for allowing that to happen.

The best way to purchase the Raspberry Pi voices are via telephone: 412-432-0400 and direct your call to our sales department.

We hope to offer our voices on our online store for easier access in the future but at the moment have not had the development time to do so.

Please let me know personally if you have continue to have any further difficulties.

Re: Raspberry Pi /w Callie

PostPosted: Mon Jun 03, 2013 9:10 am
by brandon.dacrib
Is there any way I can do this via an e-mail. Like a certain portion of the fellow nerd population; I am kind of phone call averse.

Re: Raspberry Pi /w Callie

PostPosted: Thu Jun 06, 2013 2:18 pm
by NicholeH
Yes, you can always contact us through our ticketing system with any questions or requests you may have!

https://www.cepstral.com/ticketing/

Re: Raspberry Pi /w Callie

PostPosted: Sun Dec 01, 2013 4:28 pm
by brunobf
Hello,

I'm interested in the Cepstral TTS engine for the RaspberryPi. I'm currently building some nodes for the Node Red project (http://nodered.org/) and one of the areas I'm interested in would be TTS. These nodes will be provided for free, and would allow someone to build their home automation system to include voice for example. Is there a way I have access to the Cepstral voices for the RPi?

Thanks,
Bruno

Re: Raspberry Pi /w Callie

PostPosted: Mon Dec 02, 2013 4:31 pm
by Patrick
Bruno,

You can call 412-432-0400 to purchase the Callie Pi voice for $29.99.

Re: Raspberry Pi /w Callie

PostPosted: Sat Jun 14, 2014 1:08 pm
by robotwolf
I'm working on a VUI for a car pc project using the raspberry pi. The test car is actually a late model dodge ram. So I instantly picked Dallas as the perfect voice for this old truck. But unfortunately he's not available on that platform. So I'm posting this in hopes that the raspberry pi development by Cepestral continues and gives us more options for voices on the raspberry pi. (Hopefully starting with Dallas... :lol: )

Thank you for your time!

Re: Raspberry Pi /w Callie

PostPosted: Fri Jun 27, 2014 3:25 pm
by middyeasy
Just wanted to share with the forum.. out of curiosity I uninstalled my raspberry pi license and then attempted to reinstall it on my ODROID u3 running Ubuntu 13.10 and it worked!!! In the install worked way way better no having to play with renaming the library files.

Re: Raspberry Pi /w Callie

PostPosted: Sun Apr 05, 2015 8:56 am
by beng
I would like to use Cepstral David for the voice in my home automation project.

Can Cepstral please just compile all the voices and make them available for retail purchase / download.

Thanks

Re: Raspberry Pi /w Callie

PostPosted: Tue May 03, 2016 8:49 am
by Yang3535
Not exactly a lot of activity on this forum, but I'll post my questions anyway:

1. I'm getting stuttering on my RPi installation & sometimes it seems the buffer gets messed up. It happens whenever punctuation is in the text. Anyone else run into this? Any work arounds/fixes? I am running on a model B+.

2. Anyone encounter any changes needed when moving to Raspian Jessie?

Thanks,
Yang

Re: Raspberry Pi /w Callie

PostPosted: Thu Jul 20, 2017 6:45 pm
by xanatos
Hi,

I have purchased five licenses for personal voice use on the raspberry pi. I have them all installed, registered, and they work, but ONLY if I send the output to a file (.wav), then aplay that file. This creates an enormous lag in the speech output (as much as 12 seconds).

The command I am using is:

Code: Select all
pi@Dolores-M:~ $ /opt/swift/bin/swift -n Belle -o tmp.wav "Hello there, this is a test." && aplay -D plughw:1,0 tmp.wav


ALL other methods produce an error:

Code: Select all
oss_audio: failed to open audio device /dev/dsp


I have tried padsp and aoss after verifying that I had everything installed:

Code: Select all
pi@Dolores-M:~ $ sudo apt-get install alsa-utils alsa-oss
Reading package lists... Done
Building dependency tree       
Reading state information... Done
alsa-oss is already the newest version.
alsa-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
pi@Dolores-M:~ $


Code: Select all
pi@Dolores-M:~ $ aoss swift -n Callie "Hello there"
oss_audio: failed to open audio device /dev/dsp
pi@Dolores-M:~ $ padsp swift -n Callie "Hello there"
oss_audio: failed to open audio device /dev/dsp
pi@Dolores-M:~ $


I have had no issues using ESpeak - it speaks from the command line directly... but just sounds like a robot.

It *seems* almost like padsp and aoss aren't even being looked at. I get the exact same oss_audio error regardless of whether I use those wrappers or not.

I've exhausted everything reasonable I know of so far, and am hoping that someone might happen here who can help. Seems pretty quiet here though.

Thanks,

Dave