Comments (10)
@zlsa what icon pack are you using for the controls? I have been looking into implementing ionicons, but I didn't want to change them over if you were already using an icon pack.
https://github.com/driftyco/ionicons
from atc.
The icons were all handmade in Inkscape. If you want any additional icon, I can make it.
from atc.
I had a play and added speech synthesis for readbacks using the W3C web speech API. There's no on/off switch and on my machine (Chromium 39 on Linux) the speech gets stuck after every readout so I have to call speech.cancel() manually each time but it does read things out. Also I needed to start Chromium with the --enable-speech-dispatcher parameter for it to work.
https://github.com/daviessm/atc/commit/116836f7fa70c09352b563808e1b9c3e0c2791ff
from atc.
@daviessm hahahaha! I just cloned your repo to test and I gotta say it's pretty cool! I'd be amazing if the voice could be a little more "natural".
Still pretty cool.
I don't think read-back should be on by default but if we could add a button to enable/toggle this and maybe work on the voice it'd be a great addition!
from atc.
@Diastro The speech is done through the browser which calls OS libraries to do the actual synthesis. How it sounds will depend entirely on that. I've just tried it on my Android phone (5.0.1) and it sounds pretty natural.
Agree about the on-by-default but I suck at UI design so I'll leave that up to someone else. It would be easy enough to add another variable speechOn or something to speech.js and toggle it.
I would also like to have it pick random voices for each plane. So some are male and some are female. And have the tower controller as yet another voice.
from atc.
@daviessm Gotcha. Yeah regarding UI @zlsa is probably the best person to help for that last part.
from atc.
Can we close this?
from atc.
@smp4488 Sorry to have kind of jumped past you on this - does it do what you were thinking of?
from atc.
@daviessm it's all good. Holidays have me all tied up. I haven't had a chance to look at your changes yet, but you can see what I have added here https://github.com/smp4488/atc. I created a voice / voices model wanting to offer the user a choice of the available system voices. I have most of it hashed out, but the ui still needs a little love.
from atc.
@smp4488 The additions I made weren't configurable at all - it just adds a call to the speech synthesis API. @zlsa added an on/off toggle to that. I think it'd be worthwhile to have a UI for changing other settings too.
from atc.
Related Issues (20)
- Aircraft do not always reach target altitudes HOT 1
- Refusal to takeoff HOT 24
- Questions HOT 12
- Game crashes after issuing "Hold" command HOT 2
- Airport ZSPD has two runways called 34R HOT 1
- Guiding aircraft via multiple waypoints HOT 2
- Reroute command countermands altitude command HOT 4
- Mega-precision in aircraft strips.. HOT 2
- Game Hangs after 5 mins for Changi Airport (WSSS) HOT 6
- assigned altitude read backs are erroneous. Assign an altitude of 4,000, a/c reads back 10,000. Descend to 1,500, a/c reads back 4,000. HOT 2
- South Africa HOT 2
- Please add the airport of Santo Domingo Dominican Republic las Americas Int. MDSD HOT 1
- help With aircraft delivery HOT 2
- Please add the Denver International Airport KDEN HOT 1
- Please add military aircraft / flights to the game
- Please add military aircraft / flights to the game
- Please add enroute aircraft / overflights to the game
- Please add Vfr aircraft / flights to the game
- Please add he
- Please add helicopter aircraft / flights to the game
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atc.