Coder Social home page Coder Social logo

picopi's People

Contributors

douggore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

picopi's Issues

Pico Markup Tags not working

For the text synthesis, apart from "ignore","paragraph" and "sentence" , all the tags are not parsed correctly by the interpreter (for instance the very important tags like "speed ="300"" or "break_time" are read as normal text).

Could be that some tags features are not supported?

Make fail on latest Raspbian

Hello,

ttstest make fail on latest Raspbian:

In file included from svox_ssml_parser.cpp:22:0:
svox_ssml_parser.h:21:19: fatal error: expat.h: no such file or folder
compilation terminated.

I tried to apt-get install expat but same result

Make error

when following the instructions i get the following error:

pi@raspberrypi ~/picopi/pico/tts $ sudo make
g++ -L../lib/ strdup16to8.c strdup8to16.c svox_ssml_parser.cpp com_svox_picottsengine.cpp main.cpp -lexpat -lsvoxpico -I../compat/include/ -I../lib/ -fpermissive -o testtts
g++: error: com_svox_picottsengine.cpp: No such file or directory
Makefile:35: recipe for target 'all' failed
make: *** [all] Error 1

build fail - TtsEngine.h:235:65: note: initializing argument 2....

Last Raspbian Buster lite image. Any idea ?

|--------------------------------------------------------------------------------|
| This SETTING wil be used:                                                      |
|                                                                                |
|    --make:             "True"                                                  |
|    --lang-tts:         "FRA"                                                   |
|    --lang-bin-dir:     "../lang/"                                              |
|    --2std:             "True"                                                  |
|     Binary name:       "./picoPi2Stdout"                                       |
|                                                                                |
|--------------------------------------------------------------------------------|
|                                                                                |
 Correct SETTINGS (Y/N) $> Y
|                                                                                |
|--------------------------------------------------------------------------------|
 
 Compiling ...
 
g++ -L../lib/ strdup16to8.c strdup8to16.c svox_ssml_parser.cpp picottsengine.cpp main.picoPi2Std.cpp -lexpat -lsvoxpico -I../lib/ -fpermissive -o picoPi2Std
In file included from strdup16to8.c:23:
jstring.h:27:18: warning: redeclaration of C++ built-in type ‘char16_t’ [-fpermissive]
 typedef uint16_t char16_t;
                  ^~~~~~~~
In file included from strdup8to16.c:21:
jstring.h:27:18: warning: redeclaration of C++ built-in type ‘char16_t’ [-fpermissive]
 typedef uint16_t char16_t;
                  ^~~~~~~~
In file included from svox_ssml_parser.cpp:25:
jstring.h:27:18: warning: redeclaration of C++ built-in type ‘char16_t’ [-fpermissive]
 typedef uint16_t char16_t;
                  ^~~~~~~~
In file included from picottsengine.cpp:58:
jstring.h:27:18: warning: redeclaration of C++ built-in type ‘char16_t’ [-fpermissive]
 typedef uint16_t char16_t;
                  ^~~~~~~~
main.picoPi2Std.cpp: In function ‘int main(int, char**)’:
main.picoPi2Std.cpp:138:49: warning: invalid conversion from ‘uint8_t*’ {aka ‘unsigned char*’} to ‘int8_t*’ {aka ‘signed char*’} [-fpermissive]
     result = ttsEngine->synthesizeText(argv[1], synthBuffer, OUTPUT_BUFFER_SIZE, NULL);
                                                 ^~~~~~~~~~~
In file included from main.picoPi2Std.cpp:7:
TtsEngine.h:235:65: note:   initializing argument 2 of ‘virtual android::tts_result android::TtsEngine::synthesizeText(const char*, int8_t*, size_t, void*)’
     virtual tts_result synthesizeText(const char *text, int8_t *buffer,
                                                         ~~~~~~~~^~~~~~
root@raspberrypi:~/picoPi2/tts#  

Adding more languages

Hello Doug.
Thank you for making this very nice tool available to the community. Is it possible to add more TTS languages? Our application would need greek language and cross compiling for processor ARM920T rev 0 (v4l)
Thanks

"Failed to load language" when running the test

This problem may be due to my inexperience with linux, but when you run the test program in picopi/pico/tts/ folder like:

./testts "Testing SR" | aplay (etc...)
, it runs fine. But if you do something like

/home/pi/picopi/pico/tts/testts "Testing SR" | aplay (etc...)

It returns "Failed to load language" and then doesn't release the audio device so that I have to reboot. How can I get around this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.