Did you know your MacBook has a sensor that knows the exact angle of the screen hinge?

It’s not exposed as a public API, but I figured out a way to read it and make it sound like an old wooden door.

Source code and a downloadable app to try it yourself: https://github.com/samhenrigold/LidAngleSensor

I have so much free time it’s unbelievable. I’m open to full-time work in NYC or remote. Senior product designer/design engineer. https://samhenri.gold
Sam Henri Gold

Sam Henri Gold is a product design engineer building playful, useful software.

@T_X @samhenrigold Nice. That could even be a theremin where one can hold a tone. How would we do volume ;) ?
@kellertuer @samhenrigold two MacBooks maybe :D? I'm wondering if that could be done via #MIDI over #Ethernet or MIDI over #RTP (or does MIDI over X expect both the tone and volume to come from the same source? is MIDI even suitable for an analog pitch?)