Board index FlightGear Development Add-ons

Red Griffin ATC - Speaking ATC addon for Flightgear

FlightGear has support for add-ons, to further extend the simulator's core functionality.

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby Michat » Mon Mar 22, 2021 8:05 pm

Updated wiki compatible aircraft Aerostar 700 Patten hangar. Radio and transponder checked by Miguel.

29.92
User avatar
Michat
 
Posts: 1226
Joined: Mon Jan 25, 2010 7:24 pm
Location: Spain
Version: 191b
OS: MX 21 Fluxbox oniMac

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby marksummerfield » Tue Mar 23, 2021 11:58 am

Hello Red Griffin - firstly thank you for your suggested quick fix to line 4981 in rgatc.nas to move the text from the centre of the screen so that it works better with dual monitors. For anyone else interested in this for V2.2 with dual 1920x1080 monitors the values 100,-200 place the text nicely in the left monitor out of the way of the HUD and screen join.
I have a Festival problem which I need some help with. Redgriffin 2.2 includes the festival.xml example to use Festival voices. However I have not been able to get this to work. I'm running Festival 2.5 on Ubuntu 20.04 with Flightgear 3.1. ATC works fine but I cannot use the Festival voices as it always reverts back to the Flite defaults. Festival server is running (festival --server) and Festival works with the various voices when run from the command line (SayText"blah blah") about 10 voices list in (voices.list) showing it can find them ok. Looking in the Flightgear log there is a problem with SOCKETS.
22.62 [INFO]:sound /build/flightgear-IMQjQd/flightgear-2020.3.1/src/Sound/voice.cxx:153: VOICE: adding `Pilot' voice
22.62 [ALRT]:io /build/simgear-T9LSko/simgear-2020.3.1/simgear/io/sg_socket.cxx:112: Error: connect() failed in make_client_socket()
22.62 [ALRT]:io /build/simgear-T9LSko/simgear-2020.3.1/simgear/io/sg_socket.cxx:170: SG_IO_OUT socket creation failed
22.62 [WARN]:sound /build/flightgear-IMQjQd/flightgear-2020.3.1/src/Sound/voice.cxx:96: failed to create festival voice, falling back to flite voice
22.65 [INFO]:sound /build/flightgear-IMQjQd/flightgear-2020.3.1/src/Sound/voice.cxx:153: VOICE: adding `ATIS' voice
22.65 [ALRT]:io /build/simgear-T9LSko/simgear-2020.3.1/simgear/io/sg_socket.cxx:112: Error: connect() failed in make_client_socket()
22.65 [ALRT]:io /build/simgear-T9LSko/simgear-2020.3.1/simgear/io/sg_socket.cxx:170: SG_IO_OUT socket creation failed

festival.xml is being referenced and clearly working as it will change the speed etc of the voice - but this is always the default.
The install instructions specify Flightgear 2020.3.6. I'm running 2020.3.1 as this seems to be the latest stable version for Ubuntu. Is this an issue? I think 3.6 is just bug fixes rather than a major functionality change from V3 but I may be wrong. Any help on the socket creation problem would be welcomed. I can live with the Flite default voices but I think the idea of different voices for different airports/services adds to the realism and hopefully it's an easy fix or something fundamental I have missed.
marksummerfield
 
Posts: 34
Joined: Mon Jun 22, 2015 3:14 pm
Location: Cheltenham, UK
Callsign: MS66
Version: 2020.3.6
OS: Linux

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Tue Mar 23, 2021 5:16 pm

marksummerfield wrote in Tue Mar 23, 2021 11:58 am:Hello Red Griffin - firstly thank you for your suggested quick fix to line 4981 in rgatc.nas to move the text from the centre of the screen so that it works better with dual monitors. For anyone else interested in this for V2.2 with dual 1920x1080 monitors the values 100,-200 place the text nicely in the left monitor out of the way of the HUD and screen join.

