Add voices in Festival tts - raspberry-pi

So I am trying to use festival tts on my raspberry pi for a smart home project. However, when I try to use a british english voice it says not a british english voice installed.
echo "hello world" | festival --tts --language "british_english"
Not a british English voice installed
But if I put in a made up language it says that one of the available language it says that British english is installed.
echo "hello world" | festival --tts --language "madeuplanguage"
"Language not installed. The installed languages are:"
(russian american_english finnish welsh italian english british_english czech scots_gaelic castillian_spanish)
The voice I want is this here the one I want is the "[peter, english rp male]" because it is the most natural sounding.
Thanks!

Installed languages and installed voices are different. You might have a language installed but no voice installed. The british voice you mention is commercial and probably not available in public.
If you want good tts on RPI, you'd better use something like online Google TTS (should be free for small amount of texts) or Amazon TTS. You can also consider any Tacotron voice, like Nvidia tacotron, but again you will not be able to run it on Raspberry Pi, you will need a server.

Related

Voice in TTS Swift

Does anyone know where I can find a list of all the different available languages for Text to speech? e.g. en_GB, en_US e.t.c.?
Also will offering different languages for text to speech require an internet connection?
The method speechVoices in the class AVSpeechSynthesisVoice returns all the currently available voices on the current device.
Devices ship with at least one, often two (one male, one female) high quality voices for the current locale's language (e.g. a US iPhone will have a high quality male en_US voice and a high quality female en_US voice). They also ship with a larger number of lower quality alternate dialect and international voices (e.g. on that US iPhone, en_GB will be present but lower quality - on a GB iPhone it would be the other way around).
Users can choose to download additional high quality voices, but otherwise an internet connection is not required for TTS.

Epson SDK for iOS printing chinese

I am facing a problem printing Chinese characters from my iOS application to my Epson Printer. When I'm trying to print Chinese, it's came out with question mark (???)
Has anyone of you managed to print Chinese on a TM-T88V with the epson SDK ? Or even has experience with the iOS espon SDK ?
Did anyone of your done this before?
I'm having the same problem here. The Epson support told me only the models bought in Asia supports the asian language.
So far I'm having trouble in printing any Chinese character with my TM T88-V printer and I'm thinking of getting one in Asia.
Quote from support:
In Europe, Epson is offering only ANK (Alpha Numeric Katagana) models
of TM-printers. The Asian models (Japanese, simplified Chines,
traditional Chines, Korean, and South Asia) are supporting 2-byte code
while the ANK models not ! Based on the label you attached, I could
find out, the printer is an ANK model with Ethernet interface. An
Asian model you can only get at the Asian market.
You can identify an Asian printer by using the command "GS I n" with
n= 0x45. It returns a string with a language information.

mainframe practice on Mac machine

Is there a way to use mainframe on Mac machine. I want to practice mainframes(COBOL, JCL, DB2) on MAC or windows, preferably MAC.
I have never tried, but Hercules is a mainframe emulator that should run on OSX. The main problem though with any kind of mainframe emulation is getting the software you want. Very few (if any) of the software that runs on modern mainframe is licensed to run on emulators.
If you provide a bit more background as to what you are trying to achieve, then someone should be able to come up with a more helpful answer. That is, are you trying to understand the architecture, learn assembler, work with IMS or CICS, etc?
I would recommend using Topaz on AWS by Compuware (https://compuware.com/topaz-on-aws/). The mainframe IDE runs in a browser so it doesn't matter what operating system you use. Plus, it works great and has tons of useful, modern features. But if you need a free emulator, you can use tn3270x (https://www.brown.edu/cis/tn3270/).
You should look for a service that let's you connect to a minframe from the internet with a 3270 emulator that would run on your PC or Mac. Maybe some colleges would offer that.
You can register for Master the Mainframe contest organized by IBM, to get free access to genuine IBM Mainframes.
Click here and Register for Learning System.
Read these lines in link's description.
Master the Mainframe is a fun way to learn, earn digital badges and
experience hands-on mainframe technology with no prior knowledge
required!
Master the Mainframe’s Learning System is open to anyone year-round
for technology training and earning IBM digital badges.
Yearly, the IBM Z Academic Initiative sponsors a Master the Mainframe
global contest where academic students can learn while vying to win
prizes. New challenges are posted each September.
I've been using Vista TN3270 terminal on my PC for a month and it's quite interesting and useful.

Live TV in Google TV emulation

According to the developer site documentation, Google TV emulation supports live tv. Local provider list will be obtained by giving zip code of the area.
Does this work with an Indian Zip code? If yes, will the ChannelListing information of the provider be accessible free of cost or does it impose any subscription charges?
How does this actually work?
It only works for US zip codes at present. There is no charge.
I found that at least the GoogleTV I got also has only US zip-codes for location and no ability to select non-US locations not other languages but english.

Large vocabulary speech recognition in iPhone without internet?

I used Openears which needs dictionary. It is usefull when we mention the word in dictionary. I wanted to convert all words we speak. So I used Nuance’s speech to recognition dragaon SDK. But it communicates with webserver. I want to avoid server communication because of security concerns. Is it possible to convert speech to text for all words we speak as it is in windows mobile without communicating server only in offline mode?
Speech recognition with unlimited vocabulary requires very big computational and memory resources (gigabytes of memory) and thus it's very hard to do that in iPhone on other embedded device. iPhone is 9 times slower than desktop. iPad is easier since it has more powerful CPU.
Google has put very big effort to make their engine work offline for dictation, and still it prefers to send data to the server because it is significantly more accurate.
Because of that most of the solutions running on small devices use limited vocabulary. Though this vocabulary can be large enough so you will not notice that. Usually 500-1000 words is enough to cover most practical situations. You can use OpenEars to recognize such vocabulary.
To train a language model you need texts from your domain (words and expressions). Language model training is described in CMUSphinx tutorial. To use language model you can use the following OpenEars API call:
- (void) changeLanguageModelToFile: (NSString *) languageModelPathAsString
withDictionary: (NSString *) dictionaryPathAsString
See API reference for more details.
You can use OpenEars with such vocabulary and corresponding language model to support free form text entry for your device.
It could be done, but if you are looking for an unlimited vocabulary speech to text convertor, then it is best if the computations are done on a server. The requirements for such a system are probably too great for a system such as a smartphone. The main areas where you will have huge requirements are as follows:
Dictionary to map input speech into text.
Computations for speech recognition algorithms to run.
I believe this is the reason why companies like Google run their speech recognition services over a server and not on the phone.
But if the application was a limited word speech to text, then it might be worth giving it a try.
All the best!
Doesn't pocketsphinx work on iPhone without network connectivity? Aren't there some demo apps floating around like VocalKit
http://www.rajeevan.co.uk/pocketsphinx_in_iphone/ may be helpful.