HNNewShowAskJobs
Built with Tanstack Start
Show HN: AirBending – Hand gesture based macOS app MIDI controller(nanassound.com)
92 points by bepitulaz 5 days ago | 25 comments
  • blacksignal5 days ago

    Not just a ‘theremin’ — that totally downplays the power of midi. Someone else mentioned the mimu gloves, and I love the idea of a vision based controller - almost everyone has a phone, tablet or laptop with a camera, especially if theyre making music.

    I also love that this could blur the lines of music playing and dance.

    Great job OP, thanks for sharing.

    • whilenot-dev4 days ago |parent

      The Leap Motion Controller came out in 2014 already (11 years ago, wow!) and isn't very expensive. The SDK was lacking in the beginning if I recall correctly, but a webcam seems to be inferior. Technology isn't the limiting factor for a quite some time now. I'm sure many projects existed to translate gestures to MIDI, some less polished, some more polished[0][1].

      Reminds me... I even used two PlayStation Eyes (EUR 5 each) with OpenCV and the EVM algorithm[2] on a ThinkPad X230 for a dance performance piece back in 2015. Movements rather than gestures and OSC instead of MIDI, but it worked great!

      [0]: https://midipaw.com/

      [1]: https://uwyn.com/geco/

      [2]: https://people.csail.mit.edu/mrub/evm/

  • CharlesW5 days ago

    Imogen Heap demonstrating her Mi.Mu gloves: https://www.youtube.com/watch?v=ci-yB6EgVW4

    Using the gloves during an NPR Tiny Desk concert: https://www.youtube.com/watch?v=3QtklTXbKUQ&t=555s

  • xnx2 days ago

    I don't have a Mac, so I'm not sure how AirBending works, but here's a free open source one that works in the browser: https://gemini.google.com/share/e2ee937a688d

    (Prompt: "Make an in browser midi theremin using Mediapipe")

    There's a Web MIDI API, so might be able to reproduce all the functionality in a way that works across devices and operating systems.

  • vunderba5 days ago

    From the article: "When using AirBending for pitch control, you can lock your gestures to specific musical scales and keys. This ensures every note you play is perfectly in tune with your composition"

    Reminds me of the Moog Theremini - that was a fun bit of kit.

    https://en.wikipedia.org/wiki/Theremini

  • Animats5 days ago

    Theremin.

    Here's someone playing a theremin who's reasonably good.[1]

    [1] https://www.youtube.com/watch?v=K6KbEnGnymk

  • colecut4 days ago

    i grabbed this to play with it, it's pretty cool

    I seem to only be able to map each axis to a single finger?

    It seems like if it is detecting two fingers at a time I should be able to use the X and Y on each of them simultaneously?

  • abalaji5 days ago

    Seems like the same software could be used as a soundtrack for Tai Chi exercises. Would be pretty neat.

    • bepitulaz5 days ago |parent

      It seems possible, since Apple’s Vision framework can read body pose too. Maybe I can try it for the next update.

  • bjelkeman-again5 days ago

    That looks great!

    Do you have any suggestion for how to learn how to hook this up to Logic for anyone who hasn’t used midi before?

    I wonder how this would perform under live stage lighting conditions, i.e coloured strong lights and high contrast.

    • bepitulaz5 days ago |parent

      Open the app and open Logic Pro. Create a MIDI track on Logic, try waving to the app it should automatically receive MIDI message from all channels and all MIDI devices.

      Then if you want to filter the track to receive specific MIDI channel from specific device, for example AirBending channel 2, then find it in the dropdown in the MIDI inspector section in the same MIDI track.

      • bjelkeman-again2 days ago |parent

        Very cool. I’ll have to test that.

  • Obscurity43405 days ago

    This instruments timbre and tone are literally dream shit to me, so wavy and I dont know—unearthly/worldly

    • greenpizza134 days ago |parent

      This is not an instrument and does not have a timbre. He is used a midi instrument in a DAW and using this software as a midi controller.

      This is not a theremin, it’s a programmable controller which you can tie to various midi inputs. Think “slider” or “dial”.

  • singularity20015 days ago

    Great work but wouldn't the iPhone with the lidar depth sensor be a better device?

    • bepitulaz5 days ago |parent

      It’s on the plan to expand this app for iPhone. But, I haven’t tried lidar, so I decided to release for macOS first.

      Also with iPhone, I have to think how to transmit MIDI data to DAW on laptop. Well, most likely via USB or network.

      • docEdub5 days ago |parent

        Apple devices can do MIDI over Bluetooth. I've used this in the past to send VisionPro hand tracking data as MIDI.

      • import5 days ago |parent

        I do this with "Apple Lightning to USB Camera Adapter". iPad basically talks to the midi sequencer via USB.

  • drcongo4 days ago

    I would love this as an AUv3 for iPadOS, any plans?

    • bepitulaz3 days ago |parent

      There's a plan for iOS and iPadOS. Thanks for the suggestions, I will try exploring AUv3 when building it.

  • irvanputra5 days ago

    I wonder if Linux version will be available.

    • bepitulaz5 days ago |parent

      Since I developed it using Vision framework from Apple, the current focus is still for Apple devices. So, not in the near future to develop for Linux and Windows.

      • irvanputra4 days ago |parent

        Thanks for the confirmation!

  • johng5 days ago

    This is really cool, thanks for sharing.

  • andy_nguyen3 days ago

    [flagged]