Hello there!
Glad to know the "quick and dirty fix" worked for you. Please consider the forthcoming version 2.3 will introduce a new option for that specific purpose by allowing you to place the ATC communications in many areas of the screen, including the cases you have (like me) a dual monitor configuration.

marksummerfield wrote in Tue Mar 23, 2021 11:58 am:I'm running 2020.3.1 as this seems to be the latest stable version for Ubuntu. Is this an issue?

Unfortunately, yes, this is the issue. Festival support in FlightGear does not work properly prior to version 2020.3.6 because of a minor bug I fixed in FlightGear code and included from version 2020.3.6 on.
Prior to this version, unfortunately, FlightGear fails to properly initialize Festival running in server mode and this causes the socket to close connection. This has been fixed by me by changing the initialization sequence and therefore having it works with both festival 2.4 and 2.5.
FlightGear 2020.3.6 is the current stable release since 24/01/2021.

Kindest regards.
Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Tue Mar 23, 2021 7:18 pm

I have just found a new video about Red Griffin ATC. It is always so nice and interesting to see how FlightGear pilots use my addon. :-)

Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby marksummerfield » Tue Mar 23, 2021 7:54 pm

Unfortunately, yes, this is the issue. Festival support in FlightGear does not work properly prior to version 2020.3.6 because of a minor bug I fixed in FlightGear code and included from version 2020.3.6 on
.

Hi Red Griffin - thanks for the clarity - much appreciated, I will try the daily builds and hopefully that will solve the problem without introducing too many others!
marksummerfield
 
Posts: 34
Joined: Mon Jun 22, 2015 3:14 pm
Location: Cheltenham, UK
Callsign: MS66
Version: 2020.3.6
OS: Linux

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Wed Mar 24, 2021 9:31 am

marksummerfield wrote in Tue Mar 23, 2021 7:54 pm:Hi Red Griffin - thanks for the clarity - much appreciated, I will try the daily builds and hopefully that will solve the problem without introducing too many others!

Hello there!
One more thing: in case you are not using Festival server, it is better not to load the distributed festival.xml file in FlightGear. This would in fact make Red Griffin ATC assume it has Festival and the resulting speech of the internal FLite+HTS synthesizer will be fragmented and less intelligible.
Load festival.xml only in case you have Festival Speech System running in your system in server mode.

Enjoy Red Griffin ATC!
Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby marksummerfield » Fri Mar 26, 2021 7:19 pm

Hi RedGriffin ....OK all working now. Nightly Ubuntu builds were not a good idea - tooooo many problems. Appimage 2020.3.6 worked well (I was using the ppa method which seems to be stuck on 2020.3.1) - pleased to say I now have a varied selection of new characters with different voices guiding me into various airports - wonderful! Thanks for the hint about festival.xml - I expect to include running festival server into the normal flightgear launch process so all should be well.
marksummerfield
 
Posts: 34
Joined: Mon Jun 22, 2015 3:14 pm
Location: Cheltenham, UK
Callsign: MS66
Version: 2020.3.6
OS: Linux

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Fri Mar 26, 2021 7:31 pm

marksummerfield wrote in Fri Mar 26, 2021 7:19 pm:Hi RedGriffin ....OK all working now. Nightly Ubuntu builds were not a good idea - tooooo many problems. Appimage 2020.3.6 worked well (I was using the ppa method which seems to be stuck on 2020.3.1) - pleased to say I now have a varied selection of new characters with different voices guiding me into various airports - wonderful! Thanks for the hint about festival.xml - I expect to include running festival server into the normal flightgear launch process so all should be well.

Hello marksummerfield,
I am very glad to read you now have Festival support with Red Griffin ATC. To me, it makes a big difference and the more voices you have, the better, although the standard Festival server allows up to 10 simultaneous clients which is however way more than the two default FlightGear voices.
In case you are familiar with C and GCC, you can compile Festival and increase the number of clients (I increased this value to 20 :-) ) and this will also add extra realism when you fly from one station to another by configuring multiple voices.

