Making a G3 panel go 'bing'.......
Rod N
Junior Member
Hello all.. have a challenge for anyone willing... I have a simple 16 button G3 panel .. I need the thing to go 'bing' (or play a sound of some sort) when I turn a button on. Any suggestions?
Comments
-
bing? or beep?
because this works:
SEND_COMMAND dvTP, 'BEEP'
this will make the panel go BEEP! -
Eureka!
Thanks Yuri.. it does indeed make the panel beep.. but whats even better is that it uses the default sound scheme from windows as the sound.. so with a bit of manipulation I've got it playing exactly the sound I need and when I need it.
Thx again
RN -
I have noticed the BEEP command doesn't work on any of my projects. I stopped using it because of that without looking any further, but decided recently to figure out why.
As a general rule, I turn off the beep on button hit in panel setup, and only leave the button miss sound on. This is what kills it. If button hit audio is off, the BEEP command will not work. Likewise, if button miss is turned off, DBEEP won't work. I find the constant beeping of button presses to be severely irritating, so if I want sound effects, I need to use DBEEP, or, better yet, upload an audio file and use ^SOU instead. -
DHawthorne wrote:I have noticed the BEEP command doesn't work on any of my projects. I stopped using it because of that without looking any further, but decided recently to figure out why.
As a general rule, I turn off the beep on button hit in panel setup, and only leave the button miss sound on. This is what kills it. If button hit audio is off, the BEEP command will not work. Likewise, if button miss is turned off, DBEEP won't work. I find the constant beeping of button presses to be severely irritating, so if I want sound effects, I need to use DBEEP, or, better yet, upload an audio file and use ^SOU instead.
I don't use 'BEEP' OR 'DBEEP' but 'ABEEP' and 'ADBEEP'
The 'A' makes the touch panel beep even if you turn off the beeps in the TPs setup menu. (which I do) The 'A' overrides the panel's beep settings. -
So you're saying this is a G3 WEB panel, right? (As opposed to something like an AXT-CA10, which is what I thought you meant by G3 panel) That's good to know about the beep sound...
- ChipRod N wrote:Thanks Yuri.. it does indeed make the panel beep.. but whats even better is that it uses the default sound scheme from windows as the sound.. so with a bit of manipulation I've got it playing exactly the sound I need and when I need it.
Thx again
RN -
Thats correct Chip... a G3 Web panel. A couple of other tricks / trial and error results I discovered as well...
..for some reason the html generated by TPD3 substitutes SansSerif as the default font in a button. You can edit the Main.xml file with the correct font(s) as long as they are in the font directory of the PC.
..If using the Web control on an active desktop at 1024 by 768 the page will exceed the screen size and appear with scroll bars. Open/Edit the html file that has the project name and change the 'height' parameter to 746 and it fits perfectly.
.. I also found a file on the web called 'nomousy' which turns the mouse pointer invisible.. stops the pointer loitering on screen between button presses.
Cheers
RN
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums