These are chat archives for brunchboy/afterglow

Apr 2017
James Elliott
Apr 28 2017 03:07

Those are a lot of things to work on! It would be probably best to tackle them one at a time, but you should definitely have a backup plan ready for Sunday. As long as you are running the OLA daemon on the standard port, on the same machine as Afterglow, it should find it just fine. Otherwise you can specify a host and port with -H and -P.

You will need to configure your show to use the proper universes in OLA. When creating the show, you specify those using the :universes keyword argument, followed by a vector of the OLA universe IDs you want the show to control. For example, if you want your show to work with OLA universes 1, 2, and 5, you would create it like: (show/show :universes [1 2 5] :description "My Show")

Do the LED pixels show up as universes as well? I have not ever tried working with them. Mapping some of your pixels as individual RGB LED fixtures would be a good baby step to start with. But even if you have no lights hooked up, as long as Afterglow is talking to OLA, you can open up the OLA web interface and watch the channel values while you are trying to run cues in Afterglow which affect them. (I just realized that my Open OLA button on the home page will only work if you are running olad on the same machine as Afterglow, but you can manually point a browser to port 9080 on the right machine if you are running it somewhere else.)

Anyway, rather than writing a huge amount here, it would help to know more specifically where you are stuck. I have already written a huge amount of documentation on the Afterglow project page and in the online manual which will be a better reference than what I type here.

Did you install Cursive in IntelliJ IDEA? That is the best way to use Clojure in IntelliJ, according to my colleagues who use IntelliJ. I’m afraid I’ve never tried using Afterglow in Cursive myself, though: I do my Clojure development in Emacs with CIDER, so I won’t be able to be of too much help there.

James Elliott
Apr 28 2017 03:15
I couldn’t see anything that looks like MAX485 in the list of USB/Serial devices that OLA supports, so that is probably the first thing to confirm. If you can’t get your DMX interface working in OLA directly without Afterglow in the mix, then there is no point trying to go beyond that point, except perhaps with your pixel strips, as long as those show up as universes in OLA.