Hi Terry,sunburnt wrote:Very nice William, this is something to inspire most anyone.
I`m thinking BaCon maybe able to help if the output is a problem.
Yes, a bit pre-processing of the input text can work wonders. However, depends to some extent on a person's cultural background which voices they consider more realistic or better sounding. Here in New Zealand, for example, people speak English with very clipped short vowels, whereas, in Scotland, where I come from, long vowels are the norm! So when a Kiwi (i.e. New Zealander) says 'cat' it sounds something like 'cut' to my ears, and when I say 'cat', I imagine it sounds like 'caaat' to theirs! (And when they say 'sex' it sounds like 'six' to me, so I often misunderstand their jokes and humour! More worrying is the probability that when I say 'six' they probably think I'm saying 'sex'...)
By the way, I now have a version of DebianDog as a full install on a usb stick set up basically as a development environment. For the moment its purpose is to allow me to check out different program enviroments I'm interested in, so the usb stick currently includes Lazarus (with free Pascal), openframeworks (C++ framework) and I've just finished compiling BaCon from sources. Of course the first two, create pretty big executables compared to BaCon, there being lots of overhead from dependencies loaded by the frameworks themselves. For Lazarus, a stripped executable of around 3 MB or more can be expected, but the programming environment is like Delphi and very nice to use. BaCon can clearly produces much much tinier GUI executables comparatively, though not as small I think as straight C with gtk+ calls (xhippo GUI executable, for example, is under 50kB). However, executable size is less important to me nowadays than RAM usage and ease of creation... Whilst gtkdialog based scripts are tiny, the RAM used by gtkdialog is really quite substantial and a good BaCon or straight C/gtk_ program can probably do much better in many cases.
One of the many great things about DebianDog is just how easy it is to install these kind of programming frameworks - leaves more time for actually playing with them! :-)
Almost summer here though, so truth is I'm not at the computer quite as much at the moment, but looking forward to at last trying out BaCon.
William