0

On Demand and Serial Input

I'm using an AU335 connected to an arduino via USB. The arduino sends values such as "01" or "07" via serial intending to have a track play. I have a variable that properly stores the latest serial command from the arduino. And I have an On Demand list of audio tracks with key values equal to the variable, which properly plays the track.

However, when the track is finished, it loops. I want each track to play once and then stop playback. I also want each track to be interruptible with a new serial input from the Ardunio.

How do I do this? Please and thank you.

2 comments

  • 0
    Avatar
    Chris Evans

    Ack, I need more caffeine. I just didn't have a media end event on my On Demand state. Attached are a bunch of screen shots for future readers.

     

     

     

     

     

     

  • 0
    Avatar
    bekkygox

    You might also check documentation on serial input event settings and wildcards. They can help bind custom serial commands to user variables for more control.


    Cowboy Safari

Please sign in to leave a comment.