SOUND FILE
danieldrew1
Posts: 31
Hi I am a little lost when it comes to 'wav' files.
I wish to play a particular sound file at a defined panel (ipad using tpc)
when a button is pressed at other panel or front gate, I want to play file at specified panel.
I think I understand that
SEND_COMMAND dvPanel,"'@SOU-MySoundFile.wav'" would be the command sent upon BUTTON_EVENT.
but I don't understand where to put the sound file or how netlinx studio knows where to reference it.
I have the sound file in the resource manager of the TP4 file that creates the GUI for the panel, it is then run through TPC which I don't believe changes anything.
Just not sure how to move and send sound files around.
I wish to play a particular sound file at a defined panel (ipad using tpc)
when a button is pressed at other panel or front gate, I want to play file at specified panel.
I think I understand that
SEND_COMMAND dvPanel,"'@SOU-MySoundFile.wav'" would be the command sent upon BUTTON_EVENT.
but I don't understand where to put the sound file or how netlinx studio knows where to reference it.
I have the sound file in the resource manager of the TP4 file that creates the GUI for the panel, it is then run through TPC which I don't believe changes anything.
Just not sure how to move and send sound files around.
0
Comments
The file gets sent to the iPad when upload the TP file.
I do have the file in TP4 in the resource manager "sounds" tab. If I select the file and press "play" I hear the correct sound. But when I set up a BUTTON_EVENT to call it up, I get no result. Am I supposed to assign the file to something like with dynamic images and slots?
Should I be doing something first to open the speaker on the iPad?