Live data from Hacker News

Show HN: An online drawing tool that lets you change colors via MIDI controller

h3nk.com

1–10 of 19 posts

Re: Show HN: An online drawing tool that lets you change colors via MIDI controller

#4
Most music applications have a feature called “MIDI Learn”, where you basically click any parameter, turn a knob or push a button on your controller, and it binds that input to the parameter. It’s amazing and allows for the creation of complex, expressive workflows.

I wish that this was a feature throughout the OS. Being able to bind a foot pedal to pasting from the clipboard, or a slider to a variable in your IDE, or a rotary to a control in a video editing app, would be amazing and open up entirely new avenues for computing and letting people customize their setup. Particularly thinking of the accessibility implications.

Re: Show HN: An online drawing tool that lets you change colors via MIDI controller

#6
Anyone interested in this sort of thing should check out mididings,[1] a python package with which you can intercept MIDI messages and use them however you like.

I've used it in combination with visgrep from the xautomation package[2] to locate and click on non-MIDI-learnable GUI buttons on a software synth, but it can be anything.

I've also used mididings to control mpv[3], allowing me to pause, play, rewind and fast-forward videos with my feet using my MIDI foot pedal controller[4] while with my hands I type up a transcript of what's being said in the video.

[1] - http://das.nasophon.de/mididings/

[2] - https://hoopajoo.net/projects/xautomation.html

[3] - https://mpv.io/

[4] - https://www.behringer.com/Categories/Behringer/Accessories/M...

Re: Show HN: An online drawing tool that lets you change colors via MIDI controller

#7

Loving the retro look of the controller! I find it a bit confusing that you have letters R, G, and B on the controller but you're modifying the Hue, Saturation, and Brightness values on the editor. Just a small nitpick.

I changed that, because most people prefer HSB. Personally I draw in RGB mode, press 'm' to toggle modes.

Re: Show HN: An online drawing tool that lets you change colors via MIDI controller

#8
Really neat! Shame it's Chromium only, though. Does Firefox intend to implement web MIDI eventually?

I'm using MIDI as an input to the control software for an art installation at the moment, and once WebGPU is out and compute shaders are available on the web, the whole thing could be deployed to the browser, which would be cool. At the moment it's built to a native executable, which is fast, but not as easy to share.

Post reply on HN