Code Monkey home page Code Monkey logo

esp32talkie's Issues

Verify in Arduino IDE 2.0.4 crashes with declaration error.

Hi, I am having issues with using your library with Arduino IDE 2.0.4. When I want to make use of the examples, like "02_Voltmeter", I am getting the following errors.

C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: In member function 'int8_t Talkie::sayQ(const uint8_t*)':
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:173:12: error: 'ISR_RATIO' was not declared in this scope
  173 |   nextData=ISR_RATIO;
      |            ^~~~~~~~~
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: At global scope:
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:191:4: error: expected constructor, destructor, or type conversion before '(' token
  191 | ISR(TIMER1_COMPA_vect) {
      |    ^
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: In function 'void timerInterrupt()':
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:279:6: error: 'ISR_RATIO' was not declared in this scope
  279 |  if (ISR_RATIO <= nextData) { nextData=0; sayisr(); }
      |      ^~~~~~~~~
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: In function 'void sayisr()':
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:289:46: error: 'ISR_RATIO' was not declared in this scope
  289 |   if ( o->setPtr(o->say_remove()) ) nextData=ISR_RATIO; // This tracks the timing of the call to sayisr() :: Force nextData next timerInterrupt()
      |                                              ^~~~~~~~~
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:312:46: error: 'ISR_RATIO' was not declared in this scope
  312 |   if ( o->setPtr(o->say_remove()) ) nextData=ISR_RATIO; // This tracks the timing of the call to sayisr() :: Force nextData next timerInterrupt()
      |                                              ^~~~~~~~~

exit status 1

Compilation error: exit status 1

I am trying to use the latest version of your library.

best regards
philipp

Creating custom coefficient tables

Hi, I was trying to create the speech I need since the existing voices miss some of the words. And since you were able to put a whole song in your own example, can you explain how you did that? I have tried Audacity and created an unsigned 8 bit, 8kHz WAV file, which I then used HxD to get the coefficient table. However, it's pretty large and the sound isn't right.

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.