Raspberry Pi /w Callie

How do you use speech and what if...

Raspberry Pi /w Callie

Postby ChrisM » Thu Mar 14, 2013 12:20 pm

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!
Web Developer - Cepstral LLC
User avatar
ChrisM
 
Posts: 29
Joined: Thu Sep 13, 2012 12:37 pm
Location: Pittsburgh, PA

Re: Raspberry Pi /w Callie

Postby NicholeH » Thu Mar 14, 2013 2:12 pm

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."
User avatar
NicholeH
 
Posts: 15
Joined: Thu Sep 13, 2012 2:15 pm

Re: Raspberry Pi /w Callie

Postby ChrisM » Fri Mar 15, 2013 2:08 pm

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.
Web Developer - Cepstral LLC
User avatar
ChrisM
 
Posts: 29
Joined: Thu Sep 13, 2012 12:37 pm
Location: Pittsburgh, PA

Re: Raspberry Pi /w Callie

Postby brandon.dacrib » Fri May 10, 2013 1:34 pm

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.
brandon.dacrib
 
Posts: 2
Joined: Fri May 10, 2013 1:24 pm

Re: Raspberry Pi /w Callie

Postby ChrisM » Mon May 13, 2013 8:59 am

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.
Web Developer - Cepstral LLC
User avatar
ChrisM
 
Posts: 29
Joined: Thu Sep 13, 2012 12:37 pm
Location: Pittsburgh, PA

Re: Raspberry Pi /w Callie

Postby brandon.dacrib » Mon Jun 03, 2013 9:10 am

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.
brandon.dacrib
 
Posts: 2
Joined: Fri May 10, 2013 1:24 pm

Re: Raspberry Pi /w Callie

Postby NicholeH » Thu Jun 06, 2013 2:18 pm

Yes, you can always contact us through our ticketing system with any questions or requests you may have!

https://www.cepstral.com/ticketing/
User avatar
NicholeH
 
Posts: 15
Joined: Thu Sep 13, 2012 2:15 pm

Re: Raspberry Pi /w Callie

Postby brunobf » Sun Dec 01, 2013 4:28 pm

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
brunobf
 
Posts: 1
Joined: Sun Dec 01, 2013 4:23 pm

Re: Raspberry Pi /w Callie

Postby Patrick » Mon Dec 02, 2013 4:31 pm

Bruno,

You can call 412-432-0400 to purchase the Callie Pi voice for $29.99.
Patrick Dexter
Dir. Bus. Dev.
Cepstral LLC
User avatar
Patrick
 
Posts: 13
Joined: Fri Jul 11, 2008 1:13 pm
Location: Pittsburgh

Re: Raspberry Pi /w Callie

Postby robotwolf » Sat Jun 14, 2014 1:08 pm

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!
robotwolf
 
Posts: 1
Joined: Sat Jun 14, 2014 1:01 pm

Re: Raspberry Pi /w Callie

Postby middyeasy » Fri Jun 27, 2014 3:25 pm

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.
middyeasy
 
Posts: 1
Joined: Fri Jun 27, 2014 3:11 pm

Re: Raspberry Pi /w Callie

Postby beng » Sun Apr 05, 2015 8:56 am

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
beng
 
Posts: 2
Joined: Sun Apr 05, 2015 7:42 am

Re: Raspberry Pi /w Callie

Postby Yang3535 » Tue May 03, 2016 8:49 am

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
Yang3535
 
Posts: 1
Joined: Tue May 03, 2016 8:41 am

Re: Raspberry Pi /w Callie

Postby xanatos » Thu Jul 20, 2017 6:45 pm

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
xanatos
 
Posts: 4
Joined: Tue Jul 04, 2017 5:40 pm

Re: Raspberry Pi /w Callie

Postby orange peel » Sun Jul 21, 2019 6:40 am

BUMP!

I too am experiencing these ongoing issues ....

Is there a workaround?
orange peel
 
Posts: 1
Joined: Sun Jul 21, 2019 6:38 am

Next

Return to Voices in Action

Who is online

Users browsing this forum: No registered users and 1 guest