744 Forum

Apron => Accessories => Topic started by: Hammerstan on Sun, 29 Sep 2019 14:48

Title: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Hammerstan on Sun, 29 Sep 2019 14:48
For the benefit of others the below is a setup guide for Audio for Vatsim (AFV) for PSX+XP11 using xView.

This setup uses xSquawkBox and the AFV Standalone Client.

A known issue with xView is that ATC cannot read groundspeed when connecting to Vatsim (via XSquawkBox) or PilotEdge.

Steps:

1.  Refer to the AFV website (https://audio.vatsim.net (https://audio.vatsim.net))

2. Download and install the AFV Standalone Client available on the AFV website on the XSquawkBox client download page

3. Activate the AFV Standalone Client's PSX mode by changing the following lines in the \AudioForVATSIM\ClientConfig.xml file (replacing <SimulatorIpAddress> with the IP address of the PSX Server and <SimulatorPort> with the PSX server port):

<Simulator>psx</Simulator>
  <SimulatorIpAddress>192.168.0.1</SimulatorIpAddress>
  <SimulatorPort>10747</SimulatorPort>
  <DisableAudioEffects>false</DisableAudioEffects>
  <psxACP>0</psxACP>
  <psxComRadio>1</psxComRadio>

4. Set up the AFV Standalone Client for first time Vatsim use (enter vatsim credentials, set up audio, etc)

5. In XP11 connect to the Vatsim network using xSquawkBox as usual

6. Run and "Connect" the AFV Standalone Client

7. Use PSX's PTT key for transmissions (the PTT key is no longer XSquawkbox dependent)


To install the above I had to use a clean install of XP11, reinstalling xView & PSX Plane.

Note the xPilot client also worked however in the version I tested, ATC could not read PSX's altitude.

Many thanks to Gary Oliver who is both a major driver of AFV and also assisted me with the above setup.

My sim setup: https://www.twitch.tv/hammerstan/videos (http://twitch.tv/hammerstan)
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Tue, 1 Oct 2019 23:15
Great info Hammerstan!

Additional info for Prepar3d crowd...

Do the same but with vPilot and ExternalSim. :)

Important additional information - because this now uses the PTT in PSX to trigger the voice client, to transmit you must have the correct radio selected for transmission on the ACP in PSX (e.g. MIC on VHFL).  To hear transmissions you must either have the MIC selected on the relevant radio ( per above, VHFL), OR if you are not transmitting and only listening, at least the radio selected for listening (for example if you switch MIC to another radio).

Here's hoping we see multiple frequencies and HF integration in the near future :)
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Jeroen Hoppenbrouwers on Tue, 1 Oct 2019 23:17
Man I need to make that SATCOM extension.
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Gary Oliver on Wed, 2 Oct 2019 00:45
All,

Sorry we should probably have got round to posting something here about Audio For VATSIM, after all it started as a Cabin Intercom system for PSX.  One thing led to another so before we knew it Mark and I spent a year writing a whole new Audio system for VATSIM.

Before world flight we hope to have the ability to have all 3 VHF and 2 HF radios via different (or the same) soundcards...

For now HF is achieved using a VHF Alias which internally tunes HF and brings with it all the fun audio simulation, but will be tuned via the PSX HF Radio.

Its exciting to be writing the first PS1/PSX VATSIM clients for a VERY long time.  How many years Hoppie?  Not an NDA in sight :-)

PS: V1.6.23 just released to fix a few PSX bugs.

Oh and if you have not seen anything about AFV yet check out this video.

https://youtu.be/J3mzyKC24cg

and visit http://audio.vatsim.net


Cheers
G
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Wed, 2 Oct 2019 01:10

I had a SATCOM / Skype extension in beta in Adapt, but MS deprecated proper Skype integration API's and there really wasn't a good substitute.  On my list is to one day integrate with SIP for real telephony...

But Rod has me doing a lot of other things before I get to play with cool stuff again :)

