Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 09 21:23

    brunchboy on main

    Remove no-longer needed environ… (compare)

  • Apr 07 02:45

    brunchboy on main

    Force browsers to load updated … (compare)

  • Apr 07 02:23

    github-actions[bot] on v7.0.1-SNAPSHOT

    (compare)

  • Apr 07 02:22

    brunchboy on main

    No longer throw exceptions when… (compare)

  • Apr 05 14:13
    CKunhardt closed #133
  • Apr 05 14:13
    CKunhardt commented #133
  • Apr 05 04:48
    brunchboy commented #133
  • Mar 26 19:45
    dependabot[bot] labeled #134
  • Mar 26 19:45
    dependabot[bot] opened #134
  • Mar 26 19:45

    dependabot[bot] on npm_and_yarn

    Bump minimist from 1.2.5 to 1.2… (compare)

  • Mar 26 10:27
    dependabot[bot] labeled #43
  • Mar 26 10:27
    dependabot[bot] opened #43
  • Mar 26 10:27

    dependabot[bot] on npm_and_yarn

    Bump minimist from 1.2.5 to 1.2… (compare)

  • Mar 21 00:13

    brunchboy on main

    Add thread dump instructions fo… (compare)

  • Mar 18 04:05

    brunchboy on main

    Add Zulip chat links [skip ci] (compare)

  • Mar 18 03:56

    brunchboy on v0.6.3-SNAPSHOT

    (compare)

  • Mar 18 03:55

    brunchboy on v0.7.0-SNAPSHOT

    (compare)

  • Mar 18 03:55

    brunchboy on v7.0.0-SNAPSHOT

    (compare)

  • Mar 17 23:01

    brunchboy on main

    Update chat links to the specif… (compare)

  • Mar 17 22:30

    brunchboy on main

    Update chat links to the specif… (compare)

