[Qi Hardware Discuss] Bard Storyteller 0.5 for Nanonote

Alan W Black awb at cs.cmu.edu
Mon Jan 23 10:17:49 EST 2012

Xiangfu Liu wrote:
> On 01/22/2012 04:36 AM, Alan W Black wrote:
>> Bard Storyteller 0.5 http://festvox.org/bard/
> Hi Alan
> great jobs
>> Bard depends on CMU Flite (cmuflite.org) for both some general C
>> utilities and for synthesis itself. Bard is targeted at small
>> portable devices such as smart phones, not so smart phones and
>> offline devices. It uses libsdl (and libsdl-ttf) to display and
>> interact with the user.
>> see http://festvox.org/bard/README for more generic details, and full
>> source.
> I think there are some typo? it give me:
>   http://festvox.org/bard/AAAREADME, not just REAME. :)

Actually this is how the apache is server set up, is doesn't show files 
called README (its a common problem) so I name it AAAREADME too.  They 
are links to the same file.

>> http://festvox.org/bard/bard_0.5-1_xburst.ipk
> I would like include bard to nanonote(openwrt-package repo)
> already start a little:

Good, I'd like that too.

> http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/bard 
> but it give me some errors[1] when compile under openwrt. any advice 
> will be great. thanks
> xiangfu
> [1]---
> mipsel-openwrt-linux-uclibc-gcc  
> -I/home/xiangfu/.qi/nanonote/ben/latest/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.5-linaro_uClibc-0.9.32/staging_dir/target-mipsel_uClibc-0.9.32/usr/include 
> -I/home/xiangfu/.qi/nanonote/ben/latest/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.5-linaro_uClibc-0.9.32/staging_dir/target-mipsel_uClibc-0.9.32/include 
> -I/home/xiangfu/.qi/nanonote/ben/latest/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.5-linaro_uClibc-0.9.32/staging_dir/toolchain-mipsel_gcc-4.5-linaro_uClibc-0.9.32/usr/include 
> -I/home/xiangfu/.qi/nanonote/ben/latest/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.5-linaro_uClibc-0.9.32/staging_dir/toolchain-mipsel_gcc-4.5-linaro_uClibc-0.9.32/include  
> -I/home/xiangfu/.qi/nanonote/ben/latest/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.5-linaro_uClibc-0.9.32/staging_dir/target-mipsel_uClibc-0.9.32/usr/include 
> -I../include -I/usr/include/SDL -Os -pipe -mips32 -mtune=mips32 
> -fno-caller-saves -fhonour-copts -msoft-float 
> -I/home/xiangfu/.qi/nanonote/ben/
> latest/OpenWrt-SDK-xburst-for-Linux-x86_64-gcc-4.5-linaro_uClibc-0.9.32/staging_dir/target-mipsel_uClibc-0.9.32/usr/include/SDL  
> -Wall    -c speech.c -o ../build/mipsel-linux-gnu/obj/src/speech.o
> speech.c: In function 'bard_audio_stream_chunk':
> speech.c:180:53: error: 'cst_audio_streaming_info' has no member named 
> 'utt'
> speech.c: In function 'bard_speech_open':
> speech.c:243:5: warning: implicit declaration of function 'flite_add_lang'
> speech.c:257:18: warning: assignment from incompatible pointer type
> speech.c: In function 'bard_speech_close':
> speech.c:287:28: error: 'cst_audio_streaming_info' has no member named 
> 'utt'

I believe this is because you don't have the latest version of flite.
You really need the one in 

There actual a bunch of little changes in flite that help to make bard 
work properly (even though flite is supposed to be quite mature).

Let me know if that doesn't work.  I've not worked on integrating this 
into to the OpenWRT build process (I actually compile it on the nanonote 
itself), but give me feedback about how to do this properly so updates 
will just work.




More information about the discussion mailing list