VoxCommando

Help and Support (Using VoxCommando) => iTunes => Topic started by: chilliman on July 27, 2015, 01:49:32 PM

Title: softmute - softunmute do not fuction/
Post 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
Title: Re: softmute - softunmute do not fuction/
Post by: nime5ter on July 27, 2015, 05:50:58 PM
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.
Title: Re: softmute - softunmute do not fuction/
Post by: jitterjames on July 27, 2015, 07:26:05 PM
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.
Title: Re: softmute - softunmute do not fuction/
Post by: chilliman on July 27, 2015, 11:35:54 PM
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


Code: [Select]
<?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>
Title: Re: softmute - softunmute do not fuction/
Post by: Kalle on July 28, 2015, 03:34:55 AM
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:


Code: [Select]
<?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>
Title: Re: softmute - softunmute do not fuction/
Post by: chilliman on July 28, 2015, 09:56:29 AM
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   
Title: Re: softmute - softunmute do not fuction/
Post by: nime5ter on July 28, 2015, 12:33:31 PM
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.
Title: Re: softmute - softunmute do not fuction/
Post by: nime5ter on July 28, 2015, 12:35:09 PM
http://wiki.jriver.com/index.php/Volume
Title: Re: softmute - softunmute do not fuction/
Post by: chilliman on July 28, 2015, 01:32:30 PM
thank you.
that did the trick working great.

thanks again

chilliman