0

HD1010 Background music



Hi,

How can I play uninterupted background music over this script? :

IMAGEMODE,2,,,,,,,,,
VIDEOMODE,1024x768x75p,,,,,,,,,
GPIOENABLEOUTPUT,1,,,,,,,,,
GPIOENABLEOUTPUT,2,,,,,,,,,
GPIOENABLEOUTPUT,3,,,,,,,,,
GPIOENABLEOUTPUT,4,,,,,,,,,
GPIOENABLEOUTPUT,5,,,,,,,,,
GPIOENABLEOUTPUT,6,,,,,,,,,
,,,,,,,,,,
EVENTS,,elo:109:184:257:233,elo:383:184:257:233,elo:661:184:257:233,elo:109:433:257:233,elo:383:433:257:233,elo:661:433:257:233,elo:0:0:1024:768,videoend,timeout:1
STATE,menu.bmp:gpios(),menu1.bmp,menu2.bmp,menu3.bmp,menu4.bmp,menu5.bmp,menu6.bmp,,,
STATE,menu1.bmp:gpios(1),,,,,,,menu.bmp,,menu.bmp
STATE,menu2.bmp:gpios(2),,,,,,,menu.bmp,,menu.bmp
STATE,menu3.bmp:gpios(3),,,,,,,menu.bmp,,menu.bmp
STATE,menu4.bmp:gpios(4),,,,,,,menu.bmp,,menu.bmp
STATE,menu5.bmp:gpios(5),,,,,,,menu.bmp,,menu.bmp
STATE,menu6.bmp:gpios(6),,,,,,,menu.bmp,,menu.bmp

Thank you and bet regards
Josef

1 comment

  • 0
    Avatar
    RokuLyndon


    You can do so by making it  multistate csv file. These are covered in chapter four of the user's guide. Is there one audio file you want to play, or many.



    At the bottom of your csv file, you wuld skip a row add the word NEXT, ad then ship another row and add a state entry like the following.



    <blank row>

    NEXT

    <blank row>

    STATE audio.mp3



    if you're only playing the one file that's all you need. If you're playing multiple audio files, you'll need to add an audioend column you can use to g from ne audio file to the next.
Please sign in to leave a comment.