ciribob / dcs-simpleradiostandalone Goto Github PK
View Code? Open in Web Editor NEWAn open source Stand alone Radio for DCS integrating with all clickable cockpits and FC3 Aircraft
License: GNU General Public License v3.0
An open source Stand alone Radio for DCS integrating with all clickable cockpits and FC3 Aircraft
License: GNU General Public License v3.0
Option for constant transmission, I'd use it for internet radio or real time ATC. Just for fun.
ps. sorry for flooding your issues
Return Focus to DCS after interacting with the radio buttons or sliders
After disconnecting from DCS you can still speak
Export currently connected player list every 10 seconds to a csv.
Toggled from server window
Show how much your boosting by in DBs
I am not entirely aware of the situation the User was in, but in the process of getting a friend set up to run SimpleRadio on BlueFlag, we came across the issue (after 2 days) that, in order for a Client to receive audio from the server, they MUST have a PTT bound.
Just like the TS3 version, allow incockpit buttons to be used as PTT instead of the external hotkeys
The autoupdater is not detecting newer version.
Will write my own rather than use the random library
Add Basic Radio Effects using high pass and low pass filter on the audio
NAudio Filter: https://github.com/naudio/NAudio/blob/master/NAudio/Dsp/BiQuadFilter.cs
Previous filtering on TS3 Plugin: https://github.com/ciribob/DCS-SimpleRadio/blob/master/Plugin/Plugin.cpp#L1009
Radio Switch can be PTT
Add Audio Boost slider as well
Hey,
I am really sorry to say that its not worki
clientlog.txt
ng again.
Add support for AWACS / GCI Radio
Add 10 radios. Each can be interdependently controlled via mouse, still keep single PTT
Radios can be toggled on and off, also need to support the encryption from A10c
Need Toggle for Guard as well
Add toggle for Guard for FC3 aircraft via Overlay
A part of code/script that will actually balance all output from all other clients evenly to one level (with a slider like output, but it will put all clients to one SAME specific dB level (the script should compare the output of the client and adjust automatically to a by script as "normal" defined level)
Separate Audio Transmission by Radio for ease of listening
Radio 1 - Left
Radio 2 - Right
Radio 3 - Center / Both
Have server side options for configuring if opposite sides can hear each other
Export from DCS, player side and sync to server
Possibly let clients see the list of currently connected people and the side they're on?
Options: Both sides can hear all or not
Spectators can talk / Can't Talk
Spectators can talk to side they were on previously
The Clear buttons don't do anything on the hotkeys config page... They probably should!
Ok, here's next one, not mine either. Newest version does not pull radio data. DSC is launched as admin (tried this one myself, no problem with my install). Registry removed and reinstall, no luck. Older version works just ok. Firewall switched off. Could this be ISP related, so maybe option to select multi/broadcast (might be too much for normal user)? See attached.
I can't confirm at the moment, but I believe the Audio Channels have been shifted. The setting for Radio 1 is based on Radio 2, setting for Radio 2 is based on Radio 3, and the Setting for Radio 3 is based on Radio 1.
I can only see the first two radios on the overlay. I tried numerous installs and uninstalls. I don't know where the configuration files are for the program but I need to delete them as they are most likely the culprit for this.
Try pulling the default name from the Profile Folder in Saved Games\DCS
Hi Ciribob, I'm using a three monitor configuration and I could not get the overlay shows on top of DCS World. I have to press Alt-Tab to show the overlay but when I return to DCS (by clicking on the screen or pressing Alt-Tab again), the overlay is hidden. This happens in DCS GUI as well.
In previous versions I would swear that worked...
Anyway, thanks for your excellent application.
Add hotkeys for +/- on Frequencies
POV hats cannot always be used as controls depending on the joystick
Add support for POV
Add support for intercom for L-39
Hotkey for showing and hiding the overlay
It will not let me map any of my hotkeys on my warthog or my keyboard
Would it be possible to add encryption to the F15 , since it has a similar device in the cockpit like the A10c( Showed in the attached pic)? This could be done by adding a little extra panel for the overlay. And thanks for the awesome mod !
http://forums.eagle.ru/showpost.php?p=2835809&postcount=59
Workaround is to drag the window to the side so it expands, then you can resize correctly
Possible fix: Set initial width and height better?
Give users a choice over which Radio is played in which channel instead of hard coding
Save Last Used IP
Save Last used Microphone and Speakers
Save Microphone Boost Settings
Secure Radio
Keyboard Hotkey Doesnt work when DCS is in the foreground.
Either add a modifier option or listen for multiple keys for bindings
Once connected, the Client should be able to see a message from the server as well as the currently configured settings
Message from the server should be read from a file and automatically resent every minute and resent so it can be updated
Some resources I found:
for .NET not sure is useful:
http://bitmiracle.com/libtiff/
http://build-failed.blogspot.de/2014/12/processing-geotiff-files-in-net-without.html
for C# (?)
https://github.com/stefangordon/GeoTiffSharp
1.)
GeoTiff and line of sight, how will GCI be affected, will airplanes automatically receive and increase any transmissions they receive? (To relay information to the next aircraft, for example GCI, who is based at let's say on one specific airfield, wants to talk to pilot A, who is behind a mountain, but there is pilot B who has line of sight to both GCI and pilot A...
Will "pilot B"s aircraft automatically increase all receiving transmissions (only on team X channels of course, not enemy team's radio channels) or will only specific aircraft types function as "relay stations" aswell?)
I'd suggest that team (both teams location fixed for whole round) red GCI is based in Anapa-Vityazevo airfield and team blue's GCI in Vaziani airfield ("safe" airfields until one team pushes the other team that far off Caucasus... :D ) .
And please also make the team's captured comms arrays and airfields functioning as relay stations! :D (I'd say excluding FARPs and cities)
So if NO aircraft relay system, then, only, basically the client (OR SRS server) has to check line of sight to all other team's aircraft, airfields & comm arrays, and only those with direct line of sight (server updating LOS ID's every 250ms and only during transmission to not cause too high server CPU load on the 51 pilots, 21 airfields and 6 comm arrays, 78 objects the server will have to calculate LOSs every 250 milliseconds!)
Then the question is, shall the receiving aircraft/client check for LOS or the transmitting aircraft/client? (if only the transmitting one it would not stress all other clients!)
Or, to balance CPU load amongst all pilots (unless the SRS server has VERY powerful CPU), maybe the transmitting aircraft only checks which aircraft, airfields and comm arrays in LOS, and from there the receiving clients take over (transmitting client will transmit the ID's of the LOS-aircraft, airfields and Comm arrays to the SRS server, which will then send the ID's to the clients, which then compare their own position to the ID's and thereby calculate LOS. :) )
And we can "fake" two radio-AWACS per team (just for radio ranges, nothing with radar) two so one can refuel while other is doing the radio-AWACS mission) the radio-AWACS' positions calculated on the SRS server, as several positions from a line, to make it very basic) and place two AWACS aircraft (without actual mission) per team in the BlueFlag mission file, just to fly the route for realism ;) (And being able to be shot by enemy team! Then SRS server could take the radio-AWACS (as relay) offline for 1 or 2 hours :D Will add immersion and variety!)
Basic calculation:
we could say the 2 radio-AWACS will be at 1 position every 1 km, position updating every 5 seconds/5000 ms (AWACS travelling @ 720 kph=200m/s) so 2 values every 5 seconds / 5000 ms that the SRS server would calculate and send to the connected clients (OR the clients "request" that information from the server themselves?)
Positions for teams (could be optimized for two/four/six CPU server cores for load balancing! 1 core/ 2 cores/3 cores/CPU-threads team red calculations and the other 1, 2 or 3 cores/CPU-threads server cores team blue calculations! :D ๐ โก )
red:
Team red's radio-AWACS flying a straight line (back and forth for between Anapa City and Temryuk (north of Anapa), 40 km flight distance, so those are 40 positions on team red.
blue:
Team blue's radio-AWACS flying a straight line between Marneuli and Giorgitsminda Sagarejo (50 km flight distance), 50 km flight distance, 50 positions on team blue.
So 90 possible positions (all pre-calculated), of which only 2 positions (1x red 1x blue) every 5 sec/5000 ms. ๐
So what we need to know is which server CPU, how many cores/threads and then we can decide how far we can stress the SRS server and how much work we can split up to the clients (not too much to clients as they already have low FPS in DCS... )
Can't really put a finger on this but I have two cases where USB mic distorts audio as soon as the connection is established with server. Preview is not causing it as much nor any. Both USB2 and 3 is tested out and power management settings fiddled with.
Problem is similar to this: https://obsproject.com/forum/threads/possible-fix-for-distorted-usb-mic-audio.27952/
For an unknow reason the key HKEY_CURRENT_USER\SOFTWARE\DCS-SimpleRadioStandalone was not created and the bindings do not map. I compared it to a successful installation on a different computer and permissions do match. All software is installed on default locations and export.lua is valid.
I copied the key from the working installation and I was able to use those bindings but not change em.
Switch client to proper MMVM with Caliburn like the server
Add dns resolution for Server IP
As of now you can test by connecting to dcs.tunk.org
A linux or mono-based version would be great.
I'll check what we need to do to achieve this...
Implement Radio sync to server again
Will slow down audio pipeline but should mean that bandwidth is not an issue for large servers
Server will not send audio unless it determines someone can hear
Create an admin panel allowing an admin to disconnect and ban users by IP
The Panel should show, player name and side
Since there is gazelle multicrew coming soon(TM) it would be awesome to enable a multi crew radio. Here is a way how could it be done. You could add a 4th invisible radio where every aircraft has its own frequency( Something like 1000.01, 1000.02 etc...). In my own expierince the intercom between the pilots and crew members is a constant hot mic, so transmitting on the 4th radio could be done with a not logic gate or something like that: If transmitting then transmit else transmit on the 4th radio
.The intercom (this may vary on the aircaft and radios) also is unfiltered wich means you can hear the engine/rotor noises in the background. You could also add a option to disable the intercom for people who want to use thier personal teamspeak or any other von program. Also in realife, when the pilot holds down the radio switch, the copilot also transmits on the frequiency so he has to shut up. This might be tricky to implement and isnt that needed but it would be neat. Hope this was a bit helpful.
Radio Modifiers do not take priority if they are pressed and a radio without a modifier uses the same base keybind
For example, with the following keybinds set up, it is impossible to switch to radio 2 or radio 3 because the keybind for radio 1 overrides the modifiers for 2 and 3
R1 - W
R1Mod -
R2 - W
R2Mod - LAlt
R3 - W
R3Mod - LCtrl
If R1Mod has a binding, then the modifiers will work as intended.
My own personal setup has the TM Warthog Mic switch as the base keybind for each radio, and the two states for the TM Warthog Pinkie Switch as the modifiers for radio 2 and 3.
Add Microphone boost and preview of microphone
Save Settings to Registry
Installer Fails if User Directory is on another Disk
Have option to locate user directory manually if we can't find it in the obvious place
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.