Jump to content
The simFlight Network Forums
qqwertz

Voice checklist

Recommended Posts

This is a little LUA script to have checklists displayed item by item in FSX and also having it spoken by a text-to-voice program. The script recognizes the plane and loads the corresponding checklist. Sound can be switched on or off. Currently PMDG Jetstream 41, Beechcraft 1900D and 737 900NGX as well as RealAir Beech Turbine Duke and Wilco CRJ 700 NG are recognized. You can download the script at

http://canadiandomestic.ca/goodies.php

Share this post


Link to post
Share on other sites

This is a little LUA script to have checklists displayed item by item in FSX and also having it spoken by a text-to-voice program.

Thanks for this. Ingenious. The things folks can do with Lua never cease to amaze me.

BTW the link on your page for SayStatic sems to be broken. I found it at

http://code.google.com/p/raptor-chess-interface/downloads/detail?name=SayStatic.exe&can=2&q=

Regards

Pete

Share this post


Link to post
Share on other sites

Hi Pete,

thanks for the link. Indeed the original link I included wasn't working anymore. I have changed it to your link, the binaries from both sources are identical.

Cheers,

Peter

Share this post


Link to post
Share on other sites

Well I have used this to great effect and all is working. I do not use this however with the sound/voice.

I just step through the lines.

So in my Lua file I have the following section


preflightItems = {"Pre-flight inspection: Complete",
"Passenger brief: Complete",
"Seats, belts and harnesses: Adjusted and On",
"Brakes: TEST AND SET",
"Avionics Master Switch: OFF",
"Electrical Equipment, Autopilot: OFF",
"Circuit breakers: In",
"Fuel tank control: ON"}
[/CODE]

each item end at the ", at the end of each line. In this case I have 8 items that must be stepped through 8 times. I have read that you can use a n\ and that will give a new line, but I dont know how to do this so that I can have 4 items displayed at a time.

What I want is the first step should display the following 4 lines

[CODE]
Pre-flight inspection: Complete
Passenger brief: Complete
Seats, belts and harnesses: Adjusted and On
Brakes: TEST AND SET
[/CODE]

and when I press h again to advance to the next step it should give me the next 4 lines

[CODE]
Avionics Master Switch: OFF
Electrical Equipment, Autopilot: OFF
Circuit breakers: In
Fuel tank control: ON
[/CODE]

I tried something like this, but it do not work

[CODE]
preflightItems = {"Pre-flight inspection: Complete
n\ Passenger brief: Complete
n\ Seats, belts and harnesses: Adjusted and On
n\ Brakes: TEST AND SET",
"Avionics Master Switch: OFF
n\ Electrical Equipment, Autopilot: OFF
n\ Circuit breakers: In
n\ Fuel tank control: ON"}
[/CODE]

Any ideas how to accomplish this to display 4 items below each other and each item in its own line.

Share this post


Link to post
Share on other sites

Any ideas how to accomplish this to display 4 items below each other and each item in its own line.

Did you intend "n\" to mean new line (which would be \n)? The escape character is \, not n. The letter 'n' is just the letter 'n', and "\ " would be just space I think.

Pete

Share this post


Link to post
Share on other sites

Thank you sir.

this work 100%.

" Load and baggage: SECURED \n Cabin Door: CLOSED and LOCKED \n Centre of Gravity: CHECKED \n Emergency Exit: SECURED and UNLOCKED",

the displayed window show


Load and baggage: SECURED
Cabin Door: CLOSED and LOCKED
Centre of Gravity: CHECKED
Emergency Exit: SECURED and UNLOCKED
[/CODE]

Share this post


Link to post
Share on other sites

I found this topic finding out a way To write down a simple plugin to display transparent window with my checklist items.

This is what I want to do:

1) display in a transparent window every single checklist (pre-flight, afterstart, taxi and so on...)

2) cycle trought every checklist pushing a key when completed

I only need to display the checklist, without using sound and without flag every single item, I need it for fs2crew voice control purpose.

So does someone have an idea which code I have to edit/modify to display it?

Share this post


Link to post
Share on other sites
Hi guys,could someone help me in this simple (not for me) steps?
I'd like to simplify the script, I need only to display the single checklist in a LUA display and scroll through the various checklist with a keypress or button.
 
Do you think that is possible?
 
This is an example:
 
PRE-FLIGHT checklist
1) item
2) item
3) item
....
 
when finish al the checklisy press a control key/button to switch to the next checklist
 

BEFORE START
1) item
2) item
3) item
.....

when finish again press the button for the next checklist.

 

I'd like to use this script with FS2Crew, so I don't need text-to-speech function, but only a windows that display the single single checklist (with all item expanded) and can go to the next one via key/button.

 

Thanks so much for your help in advance,

Ric

Share this post


Link to post
Share on other sites
2 hours ago, Arndt777 said:

I tried to locate the  SayStatic program on http://code.google.com/p/raptor-chess-interface/downloads/detail?name=SayStatic.exe&can=2&q=, but I didn't found it. Can you help me out?

Have you tried Google? It isn't my program and I don't use it. Sorry, I can't keep track of other folks programs. I would have to search for you, but i think you should do that yourself, don't you?

Pete

 

Share this post


Link to post
Share on other sites

It is no longer available for download.

The original source is on krolik.net, but no longer available either.

But archive.org to the rescue:

https://web.archive.org/web/20121104113038/http://krolik.net/wsvn/wsvn/public/?rev=0&sc=0

Then click on the "Tarball" link for "Say++", which includes SayStatic.exe, sources, etc.

If you do not have tar available, I think 7zip can extract .tar.gz files, too.

Share this post


Link to post
Share on other sites

I just stumbled on this wonderful program and I was wondering if it would be possible to let it use a voice response like check, set, ... instead of a keystroke to continue the checklist?

Unfortunately, I do not have any programming skills.

Cheers,

Luc

Share this post


Link to post
Share on other sites
On 12/21/2016 at 4:13 PM, SkyCamel said:

I just stumbled on this wonderful program and I was wondering if it would be possible to let it use a voice response like check, set, ... instead of a keystroke to continue the checklist?

Unfortunately, I do not have any programming skills.

Cheers,

Luc

great idea for so many non-fs2crewed planes.

Dirk.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×