Playing sound
adys
Posts: 395
Hi all
I am trying to play sound from code
In resource manager I added 'alarm_3.wav' and checked that it played ok. (From some reason the 'assign" option in the slot tab resource manager is disabled)
I am trying to play it like this:
SEND_COMMAND 10007:1:6,"'@SOU-alarm_3.wav'"
Nothing happens
I added the sound to the On state of a button (in TPDesing4)
Nothing happens
I searched through all the sound issue threads in the forum, didn't find any reason for it not to work.
the name is the same name and in identical in case sensitive
I took a file from AMX folder that works on the Panel and change it name, load it, ans still nothing...
Any idea?
My firmware update is the last one I think (2.63.5)
thanks
Ady.
I am trying to play sound from code
In resource manager I added 'alarm_3.wav' and checked that it played ok. (From some reason the 'assign" option in the slot tab resource manager is disabled)
I am trying to play it like this:
SEND_COMMAND 10007:1:6,"'@SOU-alarm_3.wav'"
Nothing happens
I added the sound to the On state of a button (in TPDesing4)
Nothing happens
I searched through all the sound issue threads in the forum, didn't find any reason for it not to work.
the name is the same name and in identical in case sensitive
I took a file from AMX folder that works on the Panel and change it name, load it, ans still nothing...
Any idea?
My firmware update is the last one I think (2.63.5)
thanks
Ady.
0
Comments
Do you have any other working sound files?
If you're not sending to a TP on a remote master you can try using 10007:1:0 instead.
If it's not even working on the TP when the file is assigned to the "ON" state it's either something with the file or the TP. I would try a new file even though it tested fine in resource manager.
Thanks