Board index FlightGear Development Nasal

Spoken ATC

Nasal is the scripting language of FlightGear.

Re: Spoken ATC

Postby RobAndrew » Wed Apr 24, 2019 8:58 pm

Hi there,

Would just like to know how you're getting on with this?

I'd also like to report a bug if possible. It seems that if the frequency of ground is the same as tower, when you get to the runway, it commands "contact tower at "." Then nothing else. Is it possible to right this at all?

Thanks
RobAndrew
 
Posts: 141
Joined: Thu Jul 12, 2018 5:59 pm
Callsign: G-RAND
Version: 2020.
OS: Windows 10

Re: Spoken ATC

Postby rleibner » Fri Apr 26, 2019 10:32 pm

Hi all,
I apologize for the delay, I have been "unplugged" for a while.
I've just committed version 2.2.4. Please update your local copy.

Main changes are:
    * Weather data: wind and pressure are now according "actual weather" instead of metar ones. (suggested by clm76).
    * ILS runways: flying heavy planes, you can request a ILS rwy by pressing "Ctrl-<" (instead of "<") when contacting APP or TWR. (suggested by dervau).
    * Approach Clearance: APP will give you a vector to reach final leg (10nm from touchdown) and an altitude for a standard glideslope (about 2.5 deg).

About the TTS voices, their parameters stays nailed once you start the session. Thus, you can modify the voices only via the preferences.xml file.
Try this (p.ex.):
Code: Select all
<?xml version="1.0"?>
  <!-- General simulation preferences -->
<PropertyList>
. . . . .
 <sim>
    <sound>
        <voices>
        <voice n="0">
          <desc>ATC/Approach/Ground</desc>
          <text type="string"/>
          <volume type="double">1.0</volume>
          <pitch type="double">20.0</pitch>
          <speed type="double">1.0</speed>
          <preamble type="string">(voice_us2_mbrola)</preamble>
          <festival type="bool">false</festival>
          <htsvoice type="string">cstr_uk_female-1.0.htsvoice</htsvoice>
        </voice>
    </sound>
  </sim>
. . . . .
</PropertyList>


Thanks all of you for your contributions.
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Re: Spoken ATC

Postby RedGriffin » Fri Nov 01, 2019 11:13 pm

Hello there!
I downloaded the latest release of SpokenATC and I like it very much. Great job indeed!
I however found two typos in the phraseology.xml file and they are both related to "after landing" strings (exitrwy and exrwygnd): Welcome and platform are spelled wrong: wellcome and plattform. I did not notice any replacement string and this is how I see them on FlightGear screen.
I also found a bug and I do not know whether I need to configure something in particular. When I land the voice welcomes me and then it repeats the taxi messages forever (Taxi to holding point...) and keeps on repeating this message over and over in an endless loop.

Besides than this, this is a truly great 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: Spoken ATC

Postby RedGriffin » Sat Nov 02, 2019 3:50 pm

In case someone is interested in this (including the author of this nice addon) I fixed the bugs I reported in my previous message.
I have also noticed that the "holding position" is not always properly detected. I will also investigate on this.
Meanwhile, I have added weather information to the welcome message of 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: Spoken ATC

Postby AzulProfundo » Sun May 24, 2020 12:31 am

Quite some time without posts here! Perhaps because is already a quite mature product...
This was the first add on I installed into FG (I am a newbie regarding this flight simulator), and it works quite well. I have version 2.3 running on FG 2019.1.1 on a Ubuntu 18.04 system.
I confirm that sometimes the "holding position" is not detected, but it might be because I just overshoot the runway end figures a bit.
And I have a request: could it be made possible to change between the comm 1 and 2 channels, using another key besides "<"?
This way, and using the standby frequencies, it would be quick to change from GND to TWR to APP, and reserve one for the ATIS.
__________________________________________________________________________
Slimbook ES (Ubuntu Notebook)
AzulProfundo
 
Posts: 97
Joined: Sat May 09, 2020 12:54 am
Location: Portugal
Version: 2020.3.8
OS: Ubuntu 20.04

Re: Spoken ATC

Postby rleibner » Tue Jun 02, 2020 7:40 pm

AzulProfundo wrote in Sun May 24, 2020 12:31 am:Quite some time without posts here! Perhaps because is already a quite mature product... .

Yes, I have been far from the FGFS world for a while :?

