Settings

Theme

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

h3nk.com

53 points by rhklein 6 years ago · 18 comments

Reader

pmoriarty 6 years ago

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...

GuiA 6 years ago

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.

arianestrasse 6 years ago

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.

  • rhkleinOP 6 years ago

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

ryanthedev 6 years ago

I love it! Really cool idea and execution! I would love to experiment using a ball as the selector.

My current strategy for binding automation is using my razer naga and binding all those buttons to do various actions depending on the app that's up.

sitkack 6 years ago

What a great creation, people have already brought art into the world with it.

_def 6 years ago

I think Gimp also allows control via MIDI input. Never tried it though.

  • rhkleinOP 6 years ago

    Yes, there is a Gimp build that allows you to change colors via MIDI. One thing I didn't like about the built I tested was that you can't change colors while! making a stroke.

wdfx 6 years ago

With midi data being 7-bit aren't you losing out on an awful lot of the available colour space? Or is it near enough to not really matter in this case?

  • rhkleinOP 6 years ago

    You lose half of the possible steps in RGB mode (128 instead of 256), but a change of 2 is hardly noticeable when painting, even when applied to all three channels.

Tossrock 6 years ago

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.

captn3m0 6 years ago

Found a cool similar drawing example app: etchasketch.fun

(Yup, lets you draw on a Etch-a-sketch with MIDI knobs)

MartijnBraam 6 years ago

I wish more software could map external controls over midi or osc.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection