Recent Posts

Pages: [1] 2 3 ... 10
1
How Do I? / Re: "saying" a "saved" word
« Last post by Pfeil on Today at 03:24:06 pm »
It looks like you have all the components in your pseudocode already, practically it would look like this in VoiceAttack:
Code: [Select]
Set integer [rand] value as random from 1 to 5
Begin Integer Compare : [rand] Equals 1
    Set Text [FRUIT] to 'APPLE'
Else If Integer Compare : [rand] Equals 2
    Set Text [FRUIT] to 'BANANA'
Else If Integer Compare : [rand] Equals 3
    Set Text [FRUIT] to 'ORANGE'
Else If Integer Compare : [rand] Equals 4
    Set Text [FRUIT] to 'STRAWBERRY'
Else If Integer Compare : [rand] Equals 5
    Set Text [FRUIT] to 'FISH'
End Condition
Say, 'I would like a {TXT:FRUIT}'
2
How Do I? / Re: "saying" a "saved" word
« Last post by quarrystile on Today at 01:28:38 pm »
Hi  Pfeil

Thanks for the reply.. Here is some more INFO to hopefully make it clearer...

Again, I will use Fruits as an example...

FIRST Pick a random fruit, using Random Interger ( THIS PART IS EASY )

IF 1 then [FRUIT]="APPLE"
IF 2 then [FRUIT]="BANANA"
IF 3 then [FRUIT]="ORANGE"
IF 4 then [FRUIT]="STRAWBERRY"
IF 5 then [FRUIT]="FISH ( OK, not a fruit LOL)

SO, random number is 3 .... so voiceAttack action.. "say something with "text to speech"...
Say " I would like a [FRUIT] 
Would say this.. I would like a ORANGE

SO, random number is 5 .... so voiceAttack action.. "say something with "text to speech"...
Say " I would like a [FRUIT] 
Would say this.. I would like a FISH


I am NOT saying the word into the Microphone (THE MICROPHONE is NOT used al all in this )


[FRUIT] = "THE ALIENS ARE COMING"

Say [FRUIT]

Does this help??

[FRUIT]="DOES THIS HELP"
voiceAttack action.. "say something with "text to speech"...
Say [FRUIT]

3
Feature Requests / Include action list comments in text search results
« Last post by Exergist on Today at 12:54:00 pm »
It looks like the command list filter on the 'Edit a Profile' UI does not include action list comments in its results. Not sure if this is intentional or not, but I'll assume this is by design and should be a Feature Request instead of an Issue.

Thanks!
4
Feature Requests / Tab formatting for action list items
« Last post by Exergist on Today at 10:47:19 am »
Would it be possible to add the ability to manually change the indentation of items in the action list? One possible use would be to improve readability.

So for instance you could turn this:
Code: [Select]
// Specify whether or not to output the current pronunciation for the text of interest
Set Boolean [~~OutputCurrentPronunciation] to True
// Check if user wants to output the existing pronunciation for the text of interest
Begin Boolean Compare : [~~OutputCurrentPronunciation] Equals True
Execute command, 'Output Current Pronunciation of Text' (and wait until it completes)
End Condition

...into this:
Code: [Select]
// Specify whether or not to output the current pronunciation for the text of interest
Set Boolean [~~OutputCurrentPronunciation] to True
// Check if user wants to output the existing pronunciation for the text of interest
Begin Boolean Compare : [~~OutputCurrentPronunciation] Equals True
Execute command, 'Output Current Pronunciation of Text' (and wait until it completes)
End Condition

...which helps retain focus on the line item that the user may need to manually change ('Set Boolean [~~OutputCurrentPronunciation] to True').
5
General Discussion / X-plane 11 VR
« Last post by wallyign on Today at 06:12:23 am »
Has anyone been able to get Voiceattack working with X-Plane 11 VR. If so could you help me set it up

Thanks
Wally
6
Inline Functions / Re: Get Pixel Color
« Last post by Exergist on June 21, 2018, 10:11:07 am »
Glad you're rolling!

The inline function capability is super powerful. And often you can condense lots of lines of VA actions into a single inline function. Good luck!
7
Inline Functions / Re: Modify VoiceAttack UI
« Last post by Exergist on June 21, 2018, 10:05:11 am »
Personally I like the default look, but I'm sure there will be people who would want to add more customization.

Ultimately up to you Gary. It's your software and your VA brand. :)
8
Inline Functions / Re: Modify VoiceAttack UI
« Last post by Gary on June 21, 2018, 08:06:51 am »
I wonder if I should just give in and let the user select the UI colors?  I've been resisting this for years, but if it's just limited to the main screen, it's probably manageable.
9
Inline Functions / Re: Get Pixel Color
« Last post by Tumbler on June 21, 2018, 07:40:38 am »
Yeah, gotcha there Exergist. If i use your attached script with the inline, i can check to see what prevalent colours are on the pixels in question. Also, since some times less is more, i changed the function to look in increments of 10% rather than 1%, starting from the top and looking only until the mid way is reached [Y(max)/2], including TTS sentences for 70 and 90% respectively.

Ok i think im on the right path, just fine tunning left. Thanks for getting me there Exergist! Couldnt have done it without you
10
I agree on this topic. Wouldnt mind pay extra to see this feature implemented  8)
Pages: [1] 2 3 ... 10