These are chat archives for brunchboy/afterglow
A live-coding lighting controller, building on the Open Lighting Architecture with Clojure and bits of Overtone.
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
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.