Hello. I created a channel by manipulating the monitorsetup example to give me a fairly nice beginner channel with a couple slideshow presentations. However, now I am attempting to use the AudioApp example to integrate another Category into my current channel to provide a sublist of audio I have on the internet. I know I will be able to figure out inputting the needed code to get my audio but I’m having troubles getting the two formats to work together. I have a poster display for the category but if I click on it I get nothing or it returns to the main menu.
while true
msg=wait(0,port)
if type(msg)="roPosterScreenEvent" then
ndx=msg.getindex()
if posterlist[ndx].action="music" then
audioplayer.stop()
audioplayer.clearcontent()
audioplayer.addcontent(posterlist[ndx].song)
audioplayer.play()
else
...do slide show
end if
Of course this is a very rough example, but hopefully you get the idea. You essentially create an audio player, then hand it an roAssociativeArray, in this example called song. You could do it like this: