Members | Sign In
Legacy MOVI User Community Forum (readonly) > MOVI Question & Answers
avatar

eSpeak Phoneme & Dictionary Access

posted Feb 03, 2018 18:42:21 by 777keepmovingforward
Hi,

I have a few unusual questions about the capabilities of the MOVI shield. I have one and using it for my first Arduino projects so I am very new to all of this. I am using it with Arduino Uno R3.

For now, I would like to utilize the Voice Synthesizer ONLY. I have looked at the eSpeak source code and I know that it is incorporated on MOVI.

1.) Is it possible to access the eSpeak dictionary and have it continually say random words from it?

2.) Is it possible to access the English phonemes and have MOVI continuously speak them randomly so it sounds like gibberish? (perhaps for an alien doll from another planet).
I have been able to get MOVI to speak one phoneme at a time by using double brackets [[]] but not sure how to get it to speak them continuously and randomly.

If either of these unusual requests are possible, could you provide some code or point me in the right direction?

Thanks in advance!
page   1
3 replies
avatar
GeraldFriedland said Feb 05, 2018 17:37:05
1) Yes. For more details, I would need more details about what you want to do.
Take a look at this example: https://github.com/audeme/MOVIArduinoAPI/tree/master/examples/beginner/SynthesizerControl

2) This requires you to go into the SD card and change some of the libraries/data files. Make a backup of your card first because each card is board-specific. Since you seem intimately familiar with espeak, I don't think it will be a problem for you though.

Hope that helps,
Gerald
avatar
777keepmovingforward said Feb 11, 2018 00:09:24
UPDATE: For now, I am able to copy the SD Card contents on the hard drive. I have a very bad cold at the moment so will return when my head is clear (fewer mistakes). Thank you!
-------
Thank you, Gerald, for your prompt reply. Before moving onto the specifics of my project requirements, I have found myself having difficulty creating a backup of the MOVI SD Card. I already had a Windows 10 & Mac available but after reading the MOVI manual, I realized that having a Linux machine made a lot of sense. So I installed Ubuntu on an old laptop and now have no idea how to correctly back up the MOVI SD Card. Could you provide specific instructions? I have succeeded in only copying the MOVI BOOT (which, btw..your manual refers to as MOVI Root) partition. I don't seem to be able to clone the SD card due to being a noob on Linux/Ubuntu. For the cloning, I used terminal with the following command: sudo dd if =/dev/sdb2 of=devsdc1 and it only copied the MOVI BOOT partition. I realize I have a learning curve to deal with...and would appreciated any guidance you could give me regarding backing up the SD Card on Ubuntu 16.04 LTS as today was my first time using it. :)

I'm not sure if this info is valuable to you, however, this is what I see in the GParted Utility when viewing the MOVI SD Card:

/dev/sdb1 (there is a key icon), file system = fat16, Mount Point= /media/katie/MOVIE BOOT
/dev/sdb2 (there is an exclamation mark), file system = Unknown
/dev/sdb3 (there is an exclamation mark),file system = crypt-luks
/dev/sdb4 (there is an exclamation mark), file sytem = fat16
unallocated

I am quite surprised that I am having such difficulty making a clone/backup even though this is my first time using Ubuntu. I would really appreciate some guidance even though this isn't technically a MOVI issue.

Best regards,
Katie


[Last edited Feb 11, 2018 17:36:20]
avatar
GeraldFriedland said Feb 19, 2018 17:34:08
You can directly copy /dev/sdb to a file.

cp /dev/sdb mysdcardbackup.img


Hope that helps and get well soon!
Gerald
Login below to reply: