Home AMX User Forum NetLinx Studio

Playing sound

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.

Comments

  • viningvining Posts: 4,368
    Is your TP volume turned up? I had to ask!

    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.
  • adysadys Posts: 395
    The file was 11 KHz...

    Thanks :)
Sign In or Register to comment.