Announcement

Collapse
No announcement yet.

can I control volume in a hs.speak command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    can I control volume in a hs.speak command

    I am using this command to send a text to speak to my wall mounted tablet

    hs.speak("hot water turning on for " & HotWaterMinutes & " minutes",true,"Lounge:tasker")

    The problem is its always on full blast... is there a parameter I could add to control the volume level ? That would be useful for other applications for me too.
    Last edited by mikee123; January 31, 2018, 06:57 AM.

    #2
    Hi, Yes there is

    here a sample :

    PHP Code:
    sub main()

    hs.SetVolume 20,20

    hs
    .speak "I am speaking louder",TRUE

    hs
    .SetVoume 5,5

    hs
    .speak "I am speaking softer",TRUE

     



    end sub 
    regards

    Originally posted by mikee123 View Post
    I am using this command to send a text to speak to my wall mounted tablet

    hs.speak("hot water turning on for " & HotWaterMinutes & " minutes",true,"Lounge:tasker")

    The problem is its always on full blast... is there a parameter I could add to control the volume level ? That would be useful for other applications for me too.
    Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
    Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




    HS3Pro 4.0.8.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

    Comment

    Working...
    X