(https://simulatorsolutions.com.au/wp-content/uploads/2019/10/sat1.png)

(https://simulatorsolutions.com.au/wp-content/uploads/2019/10/sat2.png)

Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Wed, 2 Oct 2019 01:13
Quote from: Gary Oliver on Wed,  2 Oct 2019 00:45

<his awesome news here>


Great stuff Gary! (and Mark!).
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: farrokh747 on Wed, 2 Oct 2019 06:50
Great job guys!

fc
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Markus Vitzethum on Fri, 4 Oct 2019 08:14
Hi Gary,

> Sorry we should probably have got round to posting something here about Audio For VATSIM

all of this sounds totally amazing. This will be good ... looking forward to how this sounds under World Flight conditions.  :)

> Its exciting to be writing the first PS1/PSX VATSIM clients for a VERY long time. ...

Now that is something ... impressive. Quick question ... will there be any model matching (like vPilot does) when you are injecting Vatsim traffic into P3D (or XP11)? Not sure how that will work with a native PSX client... (but I'm sure you're taking good care of it)

Just another question, since I hate typing the flight plan into vPilot ... can you extract the FMC route out of PSX with a single button pressed in the flight plan window of the client?  :) Departure, Destination, Route, Flight Level, ...

Markus
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: G-CIVA on Fri, 4 Oct 2019 08:26
Quote from: Markus Vitzethum on Fri,  4 Oct 2019 08:14I hate typing the flight plan into vPilot ... can you extract the FMC route out of PSX with a single button pressed in the flight plan window of the client?

A couple of ideas for you ....

I guess if you are using Simbrief it created some kind of document?

Copy the ATS Flight Plan from the document & paste it into  notepad file .... from here you can remove all the line breaks & then paste the relevant info into the vPilot flight plan file window as necessary.

If you flight plan with PFPX it will create the correct file for you at completion of the dispatch/release process if you tell it too which you can access/upload directly into vPilot.

Minimal typing needed. Notepad is your friend.
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Markus Vitzethum on Fri, 4 Oct 2019 09:23
Hi Steve,

PFPX and Simbrief ... I know about Ctrl C/Ctrl V and use it a lot.  :) But with so many programs (*) in the sim wanting flight plans (the same!), I'm trying to get lazy.  :D

My own xACARS software for PSX has a button "connect to PSX" to make the TCP/IP connection and when the connection is established, it reads the flt no., departure and destination ICAO and planned level directly from PSX (FMC route: to do)


(*) Programs with f/p
Vatsim client
Weather Program (Active Sky)
Navigraph
xAcars client
PFPX / Simbrief
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Gary Oliver on Fri, 4 Oct 2019 09:48
Markus,

Unfortunately the first PSX client is a smaller step than we originally planned and only handles the audio subsystem, for the rest you still use vpilot, xPilot (the new x-plane client that came out of AFV work) or XSB, swift etc.

Just in regard to your software stack.

Using simfest dispatch should simplify things alot for you if you wanted to go that route (happy to make changes for this to be viable for you if needed).

My preflight is as follows :-

-Plan in Dispatch.simfest.co.uk
-Click the VATSIM prefile link on there (which sorts out VATSIM for us without copying into vPilot)
-Enter cockpit and enter flight number into ACARS and hit INIT DATA REQ
-Use the ipads with the PSX EFB on them to access FlightPlan, Loadsheet, charts already synced from the flight plan
-Route uplink will then be available, with all the weights and balance set in PSX as per the dispatch briefs.
-Weather comes from PSX.NET which doesn't need a flightplan*
-My airline BAVirtual has an endpoint which allows their acars to work with BACARS natively without a second client.

*however when Hardy releases his integrated Winds update I am ready to insert this when he provides us with a Q var to do so, having seen the format he was suggesting in previous forum posts this should be available very quickly following launch.   We can then remove this last bodge from the sim :-)

Cheers
Gary
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Fri, 4 Oct 2019 10:08
Hi Gary. Are you planning to release the PSX EFB to the community? Thanks, Martin
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Markus Vitzethum on Fri, 4 Oct 2019 14:08
Hi Gary,