AzulProfundo wrote in Sun May 24, 2020 12:31 am:And I have a request: could it be made possible to change between the comm 1 and 2 channels, using another key besides "<"?
This way, and using the standby frequencies, it would be quick to change from GND to TWR to APP, and reserve one for the ATIS.

Excelent idea! I think that I have the solution.
If you want to test it, please replace your voice.nas file with this one:
https://www.dropbox.com/s/3db9b1upg85o78g/voice.nas?dl=1
By pressing Alt-< , you can toggle anytime between Comm1 <--> Comm2.

As always, all comments are welcome.
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Re: Spoken ATC

Postby rleibner » Tue Jun 02, 2020 7:48 pm

RedGriffin wrote in Sat Nov 02, 2019 3:50 pm:In case someone is interested in this (including the author of this nice addon) I fixed the bugs I reported in my previous message.
.....

Thanks, RedGriffin.
May you please share your amendments? So we can include them on the next version.
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Re: Spoken ATC

Postby rleibner » Tue Jun 02, 2020 8:21 pm

Regarding the "holding position", the criteria I've used is : On ground and closer than 0.054NM (100m) from the runway head.
Those arbitrary specs are coded in the addon-config.xml file, lines 77 to 86.
If you agree, we can modify it.
Waiting for your suggestions ... :wink:
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Re: Spoken ATC

Postby rleibner » Wed Jun 24, 2020 4:36 pm

Hi

Spoken ATC Version 3.0 is coming.

Knew issues were fixed and realism has been greatly improved by including the pilot's voice requesting ATC instructions and their acknowledges.

In addition to that, version 3.0 (under development now) includes 2 new features:
  • User can toggle anytime between Comm1 and Comm2 by pressing Alt <
  • Can request for a vector to the closest airport by pressing Ctrl Alt <
You can taste (& test) those facilities by replacing the files in your <SpokenATC> folder with the ones included here: 3.0 (beta) version.

I would appreciate feedback from volunteer testers.
Rodolfo
*************************
Non-shared knowledge is lost knowledge
User avatar
rleibner
 
Posts: 269
Joined: Fri May 19, 2017 8:17 pm
Location: Uruguay - SUMU
Callsign: CX-BEX
Version: next
OS: Ubuntu 18.04.4

Re: Spoken ATC

Postby clm76 » Wed Sep 16, 2020 6:31 pm

Hi,

Very good job ! :D

First point :
In voice.nas : 5) check current position :

Code: Select all
  var (fcrse, fdist) = courseAndDistance(geofinal);
  fcrse = getprop("/orientation/track-magnetic-deg") + geo.aircraft_position().course_to(geofinal);
  fcrse = geo.aircraft_position().course_to(geofinal);
  fcrse = geofinal.course_to(geo.aircraft_position());
  fcrse = geo.normdeg(fcrse-getprop("/orientation/track-magnetic-deg"));

I think it could be replaced by only :

Code: Select all
  var fcrse = geofinal.course_to(geo.aircraft_position());
  fcrse = geo.normdeg(fcrse-getprop("/orientation/track-magnetic-deg"));

I don't see the utility of the first three "fcrse".
What do you think ?

Second point :
Is it possible to have a male voice for the pilot or copilot, instead of a female voice ?
I think it's better to mark the difference between the control tower and the plane cockpit... and also because, in my plane, pilot and copilot are males. :lol:
clm76
 
Posts: 204
Joined: Tue Oct 30, 2012 9:18 pm
Location: France - LFOH
Callsign: F-GCLM
Version: 2020.4.0
OS: Linux Mint 20.2

Re: Spoken ATC

Postby Sandi » Sat Oct 24, 2020 12:30 pm

Hi, I have looked at Spoken a couple of times. I am that crazy girl who with her GF back in time took my beloved Storch across the atlantic. I have been out of flightgear for a good while but am back for new adventures.
I had a wonderful co-pilot on the ferry flight from EKch to Ksfo. but this time over being a little more advanced would not be a bad idea.
I tried spoken Atc the other day and can see as soon as I am away from Hawaii, the Spoken ATC dont work. Anyone knows why this is? And what can i do to make it work?



Best Sandie
Sandi
 
Posts: 6
Joined: Fri Aug 29, 2008 4:27 am

Previous

Return to Nasal

Who is online

Users browsing this forum: No registered users and 2 guests