Sound Effects

More
1 year 5 months ago #4016 by bitzerjd
Replied by bitzerjd on topic Sound Effects
I have a couple of questions and a suggestion.  The hardbuttons allow softpress/hardpress, How do you separate Client vs Server commands?  If I list multiple commands, one being the client "Play", followed by a normal button press command, how are they processed?  For example, if the .mp3 was 60 minutes long...would the system wait 60 minutes to execute the second command?

As a suggestion,  add to the global properties a way to play a sound when any hard button is pressed.  It would then be nice to have a checkbox on the button properties asking if you want to play the default sound or not...

Finally, to be extra fancy, allow you to select which remote or user the config is for.  For example, play sounds on remote but not on remote01

Thanks again for the feature add....I now need time to play!

Please Log in to join the conversation.

More
1 year 5 months ago #4018 by bitzerjd
Replied by bitzerjd on topic Sound Effects
One more question... I don't use client commands a lot.  When they execute, will they leverage Server Variables?  Instead of hardcoding volume, I would like to use {{vol}} and for the sound {{sound}}.  This way for the series of buttons using this (like the keypad), I could change it in one place and effect multiple buttons.

Please Log in to join the conversation.

More
1 year 5 months ago #4019 by Nillaz
Replied by Nillaz on topic Sound Effects

One more question... I don't use client commands a lot.  When they execute, will they leverage Server Variables?  Instead of hardcoding volume, I would like to use {{vol}} and for the sound {{sound}}.  This way for the series of buttons using this (like the keypad), I could change it in one place and effect multiple buttons.
 
I don't see why not but that sounds like a great idea!

I'll test this after my machine finishes downloading today's myServer update. I don't know if this is the biggest update ever seen or if Allonis's server burst into flames but this is by far the longest it has ever taken to download an update and I don't want to play with anything while it's still in progress.

Please Log in to join the conversation.

More
1 year 5 months ago #4020 by Nillaz
Replied by Nillaz on topic Sound Effects
Follow up: It behaves as any other server command, so using variables works just fine.

Note that this means it works when using ClientCMD in the server command window in myDesigner or when inserted into a macro in myServer since it queries the server for the value of the variable. I don't believe variables like this work when inserting the command into the client command window in myDesigner, or if they do I haven't ever figured out how to make that happen.

Please Log in to join the conversation.

More
1 year 5 months ago #4021 by bitzerjd
Replied by bitzerjd on topic Sound Effects
Thanks for taking the time to test this. The behavior is what I thought it would be....unfortunately. Adjusting the correct volume is a PITA because I'm super picky!

Please Log in to join the conversation.

More
1 year 5 months ago #4022 by Nillaz
Replied by Nillaz on topic Sound Effects

Thanks for taking the time to test this. The behavior is what I thought it would be....unfortunately. Adjusting the correct volume is a PITA because I'm super picky!
 
What are you trying to accomplish that this seems to be holding you back on? I'll be happy to try to help if I can and I bet we can make things behave the way you want.

BTW, in answer to one of your questions from earlier you don't have to wait for a 60 minute audio file to finish playing before the server issues the next command in a macro. As far as the server is concerned once it issues the command to start playing the audio file it has executed the command in it's entirety and moves onto the next one in the macro. You could have a delay if you like but you would have to add a Pause between the start of the audio file and the next command in the sequence.

Please Log in to join the conversation.

Time to create page: 0.177 seconds