

Ciribob
ED Beta Testers-
Posts
2069 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by Ciribob
-
https://vb-audio.com/Cable/ I'd google around using them with OBS https://obsproject.com/
-
Introducing DCS Simple Text To Speech (DCS-STTS)
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
DCS-SR-ExternalAudio.rar Version of DCS-SR-ExternalAudio with .ogg file support along with MP3 This will be in the next SRS update, but if you need .ogg support now, use this Just replace the current one where ever you installed SRS Ogg files must end .ogg in order to be picked up -
Install a virtual audio cable and use the SRS mic passthrough feature The mic passthrough is for exactly that, though I'd use OBS rather than shadow play as it's more configurable Sent from my HD1903 using Tapatalk
-
Introducing DCS Simple Text To Speech (DCS-STTS)
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
Could be done without too much difficulty I think. It would need an SRS update though as the external audio feature is part of SRS itself and tied to those releases If you PM me or add me to your TTI Dev channel I can give you a special build ahead of time though If you're using it heavily there are some hidden features you can enable too like voice and locale Sent from my HD1903 using Tapatalk -
Introducing DCS Simple Text To Speech (DCS-STTS)
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
@kreisch its based on the microsoft APIs built into windows This blog gives a good overview: https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/june/speech-text-to-speech-synthesis-in-net If you install more language packs I could make them available with a future update Currently its hard-coded to female - english -
Introducing DCS Simple Text To Speech (DCS-STTS)
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
Sure it could be Maybe one day! -
Introducing DCS Simple Text To Speech (DCS-STTS)
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
not sure I quite follow - it does handle strings? local someString = "All Enemies Destroyed! Well done! " STTS.TextToSpeech(someString,"251","AM","1.0","SRS",2) would work -
Introducing DCS Simple Text To Speech (DCS-STTS)
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
Example mission attached from the video - make the changes below to see it work YOU WILL NEED TO FOLLOW THE INSTRUCTIONS ON GITHUB STILL AND MAKE THE CHANGES BELOW Edit the LUA from https://github.com/ciribob/DCS-SimpleTextToSpeech/blob/master/DCS-SimpleTextToSpeech.lua and set the path correctly, then replace the current one in the mission Download the MP3 and set the path correctly to it in the DO SCRIPT (MP3 here) https://www.silvermansound.com/free-music/hard-sell-hotel . You will have to edit the existing triggers Unsantize the mission environment so its able to use os.execute (again check the github) Be running SRS Server and Client locally on the same machine at the mission Three calls used by the mission STTS.TextToSpeech("Enemy units located near the airfield","251","AM","1.0","SRS",2) STTS.TextToSpeech("C:\\Users\\Ciaran\\Downloads\\hard-sell-hotel.mp3","30","FM","1.0","SRS",2) STTS.TextToSpeech("All Enemies Destroyed! Well done! ","251","AM","1.0","SRS",2) SRS-STTS-Text.miz -
This project aims to allow multiplayer mission designers (clients dont need to do anything) to easily embed live text to speech over SRS into their missions or play specified MP3s (radio station, background AI wingman chatter etc). Its a very powerful tool and already in use on the popular BlueFlag server - powering their automated AI GCI over the SRS (SimpleRadio Standalone) mod. Full setup instructions here: https://github.com/ciribob/DCS-SimpleTextToSpeech I've recorded a quick demo showing: Playing an MP3 over a set frequency - and triggering it with a trigger Using the Text to Speech function to read out something And i'll upload the demo shortly. STTS.TextToSpeech("Hello DCS WORLD","251","AM","1.0","SRS",2) Arguments in order are: - Message to say, make sure not to use a newline (\n) ! - Frequency in MHz - Modulation - AM/FM - Volume - 1.0 max, 0.5 half - Name of the transmitter - ATC, RockFM etc - Coalition - 0 spectator, 1 red 2 blue This example will say the words "Hello DCS WORLD" on 251 MHz AM at maximum volume with a client called SRS and to the Blue coalition only STTS.TextToSpeech("Microsoft russian female text to speech","251","AM","1.0","SRS",2,null,1,"female","ru-RU","Microsoft Irina Desktop") Arguments in order are: - Message to say, make sure not to use a newline (\n) ! - Frequency in MHz - Modulation - AM/FM - Volume - 1.0 max, 0.5 half - Name of the transmitter - ATC, RockFM etc - Coalition - 0 spectator, 1 red 2 blue - Position of the transmitter - null so igored - Speed of the voice - 1 being normal - Gender of the voice - Locale of the voice - Name of the specific voice This example will say the words "Microsoft russian female text to speech" on 251 MHz AM at maximum volume with a client called SRS and to the Blue coalition only using the Microsoft TTS engine with the specified voice STTS.TextToSpeech("Google Text to Speech","251","AM","1.0","SRS",2,null,1,"female","cz-CZ","cs-CZ-Wavenet-A",true) Arguments in order are: - Message to say, make sure not to use a newline (\n) ! - Frequency in MHz - Modulation - AM/FM - Volume - 1.0 max, 0.5 half - Name of the transmitter - ATC, RockFM etc - Coalition - 0 spectator, 1 red 2 blue - Position of the transmitter - null so igored - Speed of the voice - 1 being normal - Gender of the voice - Locale of the voice - Name of the specific voice - Use Google Text to Speech This example will say the words "Google Text to Speech" on 251 MHz AM at maximum volume with a client called SRS and to the Blue coalition only using a specifc Google TTS voice. You will need to setup a Google App Engine project and set the STTS script to point the correct location of the Google Credentials STTS.TextToSpeech("Hello DCS WORLD","251","AM","1.0","SRS",2,Unit.getByName("RADIO"):getPoint()) Arguments in order are: - Message to say, make sure not to use a newline (\n) ! - Frequency in MHz - Modulation - AM/FM - Volume - 1.0 max, 0.5 half - Name of the transmitter - ATC, RockFM etc - Coalition - 0 spectator, 1 red 2 blue This example will say the words "Hello DCS WORLD" on 251 MHz AM at maximum volume with a client called SRS and to the Blue coalition only with the location of the transmission set to the location of a unit called "RADIO". This will respect Line of Sight and Distance Limitations if enabled STTS.PlayMP3("C:\\Users\\Ciaran\\Downloads\\PR-Music.ogg","255,31","AM,FM","0.5","Multiple",0) Arguments in order are: - FULL path to the MP3 or Ogg audio to play - Frequency in MHz - to use multiple separate with a comma - Number of frequencies MUST match number of Modulations - Modulation - AM/FM - to use multiple - Volume - 1.0 max, 0.5 half - Name of the transmitter - ATC, RockFM etc - Coalition - 0 spectator, 1 red 2 blue This will play that MP3 on 255MHz AM & 31 FM at half volume with a client called "Multiple" and to Spectators only STTS.PlayMP3("C:\\Users\\Ciaran\\Downloads\\PR-Music.mp3","255,31","AM,FM","0.5","Multiple",2,Unit.getByName("RADIO"):getPoint()) Arguments in order are: - FULL path to the MP3 to play - Frequency in MHz - to use multiple separate with a comma - Number of frequencies MUST match number of Modulations - Modulation - AM/FM - to use multiple - Volume - 1.0 max, 0.5 half - Name of the transmitter - ATC, RockFM etc - Coalition - 0 spectator, 1 red 2 blue This will play that MP3 on 255MHz AM & 31 FM at half volume with a client called "Multiple" and to Spectators only with the location of the transmission set to the location of a unit called "RADIO". This will respect Line of Sight and Distance Limitations if enabled Example of a transmission with position:
-
Complete Transport and Logistics Deployment - CTLD
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
@Wakeshiftyes since that comment was written you can now spawn a FARP and have it function for rearm / refuel Slots though are baked into the mission itself so cannot be dynamically added unfortunately -
Fixed - just download the latest lua from GitHub https://raw.githubusercontent.com/ciribob/DCS-SimpleRangeScript/master/rangescript.lua Test mission isnt updated yet - but just use the new script
-
Please go to discord for support https://discord.gg/Ajzxqxj Sent from my HD1903 using Tapatalk
-
Thanks, I'll take a look at target and see if I can make it work with the rescan button Sent from my HD1903 using Tapatalk
-
I assume you switch target when you switch aircraft? When you switch aircraft / slots it'll autoconnect so restart SRS before joining the new slot Secondly SRS can support new devices, hit rescan on controls page for target to work - should work , let me know if not Lastly SRS saves the IP you last connected too (or should) - so just hit connect after restarting The autolaunch of SRS is in dcs settings inside dcs, have a look there. Sent from my HD1903 using Tapatalk
-
That's why SRS has autolaunch, so you don't miss it. Srs will also connect when you switch slots I can't do any more though. To summarise - enable SRS autolaunch - it'll launch and connect on start. - switch slots, SRS will autoconnect on slot switch Srs cannot do anymore, as the srs hook is only on server join or slot switch Sent from my HD1903 using Tapatalk
-
It already has this - just enable SRS autolaunch and it will launch and connect SRS on join Autolaunch is enabled in DCS settings Autoconnect in SRS also needs to be on. SRS will autoconnect when you change slots or join a server The server needs autoconnect configured correctly but test on hoggit and you'll see it work
-
Multicrew Co-pilot Push-to-talk with SRS not working
Ciribob replied to RazorbackNL's topic in DCS: UH-1H
It will work, just not using DCS controls See https://github.com/ciribob/DCS-SimpleRadioStandalone/issues/517#issuecomment-754490843 Sent from my HD1903 using Tapatalk -
LotATC can't read it - SRS is actually passing it to LotATC in order for it to work Sent from my HD1903 using Tapatalk
-
Please go to discord for support https://discord.gg/Ajzxqxj Sent from my HD1903 using Tapatalk
-
Complete Transport and Logistics Deployment - CTLD
Ciribob replied to Ciribob's topic in Scripting Tips, Tricks & Issues
That means ctld isn't loaded Sounds great! I've not worked on CTLD in a long time, been busy with SRS but if you send a pull request I can look to add it Sent from my HD1903 using Tapatalk -
If I'm given a preview of the model then I can add SRS support. It's generally done by me, not module developers It's open source though so anyone can contribute. Sent from my HD1903 using Tapatalk
- 1 reply
-
- 4
-
-
-
Join the SRS Discord and I'll help there https://discord.gg/vqxAw7H Sent from my HD1903 using Tapatalk
-
Please go to the SRS Discord for support https://discord.gg/vqxAw7H Sent from my HD1903 using Tapatalk
-
Go to the SRS Discord for support https://discord.gg/vqxAw7H Listed in the client under help Sent from my HD1903 using Tapatalk
-
https://discord.gg/vqxAw7H Go to the SRS Discord for help, as listed in help in the SRS client Sent from my HD1903 using Tapatalk