Society of Robots - Robot Forum

Software => Software => Topic started by: t0m on November 10, 2012, 12:53:03 AM

Title: webbotlib Speech::write()
Post by: t0m on November 10, 2012, 12:53:03 AM
couldn't get this function (which is documented here (http://webbot.org.uk/WebbotLibDocs2/45397.html)) to work in v2.09 until I patched the Speech class in Speech2Text.h by inserting:

   /* patch in this method */
   size_t write( const void *src, size_t len){
      return Stream::write( src, len );
   }

Dunno if I was doing something wrong or this is an avr-gcc version thing or whatever, but I thought I'd flag it up.

Another bug/feature that I discovered: trying to speak the backslash character "\" results in a weird noise of indefinite length.

As this is my first post I thought I would mention: going through 5 captcha routines is extreme and offputting.
Title: Re: webbotlib Speech::write()
Post by: zwarte on November 10, 2012, 02:59:21 AM
nvm i mis readed