whoman321
@whoman321
bunchboy,
Hi Bunchboy. I'm here. Actually, every time I test BLT, I restart it before every new attempt
James Elliott
@brunchboy
That’s a bit of a drag! It takes a while to launch. I sometimes have it up for days on end.
whoman321
@whoman321
So yes, the adapters are plugged in when I launch the application every time. So, this is strange, I unplugged all adapters, restarted BLT, and it shows the Enabled options just fine, even though there's nothing connected
Not here... It takes about 3 seconds to fully launch. I have a gaming laptop so it's a bit hefty
James Elliott
@brunchboy
Ah, true, it’s a lot faster from the Jar. When I launch it in development mode it has to publish the entire User Guide using Antora before it can even start Clojure.
Anyway, that’s strange that the Enabled menu is there with no devices present. What shows up in the MIDI Output menu?
whoman321
@whoman321
The MIDI Output menu shows one of the two interfaces. I'm assuming I unplugged that one last
James Elliott
@brunchboy
If that was what was chosen when you exited, then it will still be in the menu. But it should not be showing Enabled. Let me try reproducing that here.
whoman321
@whoman321
I'm going to try creating a new blank trigger and deleting the existing ones
James Elliott
@brunchboy
Yeah, when I launch BLT with a trigger configured to use a device name that does not exist, it shows “Not found” at launch time.
whoman321
@whoman321
Okay, only one blank trigger, restarted BLT with nothing plugged in. Then plugged in the adapter, and MIDI Output list now has the adapter, but even if I select it, it says NOT FOUND
James Elliott
@brunchboy
Are there any stack traces in the log file?
whoman321
@whoman321
No, nothing
I'm going to try on a different laptop right now just for the heck of it (same Ubuntu version)
James Elliott
@brunchboy
Well, maybe I am doing something wrong in how I am trying to open the devices, but you’re the first person that has run into it. :(
I posted another experiment you could try in the issue on GitHub.
whoman321
@whoman321
okay cool will try it now
James Elliott
@brunchboy
Gah, I wonder how those extra ( ended up in the expressions.
whoman321
@whoman321
Okay, so the Midi Output Selector dialog opens, but it's empty. When I run it with the simple jar file you made earlier, the dialog does show the adapter
James Elliott
@brunchboy
Interesting and troubling. Somehow midi-clj in the context of the BLT jar can’t see your MIDI interfaces.
whoman321
@whoman321
Yeah, that's so strange that they do appear in the MIDI Output list though
unless you're pulling those in from somewhere else
James Elliott
@brunchboy
Let me look. I think I ask midi-clj for all the output devices it knows about.
(And then I add back the selected output if it was missing, so the trigger will continue to work when you run BLT with that device connected.)
Yes, I use the midi-sinks method in midi-clj to get all available MIDI outputs. I would think that is the same thing its GUI uses, but I will take a look there too.
James Elliott
@brunchboy
Yes, that uses midi-sinks as well. Very, very strange. Something inexplicable is going on with midi-clj in the two environments. Although why it works for building up BLT’s list and not the midi-clj GUI list, I am at a loss.
whoman321
@whoman321
could there be a difference in the clj libraries between BLT and the midi-test jars?
James Elliott
@brunchboy
There are lots, lots more Java libraries in the BLT jar, but I thik we chose the same version of midi-clj for both.
The midi-clj readme even says “In Ubuntu Linux I use the snd-virmidi kernel module to provide software midi ports. USB midi devices should be pretty much plug and play.” so this ought to work!
whoman321
@whoman321
could there be a library in BLT that could be interfering in midi-clj's operation?
James Elliott
@brunchboy
That’s a question that I would not know how to answer.
Computers and software have grown so complex that it is amazing when anything works.
whoman321
@whoman321
yeah it's a massive amount of libraries.
James Elliott
@brunchboy
However, this doesn’t seem to happen under macOS or Windows, and I don’t have an Ubuntu machine or hardware MIDI adapter to experiment with myself.
If Raspbian and a USB MIDI keyboard is close enough I could try some stuff there, but this is very frustrating.
whoman321
@whoman321
does the Midi keyboard have MIDI IN? can it work as a receiver? or is it just MIDI out to trigger something else?
James Elliott
@brunchboy
The USB is bi-directional, so I can light up buttons by sending MIDI from BLT.
whoman321
@whoman321
Raspbian would definitely be close enough for sure... just might take a long time to launch. I get the same results in Debian stretch, which is pretty much what raspbian is built on top of
Okay yeah that should be enough to test it with
Bro, I just wanna say that I am wholly grateful for all your help. I really appreciate you taking the time to help dig into all of this
James Elliott
@brunchboy
(I also have an Ableton Push and Push 2, and developed some really cool pressure-sensitive UIs for running light shows on them, and drive the mini RGB monitor at the top of the Push 2 using another Java library of mine, so I could enlist those for more testing.)
whoman321
@whoman321
awesome!
James Elliott
@brunchboy
I’m just annoyed this snag is preventing you from accomplishing what you want! I appreciate all the careful testing and reports you have been giving me.
I will try some experiments with Raspbian and get back to you. I probably don’t have time tonight because I need to finish laundry and then tackle today’s Advent of Code challenge. But hopefully tomorrow.
whoman321
@whoman321
Sounds good. Have a rad night my man!
James Elliott
@brunchboy
Thanks, you too! Maybe sleeping on this will give me some other ideas too. I suspect it has to do with the way that BLT opens MIDI devices as soon as it knows about them, and keeps them open, to be able to share them between triggers. I will have to re-learn how that all works, and then see if there is a way to not do that in Linux if it doesn’t work there. But the first step will be seeing if I can reproduce the problem with hardware I have here.
whoman321
@whoman321
Hey bud! Hope all is well. Have you had a chance to test it out on the Raspberry Pi? No rush at all.. I'm sure you've got plenty on your plate already. Just checking in.
James Elliott
@brunchboy
You’ll be the first to know when I do, @whoman321! Unfortunately, last week was too busy, between work and the competetiveness my coworkers encourage in solving Advent of Code problems. I hope to have time to take out and set up the Pi this weekend, though, probably Sunday afternoon.
James Elliott
@brunchboy
Well, @whoman321, I finally had time to hook everything up, and I can confirm that Raspbian has the same probelmatic behavior as you have reported. I will try to dig a little bit deeper, but right now I am being stymied as I can’t seem to establish an nREPL connection from my development machine to the Beat Link Trigger process running on the Pi, which will make experimentation far more tedious. I’ll start installing some development tools on the Pi.