brunchboy on main
Remove no-longer needed environ… (compare)
brunchboy on main
Force browsers to load updated … (compare)
github-actions[bot] on v7.0.1-SNAPSHOT
brunchboy on main
No longer throw exceptions when… (compare)
dependabot[bot] on npm_and_yarn
Bump minimist from 1.2.5 to 1.2… (compare)
dependabot[bot] on npm_and_yarn
Bump minimist from 1.2.5 to 1.2… (compare)
brunchboy on main
Add thread dump instructions fo… (compare)
brunchboy on main
Add Zulip chat links [skip ci] (compare)
brunchboy on v0.6.3-SNAPSHOT
brunchboy on v0.7.0-SNAPSHOT
brunchboy on v7.0.0-SNAPSHOT
brunchboy on main
Update chat links to the specif… (compare)
brunchboy on main
Update chat links to the specif… (compare)
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.
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!
midi-clj
can’t find a device you are asking for when you supply the name that it gave for that device!
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!