VoxCommando
Help and Support (Using VoxCommando) => iTunes => Topic started by: chilliman on July 27, 2015, 01:49:32 PM
-
Hi.
i have a used the LCB to make a command to run, wunder (weather) while running Itunes starting with
itune.softmute
WUnder.GetCurrent
TTs.SDpeak - lastresult
itunes.softunmute
when i run it the volume stays the same and i can hear both.
ant ideas or am i dong it wrong
thanks
chilliman
-
Can you please copy and paste the actual xml for your command so we can test it?
Just right-click on the command in your command tree, copy it, then you can paste it here in a "code box" by clicking the # symbol and then paste (Ctrl-V).
Thank you.
-
It is always much better if you post the actual XML for your command in a code box on the forum so that we can see exactly what you are doing, and make sure you have not made any spelling mistakes etc. It also makes it much easier for us to test your command because we can just copy and paste it to our own command tree.
That said, in this case I think your problem is that you need to use TTS.SpeakSync because otherwise your SoftUnmute fires immediately without waiting for the TTS.Speak to finish and it seems like it is not working. Another option would be to use a pause before unmute but SpeakSync is usually better since it will wait the correct amount of time.
-
hi .
i found the JRiver media center was more suited to my needs but i have the same problem i know it me doing something wrong not sure what. code listed below .
still learning .
chilliman
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.8-->
<groupCollection open="True" name="my commands">
<commandGroup open="False" name="Weather" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="1316" name="weather" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>JRiver.SoftMute</cmdType>
<params>
<param>20</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>WUnder.GetCurrent</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.Speak</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>JRiver.SoftUnmute</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>weather</phrase>
</command>
</commandGroup>
</groupCollection>
-
Hi chilliman, James has given you the solution - you must use TTS.SpeakSync instead of TTS.Speak!
TTS.SpeakSync is the same as TTS.Speak, but VC will wait until speaking is complete before continuing to the next action.
Try this:
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.5.1-->
<groupCollection open="True" name="my commands">
<commandGroup open="True" name="Weather" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="1316" name="weather" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>JRiver.SoftMute</cmdType>
<params>
<param>20</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>WUnder.GetCurrent</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<params>
<param>{LastResult}</param>
</params>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>JRiver.SoftUnmute</cmdType>
<params />
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>weather</phrase>
</command>
</commandGroup>
</groupCollection>
-
thanks guys , i made the changes the music level drop but the voice volume is drop also can you control the voice level independent from VRiver volume level.
sorry for being a pain in the butt still on that learning curve.
thanks
chilliman
-
thanks guys , i made the changes the music level drop but the voice volume is drop also can you control the voice level independent from JRiver volume level.
Yes, it should be possible but you need to adjust your JRiver audio settings. Consult JRiver's documentation for more information. By default, JRiver's volume is tied to the system volume, but it should be possible to control them independently.
-
http://wiki.jriver.com/index.php/Volume
-
thank you.
that did the trick working great.
thanks again
chilliman