Enjoy Red Griffin ATC and FlightGear!
Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby mysako » Fri Apr 30, 2021 7:45 am

Hello,

I am having an issue tuning the radios to the Red Griffin ATC when flying the 777-300.

Using either the 3d cockpit tuners or the radio stack, whenever i try to tune to an approach the radio will not let me tune to the exact frequency, it is always 0.005 out.

for example tuning to London ground worked fine. Then after take off and transitioning through other CTR airspace I was not able to tune the exact frequency - each tuning method "skips" by 0.005 so I get no response from ATC. ie. radio does not tune correct frequency.

I have also tried all of the available radios (VHF L, VHF C, and VHF R in the cockpit with the same result.

I have had no issues with other aircraft using Red Griffin ATC so am not sure what the issue is or what i am doing wrong.

Fairly new to FG so any help would be greatly appreciated.

Thanks
mysako
mysako
 
Posts: 9
Joined: Wed Apr 07, 2021 9:39 am

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Fri Apr 30, 2021 2:31 pm

mysako wrote in Fri Apr 30, 2021 7:45 am:Hello,

I am having an issue tuning the radios to the Red Griffin ATC when flying the 777-300.

Hello Mysako,
although I suspect it is a 777-300 issue (RedGriffin ATC simply reads the values set by the aircraft as they are) can you please tell me what FlightGear and 777-300 version are you using? I guess you are using Red Griffin ATC 2.2.0.
And, by the way, I also guess you are using the 777-300 taken from the official FG hangar, right?
Did you experience that also in other airports besides London?

Enjoy using Red Griffin ATC!
Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby mysako » Sat May 01, 2021 1:21 am

Hello Red Griffin,

Thankyou for your reply.

Yes Red Griffin ATC version is 2.2.0 and FG version is V2020.3.8 and the 777 version is V.alpha.04, 2014 downloaded recently from the official FG hanger.

By way of example for you:

London (EGLL):- Can tune Ground 121.90 however when trying to tune Tower (124.70) radio tunes to 124.465 (ie out by 0.005); tuning to "Information (128.07) radio tunes to 128.065

Le Harve (LFOH)
Radio tunes Tower 135.20 correctly and Approach (120.35) correctly. Tuning to ATIS (126.17) radio will tune 126.165 (out 0.005)

Dublin (EIDW)
Radio tunes the following correctly Ground (121.80); Tower (118.60); Approach 1 (119.55) Approach 3 (121.10)

However ATIS (124.52) radio will only tune to 124.515 and Approach 2 (119.92) radio tunes to 119.15.

I have moved to several airports with the same issue. some of the frequencies tune Ok, other will be out by 0.005 and therefore no communication.
This occurs no matter which way I tune radio.

Have not had this problem with other aircraft.

Thanks again Red Griffin, your AddOn is fantastic

Regards
mysako
 
Posts: 9
Joined: Wed Apr 07, 2021 9:39 am

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby WoodSTokk » Sat May 01, 2021 2:36 am

mysako wrote in Sat May 01, 2021 1:21 am:Hello Red Griffin,

Thankyou for your reply.

Yes Red Griffin ATC version is 2.2.0 and FG version is V2020.3.8 and the 777 version is V.alpha.04, 2014 downloaded recently from the official FG hanger.

By way of example for you:

London (EGLL):- Can tune Ground 121.90 however when trying to tune Tower (124.70) radio tunes to 124.465 (ie out by 0.005); tuning to "Information (128.07) radio tunes to 128.065

I think you mean 124.47 (thats in real 124.475 with 25kHz spacing). The channel 124.470 doesnt exist in reality.
Also 128.07 (is in real 128.075 with 25kHz spacing) is tunable. The channel 128.070 doesnt exist in reality.

mysako wrote in Sat May 01, 2021 1:21 am:Le Harve (LFOH)
Radio tunes Tower 135.20 correctly and Approach (120.35) correctly. Tuning to ATIS (126.17) radio will tune 126.165 (out 0.005)

The frequency 126.17 (is 126.175 with 25kHz spacing) is tunable.

mysako wrote in Sat May 01, 2021 1:21 am:Dublin (EIDW)
Radio tunes the following correctly Ground (121.80); Tower (118.60); Approach 1 (119.55) Approach 3 (121.10)

However ATIS (124.52) radio will only tune to 124.515 and Approach 2 (119.92) radio tunes to 119.15.

The frequency 124.52 (is 124.525 with 25kHz spacing) is tunable.
The frequency 119.92 (is 119.925 with 25kHz spacing) is tunable.

mysako wrote in Sat May 01, 2021 1:21 am:I have moved to several airports with the same issue. some of the frequencies tune Ok, other will be out by 0.005 and therefore no communication.
This occurs no matter which way I tune radio.

Have not had this problem with other aircraft.

Thanks again Red Griffin, your AddOn is fantastic

Regards

Most frequencies are in 25kHz spacing and therefor the radio and also the frequencies are only writen with 2 digits after the decimal point.
So the possible frequencies ar written as:
abc.x00 --> abc.x0
abc.x25 --> abc.x2
abc.x50 --> abc.x5
abc.x75 --> abc.x7

The frequencies in the newer 8.333kHz spacing are rounded and therefor are called 'channel'.
You can clearly see it, because this channels are written with 3 digits after the decimal point.
WoodSTokk
 
Posts: 1077
Joined: Tue Oct 17, 2017 3:30 pm
Location: Milky Way/Sol/Earth/Europe
Callsign: SX-W57
IRC name: WoodSTokk
Version: 2020.4.0
OS: Debian Bullseye

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby mysako » Sat May 01, 2021 4:41 am

Hi WooSTokk

Thank you for your detailed reply, really appreciated.

I have been able to tune the frequencies mentioned above successfully - thank you.

Performing radio checks I get a response on nearly all frequencies although there are a few that still do not respond; for example Heathrow Tower - I can tune and call them but no response (124.475).

Checking a few other airports same thing. I can tune all frequencies and make Outbound contact successfully however some of the frequencies do not return a response.

all the ATIS frequencies I've checked work fine.

So thanks again
Regards
mysako
 
Posts: 9
Joined: Wed Apr 07, 2021 9:39 am

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Sat May 01, 2021 4:38 pm

WoodSTokk wrote in Sat May 01, 2021 2:36 am:The frequencies in the newer 8.333kHz spacing are rounded and therefor are called 'channel'.
You can clearly see it, because this channels are written with 3 digits after the decimal point.

You are right. Red Griffin ATC 2.2.0 is not considering the 8.333KHz spacing and uses two decimal digits. That's why it does not "tune" channels properly or some 25KHz spacing frequencies.
It has been already fixed and it will be part of the forthcoming 2.2.3 version.

Thank you for your clarification.
Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

Re: Red Griffin ATC - Speaking ATC addon for Flightgear

Postby RedGriffin » Sat May 01, 2021 4:41 pm

mysako wrote in Sat May 01, 2021 4:41 am:Performing radio checks I get a response on nearly all frequencies although there are a few that still do not respond; for example Heathrow Tower - I can tune and call them but no response (124.475).

This has been fixed in version 2.2.3 which will hopefully be release very soon.

Thank you for reporting this bug.

Enjoy Red Griffin ATC! :-)
Red Griffin - IK0TOJ
Author and developer of Red Griffin ATC (Wiki) - Enjoy my Youtube Channel
User avatar
RedGriffin
 
Posts: 293
Joined: Tue Dec 25, 2018 8:04 pm
Location: Perugia, Italy
Callsign: IK0TOJ
Version: 2020.4 git
OS: Linux Fedora 35

PreviousNext

Return to Add-ons

Who is online

Users browsing this forum: No registered users and 0 guests