Author Topic: Any help will be appreciated  (Read 1294 times)

k_boog2000

  • Newbie
  • *
  • Posts: 5
Any help will be appreciated
« on: March 23, 2022, 08:33:21 PM »
Hello,

I'm trying to create a command and I keep running into a problem..
In my command I want to say turn up 50% and I get a return value of 0.500 or turn up 100% and get a value of 1 but I keep getting a result of Not Set or it doesn't work. I'm about 2 days and 4 hours in :o and I know someone has had this problem.

Any help will be appreciated

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Any help will be appreciated
« Reply #1 on: March 23, 2022, 11:08:12 PM »
What does your command currently contain?

Right-click the action list, choose "Copy All as Text" from the context menu, then paste here into a code block (click the # button)

Do also copy the contents of the "When I say" field and paste them in, separately

k_boog2000

  • Newbie
  • *
  • Posts: 5
Re: Any help will be appreciated
« Reply #2 on: March 24, 2022, 03:15:45 PM »
When I say: Turn up [1..100] percent

Code: [Select]
Set small int (condition) [percentamt] value to the converted value of {CMD}
Execute external plugin, 'Lerk's Osc Plugin v0.2' using context '/fxparam/last_touched/value:f {percentamt}'
Say, '{CMD}'

this is a copy of my last attempt
I deleted all the other ones that didn't work

I'm using a plugin to send a OSC message
https://github.com/Faek/voice-attack-osc-plugin


if I say turn up 50 percent the result should send..
/fxparam/last_touched/value 0.500

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Any help will be appreciated
« Reply #3 on: March 25, 2022, 08:48:02 AM »
Have you read the documentation on the features you are attempting to use?

Press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer, which contains information on said features.

This topic may also be of use, in addition to the official documentation:
Variables and tokens summed up


Something that may not be mentioned explicitly is that converting text that represents a numeric value to an actual numeric value means that text must only consist of that representation.
E.G. "50" is a convertible representation of a numeric value, "turn up 50 percent" is not.

k_boog2000

  • Newbie
  • *
  • Posts: 5
Re: Any help will be appreciated
« Reply #4 on: March 25, 2022, 04:45:27 PM »
Have you read the documentation on the features you are attempting to use?

Yes

Press F1 while VoiceAttack has focus to open VoiceAttackHelp.pdf in your default PDF viewer, which contains information on said features.

I did that too

This topic may also be of use, in addition to the official documentation:
Variables and tokens summed up

I'll read it again


Something that may not be mentioned explicitly is that converting text that represents a numeric value to an actual numeric value means that text must only consist of that representation.
E.G. "50" is a convertible representation of a numeric value, "turn up 50 percent" is not.


Im experimenting with {EXP:{myVarible}/100} now
And.. https://forum.voiceattack.com/smf/index.php?topic=4054.0
And.. Evaluating Arithmetic Expressions..page166 in the documentation
Maybe my answer is in this.


Thank you Pfeil