> Unfortunately the first PSX client is a smaller step than we originally planned and only
> handles the audio subsystem, for the rest you still use vpilot, xPilot (the new x-plane
> client that came out of AFV work) or XSB, swift etc.

checked ... sounds like a good approach to do things. Just tried to submit want I thought to be a good idea (disregard  ;) ), no worries...

>Plan in Dispatch.simfest.co.uk

Will do... just doing my next flight with it.
If you can just possibly add STV - Stevens - as selectable airline?  ;) I understand there will be a PSX setup in Berlin for World Flight, the Stevens guys will surely appreciate it. Cheers.

Markus

Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Wed, 23 Oct 2019 22:31
@Gary;

We were setting up Matt with the integrated AFV last night, and discovered he has the same transponder issue as myself - the transponder mode (STBY / TA / RA etc) don't seem to make it to vPilot. 

I'm  assuming the transponder code doesn't make it to vPilot either based on what a controller was telling me.

Matt has the config spread across 2 PC's;

vPilot Host / Prepar3d -> vPilot Client / AFV

and is using ExternalSim....

I posted an observation on my setup re ExternalSim and the transponder;

http://aerowinx.com/board/index.php?topic=3629.msg58707#msg58707




Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: RogerH on Wed, 23 Oct 2019 23:26
Hi Gary, another keen soul waiting to see if you're going to release PSX EFB to the community - hoping if you do it'll run on an iPad 2 :-)
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Mon, 28 Oct 2019 23:26
Just an update - Gary advised that the Transponder information comes from Prepar3d to vPilot- only the comm radio states come from PSX and go to vPilot directly.

We are tracing this in Matt's (old) sim to see what is going on with the spaghetti of apps running :)
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: ScudRunner on Tue, 29 Oct 2019 00:04
John, FWIW I am running vPilot, P3D and PSX on the one box - xponder and comms freqs all being passed through successfully from PSX -> ExternalSim -> P3D -> vPilot and out into VATSIM on that configuration.

Sean
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Tue, 29 Oct 2019 23:45
Hi Guys
Thank you for the new program. Audio for Voice.
Set up:-   PSX/P3D/External Sim Router/VPilot.

Have set up AFV but when I try to connect, I get the message "Couldn't find active Vatsim connection,please connect to Vatsim first".

I have host and remote VPilot connecting and working perfectly with sound.

After 4 hours of struggling any advice would be appreciated

Cheers
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Wed, 30 Oct 2019 01:58
@SR - Thanks we are using the AFV client so we can get the PTT out of PSX directly because...  reasons... :)

ie NOT using PTT in vPilot but via AFV... :)


@JD - If don't need to use the AFV client then just use vPilot... no change from what you used to do and no real advantage.

If you still need to use it, Make sure vPilot is connected to VATSIM.  Wait a few seconds, then connect AFV to the network.  vPilot MUST be connected first.

Note that if you have voice set up on vPilot, it will get kicked out when AFV connects to voice.  AFV may also disconnect voice again a few seconds later and require you to reconnect AFV. TO avoid this you need to disabe voice in vPilot

See how that goes...
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Hammerstan on Wed, 30 Oct 2019 12:18
As a post-script, in a PSX+XP11+XView setup with AFV standalone client (in PSX mode)+XsquawkBox, some client's still read ground speed as nil (incl Vatscope), but some clients are confirmed as reporting ground speed.

Reason for this remains unknown at this time.  I initially thought that may be because ground speed is being taken from XP11 which is nulled by XView (The reason for this is that xView merely slews the XP11 aircraft visuals by injecting x, y & z co-ordinates, therefore the XP11 linear velocity data refs local_vx, local_vy & local_vz are zero as are the dependent velocity datarefs).
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Wed, 30 Oct 2019 20:45
Thank you John for your reply.

I have a yoke from a B757 with all the necessary accoutrements and thus i would like to use the PTT switch which at present is used only for push back.

AS I have 8 fingers on each hand I am very prone to not type in the exact changes to the clientconfig.xml so I decided to cut and past, only changing the IP address.

Unfortunately no success so will plug along and try to sort out my problem. Mark will assess to the fact my network is a conundrum in itself!

