Add an “I heard a pop” marker for the current playback occurrence

Open
#63 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
macos, python

Research direction

Start by reading src/aitts/adapters/clip_evidence.py and src/aitts/playback.py, then inspect the current event schema and merged evidence/session plumbing. Trace how a current playback occurrence is identified and how the existing History ZIP is assembled. Done means an explicit marker action preserves the listed correlation and state details, never changes playback, appears in the existing ZIP, and is covered for replay, chunk boundaries, purge or missing evidence, and repeated presses.

Written by the indexing model from the issue text.

Description

enhancement

Outcome

A listener can mark the instant they notice an audio glitch without interrupting playback, then include that marker in the existing History evidence ZIP.

Motivation / classification

Product idea, not a diagnosed bug. #25 already owns the long-session popping investigation and the existing exporter must be reused. After a long clip or repeated replay, recollecting the exact moment and hearing is difficult. A marker makes the report actionable even if the listener exports it hours later.

Scope and acceptance

  • Add one explicit current-playback action that appends a user-reported marker using the existing evidence pipeline.
  • Persist utterance, generation artifact, playback-session/occurrence identity, parent/child, source position and monotonic/wall-clock correlation where valid. Mark timestamp/position as the listener's delayed observation, not a measured acoustic onset.
  • Capture available route/backend and pause/underflow context by correlation; do not synthesize missing information or record other apps' audio/microphone input.
  • The action never pauses, seeks or regenerates. Handle idle/held/disconnected states truthfully.
  • Show confirmation and include markers in the existing ZIP; test replay of the same file, a chunk boundary, purge/missing evidence and repeated presses without misattribution.
  • Keep evidence local and user-exported. No automatic uploads or second exporter.

Prerequisites and exclusions

Existing evidence export/session plumbing is merged; no dependency on a model change or acoustic diagnosis. Inspect the current event schema before choosing additive fields. Excludes automatic pop detection, raw output capture, global hotkeys and waveform editing.

Safe merge state: additive user diagnostics; old evidence/readers continue working and playback semantics are unchanged.

Delivery: one coherent, independently verifiable PR. Declare change kind; use the repository testing standard and record falsification for new load-bearing assertions. Any demonstrated bug needs an observed-red regression before its fix. Preserve a working intermediate mainline and link the resulting PR/integration commit here. Do not interpret this issue as authorization to replace the installed app, merge a PR, or weaken existing acceptance criteria.

Dominant language
Python
Stars
0
Forks
1
Avg merge
2h 13m
Merged PRs (30d)
51

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flyingrobots/AI-TTS

All issues in flyingrobots/AI-TTS

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.