Package: voiceAtis
voiceAtisReads an ATIS from IVAO using voice generation.RequirementsPython 2.7 - 32 bit (due to pyuipc incompatibility with Python 3 and 64 bit)pywin32XPlane withXPUIPCor MFS, P3D withFSUIPCP3D not tested yetWindows (Linux and Mac not tested yet)InstallationGet the latest python 2.7 (Python releases)Install the latest pywin32 release (pywin32 releases)filename:pywin32-xxx.win32-py2.7.exeInstall with the installer, not using pip!Runpip install voiceAtisUsageStart your sim and start a flight.Start the script "voiceAtis.py" (<Python>\Lib\site-packages\voiceAtis)Tune the ATIS frequency of the airport where you are parking.Don't forget to activate receive mode of the radio (COM1 or COM2)You should hear the ATIS now, if:There is an ATC station online at this airport (TWR, APP, GND or DEL)The airport has an ATIS frequency atourairports.comIf there is an frequency, but no station only, voiceAtis will read the current METAR only.Custom airport dataAirport data is downloaded fromourairports.com. You can see these data atairports.infofile at main directory. It may happen that this data is inaccurate or an airport is missing.In this case you can add the airport to theairports_add.infofile. Airports in this file have priority over downloaded data.You may also inform me about wrong data preferably via the Issues tab. I will then enter the data atourairports.comto distritbute them to all users. Alternatively, after login, you may correct the data on your own.Notice for X-Plane usersX-Plane has its own ATIS information broadcasted, often on the same (real) frequency. After tuning in the ATIS frequency you will hear the X-Plane ATIS message first and then the message provided by voiceAtis. Because X-Plane also uses the operation system text-to-speech machine like voiceAtis. The voice messages are queued and read after each other.To avoid the broadcasting of the default ATIS, I created the scriptxpRemoveAtisFreq.py. All ATC frequency are stored in the fileapt.dat. The script will remove all ATIS frequency from this file. After execution, the default ATIS should be permanently disabled.Before removal of the frequency, the script will create a backup of the original file asapt.dat.bak. If you would like to hear the default ATIS again, simply delete the modifiedapt.datfile and restore the backup file.Although the script is well tested and there should not occur any side-effects, the use of this script is at your own risk.Notice for FSX usersAlso FSX has its own ATIS information broadcasted on the same frequency. It uses its own voice engine thus doesn't interfer with voiceAtis. Nevertheless the spoken messages and the displayed text may be disturbing. To disable them uncheck the following options.Options > General > All ATC optionsOptions > Sounds > VoiceNotice for P3D usersI didn't test voiceAtis with P3D as I don't own this simulator, but it should work with the appropriate version of FSUIPC. If you are a P3D user, please tell me if it worked. If it didn't work, open an issue so that I can fix it.Also instructions to disable the standard ATIS of the simulator are highly appreciated!Bugs and issuesPlease report bugs via the github issues tab.It is usefull to attach the logfile from "root/logs".Known limitationsMETARNo trendNo visibility directionsNo runway conditionNo comments of ivac 2 atisX-Plane: Detection of active radio not accurateSometimes airports have more than 1 ATIS frequency (e.g. EDDF or LOWW, for departure and arrival)You might have to try all frequencies to find the one working.Used packages and Copyrightpython-metarUsed to parse the metar contained in the ATIS.Copyright (c) 2004-2018, Tom Pollard
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.pyttsxText-to-speech package for python. Used to read the parsed ATIS string.pyttsx Copyright (c) 2009, 2013 Peter ParentePermission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.pyuipc - FSUIPC SDK for PythonUsed to get the com frequencies, com status, aircraft coordinates from the simulator.All Copyright - Peter Dowson and István Váradi.ourairports.comOurAirports is a free site where visitors can explore the world's airports, read other people's comments, and leave their own. The help pages have information to get you started.The site is dedicated to both passengers and pilots. You can create a map of the airports you've visited and share that map with friends. You can find the closest airports to you, and discover the ones that you haven't visited yet.Behind the fun and features, OurAirports exists primarily as a public good. When Australia forced the US government to shut down public access to its Digital Aeronautical Flight Information File (DAFIF) service in 2006, there was no longer a good source of global aviation data. OurAirports started in 2007 primarily to fill that gap: we encourage members to create and maintain data records for airports around the world, and they manage over 40,000 of them. Many web sites, smartphone apps, and other services rely on OurAirport's data, which is all in the Public Domain (no permission required).See theCreditsfor a list of contributers.Changelogversion 0.1.6 - 24.12.2018Fix: Using COM1 frequencyTested with FSXversion 0.1.5 - 21.12.2018Changes for improved realismChanged order (metar to the end)Removed "zulu" from timeversion 0.1.4 - 20.12.2018Fix: setup.pyFix: paths when running from python folderFix: importFix: pip requirementsversion 0.1.0 - 18.12.2018Included requirements tosetup.pyversion 0.0.8 - 18.12.2018Created my own custom logger classIncludedpyuipc.pydin the repositorySmall fixesversion 0.0.7 - 15.12.2018Provided the scriptxpRemoveAtisFreqFirst upload to pypiAdded pyuipc msi to filesFix: Bug for multiple runways for departure/arrivalFix: Bug reading empty line of airports_add.infoversion 0.0.6 - 14.12.2018Implemented parsing of ATIS created with ivac 2Disabled warnings of python-metarversion 0.0.5 - 13.12.2018Runway identifier at metar converted correctlyAdditional ATIS comment parsed for ivac 1version 0.0.4 - 12.12.2018Getting airport data from web now (http://ourairports.com)Option to add additional dataReading airport name now instead of airport code in metar only modeAdded warning message receiving ivac 2 ATISversion 0.0.3 - 07.12.2018Now using metar if no ATIS availablepyuipc tested and runningChanged RADIO_RANGE to a (realistic) value of 180 nmImplemented loggingversion 0.0.2 - 05.12.2018Implemented wind gusts and variable windPort to python2 (due to pyuipc)Added pyuipc (untested)Added logic to get airportversion 0.0.1 - 03.12.2018First version for testing purposesSome Atis feartures missingNo pyuipcVoice not testedROADMAPUpload to pypiRandom start