Hi all, I've managed to get canned voice ATIS going.
I've put the files up at: http://www.nottingham.ac.uk/~eazdluf/ATCsrc.tgz and http://www.nottingham.ac.uk/~eazdluf/ATCdata.tgz To use it, untar ATCsrc.tgz into the src/ATC directory, and untar ATCdata.tgz into the fgfsbase/ATC directory (You may want to backup what's already there first!). Tune in to an ATIS station. It respects --disable-sound so you'll get scrolling text only if you have that as an option. The files contain names for all the airports with ATIS (11) in the base package, and the majority of larger UK airports. However, all airports will get it, they'll just not have the name read out. It compiles on Cygwin gcc-2.95 and Linux (Libranet 2.0) gcc-3.2, although I've only managed to test it running on Windows (hardware acceleration problems on *both* my Linux boxes :-( ). Those diffing should note that the files contain lots of other more long-term changes to the ATC/AI files - the relevant diffs for the voice part are mostly in atis.cxx, ATCutils.cxx, ATCmgr.cxx and the new files ATCVoice.[ch]xx. Ignore leading whitespace when diffing since I'm using all tabs instead of the Flightgear 4-space/8-tab mix. Some airport names in default.atis are also changed to allow the token parser to recognise them, or to remove extraneous naming (eg San Carlos arpt of Santa Clara Co -> San-Carlos). Personally I think it sounds quite reasonable for a first cut. The last bit (advise controller...) can sound funny at the end with some phonetic identifiers due to a mismatch in volume and tempo, and it was recorded with a crappy microphone at the default Flightgear 8000/8bit sampling rate, but for all that it sounds quite reasonable (IMHO). I am getting some "failed to remove nav-vor-ident sound" messages produced, but hey, more eyes and all that :-) There are still a few known issues with the ATIS - stopping and restarting resets it to the beginning, it always starts from the beginning instead of a random location in the message, the actual message format isn't quite right, but these were all there anyway with the text version and I'll get round to them in time (hopefully... :-) ) Feedback welcomed, don't flame me too badly if it doesn't work on MacOS/IRIX please... Some frequencies within range of the default startup location: 115.8 133.775 120.6 118.25 124.175 125.9 126.7 125.2 119.65 126.95 Cheers - Dave _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