Cheers

Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Mon, 4 Nov 2019 07:01
John

"Mark will attest to"     DUH          Still struggling to get the program to work.

Although I did not fly "Round the World" I  listened to the interplay between the flyers and ATC and it proved how great Audio for Vatsim worked.  Take a bow gentlemen for a classic program.

Cheers
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Fri, 8 Nov 2019 21:29
Good Morning John,
I now have Audio for Vatsim  connecting. Eureka .  As I said in my previous note I went through the recommended  alteration to the file letter by letter and then I found my eighth finger on one hand had caused chaos! Am I allowed to be slightly stupid at the age of 83!!!!
However one more question. I have established  keyboard "H" as the PTT assignment. I chose this because it matched the PTT key in PSX. Do I expect the PTT switch on my yoke to connect to Vatsim?

Cheers
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Hammerstan on Fri, 8 Nov 2019 22:17
Quote from: J D ADAM on Fri,  8 Nov 2019 21:29
I have established  keyboard "H" as the PTT assignment. I chose this because it matched the PTT key in PSX. Do I expect the PTT switch on my yoke to connect to Vatsim?

If you have the AFV standalone client working in PSX mode by changing the ClientConfig.xml, the only PTT key you need to set up is the PSX PTT key, which will route voice via AFV standalone client to the vatsim client (vPilot,  XSquawkbox, etc).  You must use the PSX PTT talk key for all voice transmissions, therefore your yoke PTT key must be bound to the PSX PTT key.
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Sat, 9 Nov 2019 00:53
Thank you for your prompt reply.

I have always used my PTT switch on the yoke for push back

Can I therefore assume that if AudioforVatsim is connecting (showing the frequency's  as set in PSX)  and recording the established  the frequency is set /on the left VHF / the mike is selected and incoming sound is set,  that it should automatically work on vatsim

Cheers
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: John Golin on Sat, 9 Nov 2019 03:44
If you have mapped your hardware to the PSX internal PTT - yes.

Before you test your yoke, in PSX use the R/T switch on the ACP you set the AFV config file.

If it's all set correctly and everything is connected to VATSIM, the TX should light up in AFV when you hold the switch to R/T in PSX.



Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Sat, 9 Nov 2019 22:27
Thank you John and Hammerstan,

I now have it working. The problem lay in the fact my ClientConfig.xml file was not absolutely perfect!!!!!!!!
It has taken a long time to get the result and now my additional concern will be to remember transferring from my push back man and ATC!

Thank you gentlemen and good wishes to you both.
Derek
NZAA
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Sun, 10 Nov 2019 03:28
First flight today and everything went perfectly (which I accept is normal in PSX) Had ATC at both YSSY and NZAA,
but as I have a hearing deficit (age related) I feel like the proverbial "one armed paperhanger.   Oh the joy it must be to have a first officer.   AudioforVatsim a great program.

Cheers
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Mon, 20 Jan 2020 15:11
Hello. I have been using PSX/P3D/Vpilot successfully with the new voice client, but it only allows me to use VHFL.

Am I right in thinking that if I use the Audio for Vatsim programme along with Vpilot, I can use both VHF L & R? If so, what do I need to do with the .cfg settings to make that work? I've followed the instruction for the .cfg file earlier in this thread but AFV still only works on the L radio.

Many thanks, M
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Mon, 20 Jan 2020 17:40
I had a fiddle and seem to have answered my own question: by changing <psxComRadio>1</psxComRadio> to  <psxComRadio>0</psxComRadio> either VHF radio can now be selected for transmission using the PSX MIC buttons, and both will receive. Hope to test it online later. M
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: petdocvmd on Mon, 27 Jan 2020 03:04
I have AFV set up and working with PSX 10.93, XSquawkbox, XP-11, and XView.  However PSX freezes up on me every 10 minutes or so. I have to terminate Java in task manager, restart PSX, and load one of the A/B situations.  It is happening consistently.  No other add-ons are running.  This is a single Win 10 PC.

Anyone else experiencing this issue?  It's a shame, because while working it is perfect!  My frame rate in XP11 is never lower than 35, and typically 50-60 at altitude, while PSX is 72.  There's no indication that anything is about to happen prior to the freeze.  It is not location based, as my restarts are usually a few minutes prior to where I was when it happened, and I pass through that location without issue.

Scott
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: cagarini on Mon, 27 Jan 2020 07:47
petdocvmd,

don't know how to help with your problem, but yestreday, in anticipation for the upcoming NG FMC, I installed XP11 again, fetched an old version of XView, filled in the ".cfg" file that goes into the main XP11 folder, and started the two sims as I always had done in the past.

Strangely the xview,cfg kept been updated by some process, and got the original IPs that came with teh version kindly made available by one here at the forum. I always had to restart XP11 and PSX, make sure:

.) In PSX Main server started;
.) In PSX Boost server started;
.) That unknown to me process didn't magically change again the IPs from my set 127.0.0.1 to some private 10.... network used by the original CFG

