Hi jin,jin wrote:jmleglise wrote:Hi,
Another feedback : I would appreciate in a future version an option to don't keep the audio file after the playback. Indeed, some sentences will never come again. (like reading news).
(for saving some disk space)otherwise you can change the default behavior via izsynth.conf file:Code: Select all
jin@jlt:~$ izsynth -h | grep keep -w Overwrite the synthesized file, otherwise keep it (current: no)
set:Read the domoticz wiki page to discover:Code: Select all
PLAYBACK_RESYNTH="yes"
http://www.domoticz.com/wiki/IzSynth
With kind regards
1/ That's not what I am meaning. I ask for an option to automatically remove the .wav in dev/shm after the playback. something like "-nocache"
It's not the purpose of -w => overwrite the file if the same sentence come again.
As my RPi never reboots, what will happen when the /dev/shm will become full ?
2/ And another feedback :
Your system can't handle sentences longer than the limit of file name length. (255). This is too short. As my system synthetizes news in the morning, I frequently need >400 chars.
So , for this kind of use, you may have an option, that use a short file name, and then delete it.