0

Expander & Networking



Hello I have some questions regarding the expander module EM 100 in combination with networking. We are working on a setup that involves 15 HD210 and 3 HD1010. One HD1010 is the master and has 6 buttons that are connected over GPIO and is playing one video file for each button. He is also sending synchronization commands over LAN to all other DH210 players. The two HD1010 are kind of out of reach and connected via WLAN and both have have an EM 100 expander to play 4 and 6 channel mp3 audio. My two questions are: There is no script example of the EM 100 expander that shows how to work with synchronization commands. How can I get this to work? Simple networking to update the files with the remote HD1010 works great if I export a project form BrightAuthor. Since the expander is not supported in Bright Author I have to use a custom script. How can I update the content of the player with simple networking without using BrightAuthor? Many thanks in advance.

5 comments

  • 0
    Avatar
    RokuLyndon


    can you explain in further detail how you'll be using the expander, and I'll think whether it's easier to customize the brighauthor autorun to use the expander.

    Recreating a robust network update process isn't simple. I can provide a very simple script that you can use to download files, but it doesn't do any file verification.

    I can provide scripts for sync easily, but if the expander needs aren't that complicated, then it might be easier to add it to a brightauthor project.
  • 0
    Avatar
    Roland TL


    The two HD1010 with the expanders are used for the speakers on the ceiling.
    On a synchronization command they are supposed to play 3 mp3 files simultaneously.
    For example:
    With no incoming synchronization command the player is silent.
    On "sync0" he should play "mp3-00-01", "mp3-00-02", "mp3-00-03"
    On "sync1" he should play "mp3-01-01", "mp3-01-02", "mp3-01-03"
    On "sync2" he should play "mp3-02-01", "mp3-02-02", "mp3-02-03"
    On "sync3" he should play "mp3-03-01", "mp3-03-02", "mp3-03-03"
    On "sync4" he should play "mp3-04-01", "mp3-04-02", "mp3-04-03"
    On "sync5" he should play "mp3-05-01", "mp3-05-02", "mp3-05-03"
    When the files are played it goes back to silent.
    The files are all the same length.
    All audio outputs should be mapped to the expander.
  • 0
    Avatar
    Roland TL


    I still have a problem with the expander but they have slightly changed.
    I changed the standard autorun file myself and just copied everything with "audioplayer" two times.
    So I now have the normal "audioplayer" and an "audioplayer1" and "audioplayer2"
    They all load the same file and player 2 and 3 add ".1.mp3" and ".2.mp3" to the file name.
    It actually works and all files get played through the expander.
    The problem is that they are out of sync at about 1 second.
    I do start them right after another.

    Any suggestions?
  • 0
    Avatar
    Roland TL


    and here is the autorun file I tried.
    http://www.faq42.net/autorun.brs

    I'm really looking forward to the integration of the expander in BrightAuthor!


    * Edit*
    Well well, even this (http://dl.dropbox.com/u/3480052/Misc/Expander/Expander-1video-2audio-serial.brs) script to play audio and video on the expander is not playing the files in sync. There must be quite something wrong about what I do.
  • 0
    Avatar
    RokuLyndon


    That should have worked. That was the same process I was going to use. If they're out of sync, you can try adding silence to the beginning of the files where you need the extra time to get them in sync.
Please sign in to leave a comment.