I had placed the XView, as I always do, inside of the XView aircraft instead of in the main XP plugins folder, in order not to interfere with other aircraft when I run XP 11 with the Toliss A319.

Running all in a single PC, the same old i56 2500 16 GB DDR3, but where it used to be smnooth as silk, it's now a festival of stutters, while PSX and XP11 each run very smooth and at good frames when single.

Might be something with the latest XP11 updates, don't know :-/

[EDIT - found the cuprit... been there done that...] Have to make sure that if in the plugin I enable Weather transfer from PSX into XP then in XP11 I have to set "Manual Weather" instead of "Real World Weather" otherwise both are trying to set the weather at the same time continually, and that causes the stutters... But still, I'll need to finally add a 2nd PC to run XP11 apart from PSX...
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Hammerstan on Thu, 30 Jan 2020 10:06
QuoteI have AFV set up and working with PSX 10.93, XSquawkbox, XP-11, and XView.  However PSX freezes up on me every 10 minutes or so. I have to terminate Java in task manager, restart PSX, and load one of the A/B situations.

This may not be AFV related.  I often encounter PSX freezes with Xview.  Suggest you don't reload the A/B autosave situations (as it may have an issue causing the subsequent freezes), but rather a clean fresh situation you know hasn't had prior issues (eg a PSX stock situation).  My procedure is to restart the server first then all clients.  My startup protocol to minimise a freeze event is to start the server, position the aircraft, start XP11/XView, then when confirmed stable, start all PSX clients.
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Captain_Crow on Thu, 30 Jan 2020 14:15
Hi guys,
Just to inform you:

I tried out to use Swift for Vatsim and after a while of not understanding the setup, I´ve now got it to work.
Two problems remaining:
1. No GND Speed transmitted by X-Plane slave
2.The Transponder mode C isn´t transmitted, but after several on and off switching the knob, ATC stated Yes you are identified.
Everything else runs well...
Best
Steff
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: petdocvmd on Thu, 30 Jan 2020 15:53
Quote from: Hammerstan on Thu, 30 Jan 2020 10:06
QuoteI have AFV set up and working with PSX 10.93, XSquawkbox, XP-11, and XView.  However PSX freezes up on me every 10 minutes or so. I have to terminate Java in task manager, restart PSX, and load one of the A/B situations.

This may not be AFV related.  I often encounter PSX freezes with Xview.  Suggest you don't reload the A/B autosave situations (as it may have an issue causing the subsequent freezes), but rather a clean fresh situation you know hasn't had prior issues (eg a PSX stock situation).  My procedure is to restart the server first then all clients.  My startup protocol to minimise a freeze event is to start the server, position the aircraft, start XP11/XView, then when confirmed stable, start all PSX clients.

What made me feel this was XSB/AFV - related was that I had done just what you described: I have a saved situation for a flight from KORD-KBOS that starts as a short turnaround.  I've flown it a couple of times using XP11/XView without XSB/AFV with no issues.  I've tried twice with XSB/AFV, and both times PSX froze after about 10 min (and freq thereafter with attempted A/B situation reloads as I tried to salvage the flight).

