DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to show a listening indicator during voice input with Thinking Orbs

Display a pausable listening orb that freezes when recording stops.

Short answer: Add the Thinking Orbs package to your Xcode project using File > Add Package Dependencies with https://github.com/haplollc/ThinkingOrbs; then import Thinking Orbs in the view that handles recording; Place ThinkingOrb(.listening, isPaused: !isRecording) where the indicator should appear, with isRecording set by your recording state. All steps.

Who it is forA developer adding voice input or transcription to an app who needs visible feedback while the microphone is active.

The problemUsers do not know whether the app is still hearing them, and a static icon gives no sign of live activity.

The outcomeA listening orb animates while recording and freezes on its current frame when recording stops.

What you need first

  • Xcode 16 or later with Swift 6, on a Mac
  • An app targeting iOS 17+, macOS 14+, tvOS 17+, watchOS 10+ or visionOS 1+
  • Node, only if you want to run Scripts/differential-sweep.sh (inferred from the README, which says the script runs the original engine under Node)

Steps

  1. Add the Thinking Orbs package to your Xcode project using File > Add Package Dependencies with https://github.com/haplollc/ThinkingOrbs.
  2. Import Thinking Orbs in the view that handles recording.
  3. Place ThinkingOrb(.listening, isPaused: !isRecording) where the indicator should appear, with isRecording set by your recording state.
  4. Optionally add speed: 1.5 to the same call to change the tempo as a multiplier on the tuned speed.
  5. Start and stop recording on a device or simulator and check that the orb freezes when recording stops.

Prompt for your agent

Using the ThinkingOrbs repo (https://github.com/haplollc/ThinkingOrbs), add a ThinkingOrb(.listening, isPaused:) indicator bound to the recording state of <target voice screen>. Return the SwiftUI view code and confirm the orb pauses when isRecording is false.

Caveat. The indicator only shows motion. It does not record or transcribe audio, so your app must provide the recording state.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for haplollc/ThinkingOrbs and "Show a listening indicator during voice input"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer