r/macosprogramming • • 12h ago

Camera input to MIDI on macOS: separating continuous control from note triggers

1 Upvotes

Hi, I'm Shubhra, one of the people building Sonari, a macOS instrument that uses the built-in camera to turn hand movement into MIDI for a DAW. I've been working through a boundary in the interaction model: some movements should be continuous values, such as pitch bend, while others should become discrete events, such as a strum or drum hit.

The same tracking noise affects them differently. Smoothing can make a continuous control steadier, but it can delay an event. A trigger threshold that prevents accidental notes can also make a deliberate hit feel unresponsive. I'm considering whether to treat these as separate paths, with continuous smoothing for values and hysteresis or a neutral zone for event detection.

For people building macOS camera or sensor input, how do you usually structure that boundary? Do you keep one shared filter before routing inputs, or tune filtering separately for continuous controls and triggers? I'm interested in the interaction and input architecture side.


r/macosprogramming • • 15h ago

I built a free, open-source debugging proxy for iOS and Android apps (native Mac app)

Thumbnail
gallery
1 Upvotes

Hi all, I got tired of the same routine on every new simulator or emulator: set the proxy, install the certificate, find out why HTTPS is still unreadable, and later find the proxy left behind with no internet. So I built Lynkei, a free, open-source HTTP(S) debugging proxy for Mac, and I'd like your feedback.

What it does

  • One-click device setup. It lists booted iOS Simulators, Android emulators and USB Android phones. Press Connect and it sets the proxy and installs the certificate, then tells you when traffic arrives.
  • Decrypts HTTPS, including HTTP/2 and WebSockets. When an app pins its certificate it tells you why instead of showing a blank.
  • Change traffic, don't only watch it: breakpoints, mock responses, rewrite rules, DNS spoofing and throttling.
  • Understands your API: GraphQL operations, gRPC calls and common analytics events are decoded.
  • A switch per device to turn the proxy off and on without disconnecting, so a device never gets stuck with a dead proxy.
  • Built-in MCP server, so AI assistants (Claude Code, Cursor, anything with MCP) can connect a device, read traffic and add rules. There's also a ready-made agent skill that sets it all up.
  • A native SwiftUI app on a Rust engine, with separate Apple Silicon and Intel builds. Apache-2.0.

Honest limits

  • Mac only, macOS 14 or later.
  • The build isn't notarized yet, so macOS blocks the first launch. The README has the one-line fix.
  • A real iPhone still needs a manual Wi-Fi proxy; the one-click flow is for simulators, emulators and Android phones over USB.
  • It can't capture apps that ignore the system proxy or pin their certificates.
  • It's young, so expect rough edges. It's a one-person project.

Download and source: https://github.com/jaintvn/lynkei (the Releases page has both builds)

I'd especially like to hear which features you'd expect from a tool like this that are missing, and what breaks on your setup.


r/macosprogramming • • 20h ago

Gestures & Scroll, an open-source mouse and trackpad utility for macOS

1 Upvotes

I built Gestures & Scroll with Codex and tested it on my Mac. I wanted classic mouse scrolling and natural trackpad scrolling alongside the shortcuts I use every day. It starts with three-finger copy and four-finger paste, and lets me draw a shape to open Telegram.

The settings UI uses SwiftUI. Scroll processing uses Quartz, and the built-in trackpad reader uses macOS's private MultitouchSupport interface. The project is Apache-2.0 licensed and targets Apple Silicon on macOS 14 or later. The release includes an ad hoc signed DMG.

I'd be interested in feedback on how the scroll settings behave with different mice.

https://github.com/sailjkeee/gestures-and-scroll