I’m using flitecontroller to generate wav files; I’ve modified the openears framework accordingly, saving the file instead of sending it to the AVSoundPlayer to speak. I play the wavs with an existing (cocos2d-based) sound engine.
However I would like to increase the volume of the flite output. Relative to music at the same volume setting, its very hard to hear.
I found the flit->gain in rate_conv.c, set to 0.8. I’ve tried setting this as high as 20 but I think it only goes up to 1.0. In any event, its still too low for me.
The app I’m using this in previously used speech files generated on a server using Festival, and to make those loud enough I had passed a -scale parameter of 2 to the text2wave program. I don’t really see any corresponding volume scaling feature in flite.