I'm going to try runs with XPilot and Swift this weekend.

Scott
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: petdocvmd on Mon, 3 Feb 2020 15:01
Quote from: petdocvmd on Thu, 30 Jan 2020 15:53
I'm going to try runs with XPilot and Swift this weekend.
Scott

After a number of test flight configurations, here are my observations:

- PSX will crash (freezes) occasionally with baseline XP11 + XView.
- Crash rate *greatly* increases if I run any VATSIM client.

Wish I was adept enough at programming to update XView and keep it going.  As it stands, any VATSIM flying will have to be with P3D, where I do not get crashes, but at the cost of significantly lower frame rates  :-\

Scott
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Gary Oliver on Mon, 3 Feb 2020 16:13
Gents,

Have you tried running AFV standalone behind the simstack router from John and Rob?

Thats my setup in the sim and I do not get PSX freezes.  Maybe there is an AFV side bug that the routers saving us from?

Cheers
G

PS: Promising progress on a standalone PSX VATSIM client... however will say more once I get a third party to agree to something :-)
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: petdocvmd on Mon, 3 Feb 2020 18:40
Quote from: Gary Oliver on Mon,  3 Feb 2020 16:13
Have you tried running AFV standalone behind the simstack router from John and Rob?

No, didn't know this was an option!  Will give it a try.

Quote
PS: Promising progress on a standalone PSX VATSIM client... however will say more once I get a third party to agree to something :-)

Sounds promising!

Scott
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Toga on Thu, 6 Feb 2020 17:45
Is the GS fix compatible with xPilot?
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Fri, 10 Apr 2020 02:24
Gentlemen,

I had AFV working fine requiring only one reconnect after red  warning of a disconnect. I am afraid everything fell apart with the updates!

With the updates I initially connect   (i.e. "Connected  to voice server.(in yellow)) followed nearly immediately by  (Disconnected from voice server. Reason:Lost server connection (in red))"


Then immediately ("Voice will attempt to automatically reconnect(in red")) which it does.

The sequence continues infinitem.


Your help would be appreciated.

Cheers
Derek

Also  The settings for the frequency of PSX are displayed  on both VPilot and AFV. But the switch on my yoke is not responding to the setting "H"   I have tried different servers.
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Fri, 10 Apr 2020 08:00
Derek,

I had exactly this issue and posted over on the Vatsim forum about it, and meant to put something here, too.

Gary kindly got VPilot adjusted so that it can be told to start without voice and therefore AFV doesn't keep struggling with it for control. The latest VPilot can be started without voice by adding the parameter -novoice and that fixes the issue. I added this into the batch file that starts all my PSX-related software for convenience. ("start vPilot.exe -novoice")

The thread about it on Vatsim is here: https://forums.vatsim.net/viewtopic.php?f=158&t=82576

Best,

Martin
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Sat, 11 Apr 2020 03:40
Thank you Martin for your reply,

Would you give me an example of your batch file (which I am trying to write) of how you write the file to start VPIlot .
I think from your example I could then continue on to include the other three programs I need to get going on the eye candy computer and then perhaps the nine programs I need to start PSX with all it's add ons.

Takes a while for things to get in and stay there these days and I have used Google to help me but with only partial success.

Cheers,
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Sat, 11 Apr 2020 08:22
Here's an example with some explanation included. (Lines beginning with a double colon.) Just save it in a text editor, e.g. Windows NotePad, and give the file a .bat suffix.

You'll need to check where your programmes are installed and update the directories as necessary, in particular to replace <current user> with your actual one. Then just double-click on the file. I hope it works/helps, M

@ECHO OFF

::Change to VPilot directory - update path to reflect your own set-up
cd C:\Users\<current user>\AppData\Local\vPilot

::Start VPilot without voice
start vPilot.exe -novoice

::Change to AfV directory - update path to reflect your own set-up
cd C:\AudioForVATSIM

::Start AfV
start AudioForVATSIM.exe

