Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 11 03:19

    brunchboy on master

    Update to link to netlify hoste… (compare)

  • Jun 11 03:01

    brunchboy on master

    Update doc readme to reflect us… (compare)

  • Jun 10 21:40

    brunchboy on master

    Fix typo in function name. (compare)

  • Jun 10 21:18

    brunchboy on master

    Remove insecure HTTP link, than… Try simplifying API doc path, u… (compare)

  • Jun 10 20:48

    brunchboy on master

    Working on netlify doc build. (compare)

  • Jun 10 20:27

    brunchboy on master

    Update Clojure version. Update Codox version. Try setting up Netlify build fo… (compare)

  • May 27 18:14
    brunchboy edited #70
  • May 27 18:12
    brunchboy edited #70
  • May 27 18:12
    brunchboy labeled #70
  • May 27 18:12
    brunchboy opened #70
  • May 22 05:21
    brunchboy closed #69
  • May 22 05:21

    brunchboy on master

    Update jquery.mincolors color p… Start wedding reception show. (compare)

  • May 22 01:44
    brunchboy opened #69
  • May 22 01:42
    brunchboy closed #23
  • May 22 01:41
    brunchboy closed #65
  • Apr 29 21:08

    brunchboy on master

    Fix more broken images due to w… (compare)

  • Apr 29 21:03

    brunchboy on master

    Fix more broken images due to w… (compare)

  • Apr 29 20:56

    brunchboy on master

    Try without line break? (Older … (compare)

  • Apr 29 20:53

    brunchboy on master

    Fix image macro with comma in a… (compare)

  • Apr 29 07:07

    brunchboy on master

    Make guide base URL independent… (compare)

James Elliott
@brunchboy
I do have a Google account, but don’t know if that was necessary. Anyway, thanks, that is very helpful. And strange.
Those colors are definitely wrong. Let me take another look at the programmer reference.
Do the arrows work to scroll you around?
Benjamin Gudehus
@hastebrot
Yes, I can scroll one page up and right.
James Elliott
@brunchboy
And given that your function buttons actually have dedicated labels, I probably want to move some of my mappings to the right side.
Cool, so that is working at least.
None of the colors are right.
Benjamin Gudehus
@hastebrot
All buttons in row 8 flicker. Which is wrong. Rows 2 and 7 are right with flickering.
James Elliott
@brunchboy
All of them? Or just the first six? Those are supposed to strobe twice per beat, like the web UI does, to reflect the fact that they are strobes.
Oh!
Found one problem, the SysEx starts differently. Pushing a fix momentarily.
Benjamin Gudehus
@hastebrot

Are there any errors in logs/afterglow.log?

I'll delete all old logs and restart the show.

James Elliott
@brunchboy
No need to restart.
Deleting the log is enough, it will be recreated if something happens.
Oh, if you start the show (by pressing Start in the web UI or the Stop button on the controller) and don’t have a Universe 1 configured in OLA (and olad running), there will be a ton of errors about that.
Benjamin Gudehus
@hastebrot
The first six in row 2 flickr (similar to the webpage).
James Elliott
@brunchboy
Rats, I was wrong about what I thought was an error, I was just looking at the wrong line in the manual. The SysEx seems to be what the manual says it should be.
(This is line 88 in launchpad_mk2.clj and the middle of Page 12 in the Programmer Reference.)
Benjamin Gudehus
@hastebrot

Pressing "Start" in the web UI results in showing this error:

Unable to write UpdateDmxData message to OLA: Cannot connect, is it running?

I've installed OLA, but I think it doesn't run.
James Elliott
@brunchboy
You may be right. We can troubleshoot that another time.
I am mystified about what is going on here, I may need to take Novation up on their offer of loaning me an Mk2, but that would take a long time to arrive.
Benjamin Gudehus
@hastebrot
James Elliott
@brunchboy
You could try sending various colors: I realized that what I said earlier about the pads being updated 15 times per second won’t cause us problems if we use a pad that has a static color, because Afterglow only sends changed colors on each grid update.
Benjamin Gudehus
@hastebrot
set-pad-color throws a NPE.
James Elliott
@brunchboy
I’m working on the exact syntax for you to try.
(mk2/set-pad-color @( :controller mk2-watcher) 0 0 (create-color "white"))
The :controller key holds an atom, so you need to dereference it using @ or (deref ...).
Benjamin Gudehus
@hastebrot
Ahh, thanks. So, origin [0,0] is at the bottom-left.
James Elliott
@brunchboy
Correct. What did that color end up looking like?
Benjamin Gudehus
@hastebrot
And maroon is cyan.
is defined maroon as [128, 0, 0] in RGB
And red is green.
James Elliott
@brunchboy

If you have a MIDI monitoring tool, it might be nice to call

(def c @(:controller mk2-watcher))
(mk2/deactivate mk2-watcher)

That will stop afterglow sending stuff, then you can call (mk2/set-pad-color c 0 0 (create-color "white")) and see exactly what bytes are being sent to the controller, and if they match what the reference manual says they should.

Benjamin Gudehus
@hastebrot
KMidimon can monitor a MIDI data stream, in order to diagnose a malfunctioning piece of equipment or to examine the contents of a MIDI sequence during playback.
James Elliott
@brunchboy
Excellent.
Deactivating the binding will stop the tempo flashes, rainbow cues, and other such messages that would drown out what we are looking for.
I wonder if I can find anyone with an Mk2 to borrow locally?
Benjamin Gudehus
@hastebrot
I deactivated the sample show in order to check every button one-by-one.
James Elliott
@brunchboy
I am not sure what you meant by deactivating the show. You can start or stop the OLA update thread, but other than that, once a show is created it exists. Or did you restart the REPL without creating the sample cues?
Benjamin Gudehus
@hastebrot
Yes. Uncommented the make-cues.
This is strange in second column every position is right
James Elliott
@brunchboy
Are the colors coming out correct?
Benjamin Gudehus
@hastebrot
No again maroon is cyan and red is (dark) green.
James Elliott
@brunchboy
Have you been able to see the SysEx bytes?
Wait!
There is clearly an error in the manual. For the hex version of the command they have the value 0b, and for decimal they have 11.
Sorry, for decimal they have 10.
0b is 11.
Let’s try sending 11 rather than 10 and see if it works.