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)

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.
But what seems to be the case is that MIDI interface management works fundamentally different in Linux JVMs that macOS and Windows JVMs. So if you can help try to find a way around this, that will definitely speed things up. However, we would have to be very careful not to change the way it currently works on macOS and Windows, because I have many people using it for touring shows, festivals, and clubs today, and can’t risk breaking them. So for now the answer is going to be telling people not to try to use the built-in trigger MIDI features on Linux, and perhaps deprecating that OS family entirely.
James Elliott
@brunchboy
Well, I have Leiningen and the BLT source installed on the Pi, and am trying to bring it up in a REPL for more testing. I have some ideas about things to try. But Leiningen has been timing out because the Pi is not nearly as fast as my development machine (go figure! :wink:). I think I just figured out how to work around that.
James Elliott
@brunchboy
Ok, it has been very frustrating and slow getting anything testable, but I have already learned something very interesting and promising. The problem may be a lot easier to work around than I feared, because it seems to be simply that in Linux, midi-clj can’t find a device you are asking for when you supply the name that it gave for that device!
James Elliott
@brunchboy
Woo hoo, I think I have an answer @whoman321! It turns out all this time I’ve been calling the midi-clj functions wrong, because they behave in a way that is not idiomatic Clojure (they are pretty old, they were written when Clojure was new and best practices weren’t widely known). They treat input strings as if they were regular expressions, and so the brackets in Linux device names are making them not match. The more idiomatic (and developer-friendly) way for the functions to work would be to accept both plain strings and regular expressions as the target being searched for (regular expressions have nice, concise literal syntax in Clojure so they are easy to type), and then it could work either way. I may open a PR with midi-clj about this, although the only backwards-compatible way to do it would be to offer a new function that works this way and deprecates the old one. (While I’m at it, I might suggest they get rid of the midi- prefix on all their function names, that is also not idiomatic, the best practice is just to name the functions for what they do, and let people use namespace aliases to make it clear where they come from.) But that is a project for another day; for now I just need to fix the places that Beat Link Trigger is calling these functions to properly escape any regular expression special characters, and we should be able to get MIDI output selection working in Linux!
James Elliott
@brunchboy
I have verified that my proposed fix works on Raspbian, and have pushed it to GitHub. When you get a chance, could you download the latest preview jar at https://github.com/Deep-Symmetry/beat-link-trigger/releases/tag/v0.6.3-SNAPSHOT and see if it works for you too?
If this works, it’s definitely time to publish a new official release of BLT. I should have a while ago, there is some good stuff in 0.6.3.
whoman321
@whoman321
Yup it works! Thanks so much my man!
Eric Lindvall
@eric
does anyone know of an integration with BLT that runs Hue lights to the beat?
James Elliott
@brunchboy
I’ve not heard of anyone doing that, but if they have a reasonable API, it should be pretty easy. I’d encourage you to try, and I’d be happy to share your code in the user guide!
James Elliott
@brunchboy
@eric do you know if the Hue can be controlled with a local connection, or if there always has to be a round-trip to some cloud service? In the latter case, latency issues may make it not suitable for show synchronization. I wish I had one to try experimenting with. If anyone wants to loan me one I would tinker! :smile:
James Elliott
@brunchboy
Yes, it looks like there is a local LAN API we can use, so it would just be a matter of configuring information about your bridge and lights in the trigger or global setup functions, and then sending HTTPS requests in response to beats or whatever you like to control the lights. I am curious what they are using for their SSL certificate, since the bridge server isn’t going to have a valid public domain name, there may be some of the usual pain around configuring trust for a self-signed certificate. https://developers.meethue.com/develop/get-started-2/
Eric Lindvall
@eric
thanks
every time I open Beat Link Trigger I have to re-enable the abelton link integration. is there a way to make that happen automatically on start?
Eric Lindvall
@eric
I don't understand where I put the Came Online Expression
ah, here it is in the Triggers menu. sorry about that
Eric Lindvall
@eric
looks like I got it to work
James Elliott
@brunchboy
Great!
James Elliott
@brunchboy
I’m glad you were able to get what you wanted working, @eric. Did that include communicating with Hue bulbs yet?
James Elliott
@brunchboy
All right, I think it’s time to cut a release of Beat Link Trigger with all the little features and fixes that have accumulated over the last few months, before I dive into exploring supporting six CDJs for the newer hardware.
Maddix
@nmaddix
Someone just commented about https://www.prodjlink.com/ on a reddit post where I mentioned BLT. At a glance it looks like it just extracts the timecode and doesn't have any show functionality. Ever tried it?
James Elliott
@brunchboy
Someone on this chat might have. I personally have to be careful not to look at commercial offerings in this space, because they generally have very restrictive end-user license agreements which could interfere with my ability to continue to research, develop, and offer the completely free and open-source implementations that power BLT. Also, some of the companies in this area have been extremely unfriendly, litigious, and unpleasant in the past (I’m not saying this is one of them, I don’t know what that company is called any more or even if it still exists, I just try to stay far away so I can keep doing my thing).
James Elliott
@brunchboy
Sigh… not cutting the release tonight. I fixed one bug about reporting the wrong trigger number when there is an exception in an expression at load time for triggers other than Trigger 1, but then discovered that the search function is not working properly in the embedded user guide, which makes it really hard to use when not connected to the internet. I am looking for help on the Antora users channel, but don’t want to finish the release until that is sorted out.
James Elliott
@brunchboy
Hurrah! :tada: I got the search working in the embedded user guide again with the help of the author of that integration. And then I spent all of today rediscovering how very many of my own libraries go into Beat Link Trigger, and cutting the releases of all of them neeed to build each other so I can release Beat Link Trigger 0.6.3. But that is in process right now. I also updated the version of Ableton Link that gets embedded to 3.0.3.
James Elliott
@brunchboy
And it is finally released, just in time to be an end-of-year gift. :gift:
Kevinnns
@Kevinnns
That's awesome James! I've finally started trying to use BLT for what it's supposed to, so the new way of scrolling and zooming in the wave forms in the show interface are very welcome :)
Also; The Cue Libraries are a great way to easely re-use stuff, love that! That's what I get for never really diving into the Show stuff.
James Elliott
@brunchboy
That’s lovely to hear, Kevin!
sergioherculano
@sergioherculano
Hi Colleagues, I am aware the difficult to get data from Rekordbox but I know that can be difficult but is not impossible :) this is the picture of my setup. My goal is to achieve a better integration of my DJ Setup with Resolume and My Light Software/Console via MIDI / OSC Messages to resolume and MIDI Time Code to Vista Chroma-Q, today I am able to do that but in total manual way and I would like to have it in sync or controlled via CUES in sync with the music I am playing. Is there any other findings how this can be possible ? If not from which point do you recommend me to start if I decide to develop something in this direction ? DJ Setup Layout.jpg
James Elliott
@brunchboy
If you are talking about rekordbox in performance mode, no, there is no reason to believe that will ever even be theoretically possible. It simply does not participate in a network with other devices or software in that way.
If you want to do that sort of thing, use rekordbox in export mode, with controllers that participate in a DJ Link network.
James Elliott
@brunchboy
The IP communication between rekordbox and that controller is interesting, though. If you have been able to find out anything usable in it, that would be very interesting. Are you familiar with our detailed analysis of the IP protocols that make up Pro DJ Link?
Kevinnns
@Kevinnns
@brunchboy I was looking at that as well and thinking: What would happen if you were able to spawn BLT on a Virtual IP/Nic in that same network?
But then I remembered: Rekordbox takes all
That binds to *