::end
EXIT
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Sun, 12 Apr 2020 04:57
Hello Martin,
  Thank you for sending me your sample of the .bat file. I now remember using them in the old DOS days. My major problem is that I have six fingers on each hand and as a result I end up with slight anomalies in my program which take me a while to find!!!!!!!.  I find that  AFV now connects but I sometimes briefly hear ATC but they cannot hear me. My switch on my PSX yoke will not connect as  the switch on the PSX panel doesn't. Having got the basics of .bat I am going to investigate the connection of my three computer network , so one bat file will load everything.  That for me will be a struggle!
I trust that you and all my forum friends are bearing up with the lock down.
So thank you once again for your help

Cheers
Derek

P.s  My wife and I experienced a lock down in the 1950's with a polio epidemic. We were off school for 3 months.
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Mon, 13 Apr 2020 23:08
Hi Martin
Everything now working fine thank you       except there is no connection between PSX and P3D4, in that the button both on my yoke and on the PSX panel is not responding.

"H" keyboard command on P3d4 works fine!

Cheers
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Tue, 14 Apr 2020 22:25
Hi Derek,

Hopefully you will see that VPilot now has its audio options blanked out, so you need to go instead to the options in AFV (only accessible when disconnected from Vatsim) and choose the key or button you want to use to talk to ATC. Just push it and save the result.

Does that help?

V best,

Martin
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Thu, 16 Apr 2020 05:43
Hi Martin   Thank you for your help. It has taken me 8 hours {duh}  to remember you have to use the enter key after each line! And believe it or not the batch file responds!  Two things are not working. The "H" key for PTT  works only on the keyboard and not the switch on the yoke , and secondly ATC can hear me 5/5 but I cannot hear them.  My earphones are active directly from the computer i.e. music.  So a lot more investigation is going to be needed.

Anyway thank you for getting me to this stage.
Regards
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Hardy Heinlin on Thu, 16 Apr 2020 08:35
Hi Derek,

there are two PTT switches on Instructor > Preferences > USB. The one is linked with the captain's panel, the other with the F/O's panel. I don't know whether your add-on is linked with the one or the other, or even both. But you may want to check that your USB PTT switches are correctly assigned on the USB page. The H key does the same job; if that works, the USB switch will work as well. It just needs to be assigned.


Regards,

|-|ardy
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Thu, 16 Apr 2020 21:02
Hi Hardy  Salutations,

Yes my PTT switch is correctly assigned in Preferences\USB on the instructors page.
In the earlier renditions of Vpilot and  Voice for Vatsim the switch worked perfectly as did incoming voice. With an  upgrade something! was changed and although some of the quirks were dealt with, I think others were introduced.
I certainly am not critical as am very grateful for the add ons to the superb PSX.
Perhaps Gary could jump in here.

Kind regards
Derek
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Martin Baker on Thu, 16 Apr 2020 21:48
Hi Derek,

If ATC can hear you, presumably the PTT switch is correctly assigned. (This is done in the AFV programme.)

If you can't hear them, this may be down to the controls on the 747's audio panel. It's probably a good idea to make sure the green lights are showing on both the L&R VHF selectors, with the sound turned up, and also the speaker. (Next row down, to the right.)

And of course, make sure the AFV volume settings are correct and you've selected whichever speakers or headphones you want the ATC audio to play through.

M
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Jeroen Hoppenbrouwers on Thu, 16 Apr 2020 22:09
Rest assured, same issues in the real 744... that ACP is a complicated piece of kit!
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: Hardy Heinlin on Thu, 16 Apr 2020 22:28
If the H key works in your add-on: How does the add-on get the H keypress signal? Directly from the keyboard or via PSX network with a Q variable? If it's the former, please disregard my previous comment. I thought it might get it from a Q variable; in PSX, both the H key and the USB PTT use the same Q system (captain left, F/O right).
Title: Re: How to: Audio for Vatsim (AFV) with PSX+XP11 (with xView)
Post by: J D ADAM on Fri, 17 Apr 2020 01:13
DUH.  Receiving clearly now. It helps if select the correct input in settings in AFV!!!!!!!

Now to get the yoke switch  to respond.

Thank you Gentlemen

Derek