Build an open future with us.

Invest in Mycroft and become a community partner.

Mimic - on custom hardware


#1

I’m new to this topic TTS and I wanted to understand whether I can use it on my custom hardware that runs on YOCTO linux on ARM Cortex A7. If so how would I build (compile) and use it.
I currently use alsa library for my audio/noise cancellation. Is there any other additional libraries required.


#2

Mimic (v1) can be compiled on most anything with the correct libraries. https://github.com/MycroftAI/mimic Clone that repo and compile if you want, or just run the dev_setup and ensure it builds as part of that process. Basic instructions on usage at that link as well.


#3

I tried to run “dev_setup” it gives the below error

"Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named ‘encodings’

Current thread 0x00007f8ede777700 (most recent call first):
Aborted (core dumped)"

Also I tried to compile the repo

“checking whether we are cross compiling… configure: error: in /home/u16p4/TTS/mimic-dev': configure: error: cannot run C compiled programs. If you meant to cross compile, use–host’.
See `config.log’ for more details”

What is the “host” name I need to pass, if I’m cross-compiling for ARCH=armv7-a, and using “arm-linux-gnueabi-gcc”

I wanted to build it as static library and use it on my demo C++ application code.


#4

I tried to run “dev_setup” it gives the below error

"Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named ‘encodings’

Current thread 0x00007f8ede777700 (most recent call first):
Aborted (core dumped)"

Also I tried to compile the repo

“checking whether we are cross compiling… configure: error: in /home/u16p4/TTS/mimic-dev': configure: error: cannot run C compiled programs. If you meant to cross compile, use –host’.
See `config.log’ for more details”

What is the “host” name I need to pass, if I’m cross-compiling for ARCH=armv7-a, and using “arm-linux-gnueabi-gcc”

I wanted to build it as static library and use it on my demo C++ application code.


#5

Are you cross-compiling?


#6

The only helpful thing I can suggest here is to have a look at our Mimic documentation;


#7

YES. I’m using ubuntu linux virtual box and my hardware board runs on YOCTO linux on ARM Cortex A7 core.


#8

Have you successfully cross compilied something for your arm board yet?


#9

YES, I tried compiling Flite without any issues


#10

Then I’d run the dev_setup.sh with the -sm (skip mimic) option and build it separately.