Recent Posts

Pages: [1] 2 3 ... 10
1
Profile Uploads / DCS Flaming Cliffs Radio Commands
« Last post by wingman1387 on November 18, 2017, 10:28:35 am »
Since I have not had that much luck with Viacomm, I set out to make a profile that would allow me to perform most of the radio functions in DCS.  This is my first attempt at a profile for the radio dialogues for the Flaming Cliffs modules.  I've tested it with the F15 and A10A.  It seems to work okay. 
Minor notes:  You'll have to set a PTT switch in the profile and the same switch in DCS for the activations to work properly.  I have not yet managed to JTAC working correctly for the A10A, so those commands have been left out for now.
2
Feature Requests / Re: train profiles to dictionary
« Last post by Squeeze on November 18, 2017, 08:52:52 am »
very nice, Exergist. I'm not an expert in Windows Speech Recognition and first i thought Windows would save all the recorded phrases as a wave file somewhere. But what i understand from it, it just translates the spoken words in a phonetic formular. Does the library also support the conversion from audio files to the phonetic form? As i started to write my mentioned application i will have a closer look at the DLL, too.
3
As long as the text is static(I.E. doesn't come from a token/variable value itself), you can work around this by using "|" as an escape character:

Quote from: VoiceAttackHelp.pdf page 116
To indicate a literal curly bracket, simply prefix
the curly bracket with a pipe symbol: |{ or |}.

Thank your Sir Pfeil for the prompt reply :)  , i appreciate the help :) .Good day to your sir :)
4
Feature Requests / Re: train profiles to dictionary
« Last post by Exergist on November 17, 2017, 02:09:28 pm »
Well I think I've got it! This is pretty outstanding so I'm going to be brief just to share the bare bones functionality. Hopefully I'll have more time next week to better expand upon this in the Inline Functions thread.

In a nutshell you have to leverage the Microsoft Speech API (SAPI) 5.4 (or maybe newer versions work as well?). You'll need to reference Interop.SpeechLib.dll (attached), and using a C# inline function you can add and remove words from the user lexicon (dictionary).

Here is the base code from Visual Studio to remove a word:
Code: [Select]
using System;
using SpeechLib;

SpLexicon lex = new SpLexicon();
int langid = new System.Globalization.CultureInfo("en-US").LCID;
lex.RemovePronunciation("poticharoo", langid, SpeechPartOfSpeech.SPSNoun, "p ow t iy ch ax r uw");

Here is the base code to add a word:
Code: [Select]
using System;
using SpeechLib;

SpLexicon lex = new SpLexicon();
int langid = new System.Globalization.CultureInfo("en-US").LCID;
lex.AddPronunciation("poticharoo", langid, SpeechPartOfSpeech.SPSNoun, "p ow t iy ch ax r uw");

The odd string of characters at the end of the function are the symbolic phones that the system interprets. I've compiled some information about this and attached it as well.

I've only done a bit of testing but trying to get Windows Speech Recognition (not VoiceAttack) to recognize "poticharoo" by default has terrible results. VoiceAttack also does not know what to do with it (expected, since VA leverages WSR).

However by simply using the above code to add the word it becomes recognized by both applications. Note that I did not provide any recordings of me saying "poticharoo," this is all handled just through this C# code. After adding the word you can open the WSR dictionary and it should be listed. To top it off, VoiceAttack TTS also pronounces the word correctly once you add it this way!

Give it a try! More details (and probably some reviewing with Gary) to follow :)
5
As long as the text is static(I.E. doesn't come from a token/variable value itself), you can work around this by using "|" as an escape character:

Quote from: VoiceAttackHelp.pdf page 116
To indicate a literal curly bracket, simply prefix
the curly bracket with a pipe symbol: |{ or |}.
6
I am trying to build voice activated code snippets and every time they contain "{" , "}" this is removed when executing things like quick input or other voice attack function :(.

There could be an extra option to no look for tokens or some how tag things voice attack should not take as tokens.I have made a mock up of the settings :)



As you can see the use will have the 2 options , one to put tokens to be ignored this will be the most flexible option.Then the final option would be to ignore tokens all together.

This way we would be able to make voice activated code snippets :).

I love voice attack thank you for your brilliant service and support :D .

Code: [Select]
"Doubt kills more dreams than failure ever will"
unkown
7
Feature Requests / Re: train profiles to dictionary
« Last post by Squeeze on November 16, 2017, 04:40:56 pm »
i know that it is possible to add words to the dictionary through API but i don't know if it's possible to record a phrase belonging to the word without the MS dictionary tool. I thought of writing a tool which reads VA's profiles and automatically inserts the word in the dictionary tool, simulate some button presses to get to the record button. After recording you need to click once to complete the registration of the new word. After that you press a button in my tool which iniates the next word. This method may not be ideally but would fasten up things a little bit.
I definetely would prefer another method if it's possible to record words through API......
8
Issues / Re: Registration Key Problem
« Last post by Pfeil on November 16, 2017, 04:40:37 pm »
Make sure you're using the right key for the right application. VoiceAttack and HCS Voice Packs are separate entities entirely, and each uses a different licensing system.

If you want to use VoiceAttack, you need a VoiceAttack license key
If you want to use a HCS Voice Pack, you need a VoiceAttack license key(which only needs to be purchased once, no matter how many Voice Packs you use), and a HCS Voice Pack license key(One for each individual Voice Pack).
9
Issues / Registration Key Problem
« Last post by zigzatuzoo on November 16, 2017, 04:04:16 pm »
When you register a key and a email i put my key in but the key i have is 20 characters long and the registration key only allows for 16 characters.
(P.S. I bought my key a while ago)
10
How Do I? / Re: Having to constantly repeat commands.
« Last post by bookmite on November 16, 2017, 03:03:00 pm »
@Pfeil

You sir are a scholar and a gentleman...I made a new speech recognition profile, did 2 full runs of training on it and tested it in Elite...fabulous result...every command heard and responded to as it should be even at a higher game volume level than normal I’ll do another couple of training sessions tomorrow just to make sure .

Thank you very much
Pages: [1] 2 3 ... 10