Sowintuu / voiceAtis

Reads an ATIS from IVAO using voice generation
GNU General Public License v3.0
1 stars 1 forks source link

voiceAtis

Reads an ATIS from IVAO using voice generation.

Requirements

Installation

Usage

Custom airport data

Airport data is downloaded from ourairports.com. You can see these data at airports.info file 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 the airports_add.info file. 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 at ourairports.com to distritbute them to all users. Alternatively, after login, you may correct the data on your own. Changes are available to voiceAtis at the following day after the change at ourairports.

Notice for X-Plane users

X-Plane has its own ATIS information broadcast, 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 broadcast of the default ATIS, I added the script disableXpAtis.lua which is located in the supportFiles folder. You must have FlyWithLua installed and add the script to the FlyWithLua Scripts folder.

Notice for FSX users

FSX also has its own ATIS information broadcast 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.

Notice for P3D users

I don't own P3D but voiceAtis was tested up to v0.3.0, and it worked.

To disable the default ATIS in P3D follow these steps:

Bugs and issues

Known limitations

Build

Requirements

Installation

Using pyinstaller.

Build an executable using the following command:

pyinstaller voiceAtis.py

Used packages and Copyright

python-metar

Used 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.

pyttsx

Text-to-speech package for python. Used to read the parsed ATIS string.

pyttsx Copyright (c) 2009, 2013 Peter Parente

Permission 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 Python

Used to get the com frequencies, com status, aircraft coordinates from the simulator.

All Copyright - Peter Dowson and István Váradi.

ourairports.com

OurAirports 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 the Credits for a list of contributors.

Changelog

version 0.5.0 - 07.03.2022

version 0.4.0 - 17.06.2020

version 0.3.0 - 16.06.2020

version 0.2.1 - 12.06.2020

version 0.2.0 - 12.06.2020

version 0.1.6 - 24.12.2018

version 0.1.5 - 21.12.2018

version 0.1.4 - 20.12.2018

version 0.1.0 - 18.12.2018

version 0.0.8 - 18.12.2018

version 0.0.7 - 15.12.2018

version 0.0.6 - 14.12.2018

version 0.0.5 - 13.12.2018

version 0.0.4 - 12.12.2018

version 0.0.3 - 07.12.2018

version 0.0.2 - 05.12.2018

version 0.0.1 - 03.12.2018

ROADMAP