Approved catalog listing
SKILL #3354
skillshunter.net
Home / Software & Development / Nj Listen: Local Audio-to-Text Transcription for Arabic Dialects with Speaker Identification
Listing Approved Approved on: November 29, 2026

Nj Listen: Local Audio-to-Text Transcription for Arabic Dialects with Speaker Identification

Transcribe audio or video recordings (multitrack, minutes to hours) into a timed, speaker-labelled transcript locally, free and open source, without cloud usage. Built for Arabic dialects (Jordanian, Levantine) with MSA and English words mid-sentence, suitable for meetings, UAT, or sprint recordings.

Rate this skill

No ratings yet

Editor's Note

To use this tool, ensure the system has Python 3.8+ installed, and the required dependencies (e.g., openvino-genai, sherpa-onnx, soundfile, numpy, huggingface_hub). The `--enroll` parameter requires a JSON file with speaker introduction timestamps for accurate speaker identification. The first deliverable is `probe.json`, followed by `track-<n>.wav`, `sweep.json`, and eventually `result.json`.

When to Use It

  • Transcribe a meeting recording
  • Generate minutes from a recording
  • Identify who said what in a meeting
  • Convert voice notes to text
  • Speaker identification in multitrack recordings

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md

nj-listen

Claude cannot hear audio. This skill is the ear: a local engine that turns a recording into a timed, speaker-labelled transcript, which Claude then reads (dialect clean-up, English terms, facts, decisions).

Rules it keeps: Claude models only for every AI step; speech-to-text is a local open model, not an API. Free of charge, open source. Client audio never leaves the machine.

Run it

PYTHONUTF8=1 uv run --no-project --with openvino-genai --with sherpa-onnx --with soundfile --with numpy --with huggingface_hub \
  python scripts/listen.py run <media> <out_dir> [--prompt "terms the meeting uses: Docker, sprint, payment gateway"] [--enroll enroll.json]

With an NVIDIA card add --with faster-whisper --with nvidia-cublas-cu12 --with "nvidia-cudnn-cu12<10"; --device auto (the default) then runs Whisper on CUDA, else OpenVINO on an Intel iGPU, else the CPU. Set BW_LISTEN_MODELS to keep the models off the system drive.

  • <out_dir> gets one checkpoint per stage: probe.json → track-<n>.wav → sweep.json → transcript.json ∥ speakers.json → named.json (with --enroll) → result.json. A re-run resumes at the first missing checkpoint.
  • Progress is one JSON line per event on stdout. touch <out_dir>/PAUSE pauses, <out_dir>/STOP stops (exit 3).
  • --prompt: name the English terms and the topic. It is what keeps Kubernetes in Latin script instead of كبرنتيس.
  • --enroll: {"name": [[start, end], ...]}, the seconds where each person introduced themselves. Without it, speakers are clusters (t0s3); with it, names, and a voice that matches nobody stays Unknown.
  • python scripts/listen.py --selftest checks the pure logic with no models (CI).

The engines and why

Stage Engine Licence Why this one (measured 2026-11-12, i5-1334U + Iris Xe, no GPU card)
Speech regions Silero VAD (sherpa-onnx) MIT skips silence; 49.8 min in 31 s
Speech-to-text Whisper large-v3-turbo: faster-whisper on NVIDIA CUDA, else OpenVINO GenAI int8 on the Intel iGPU, else CPU MIT / Apache-2.0 CUDA (RTX 2060, 2026-11-13): RTF 0.078. iGPU RTF 0.42; OpenVINO-CPU 0.97 to ~4.5 by machine. Keeps dialect; medium turned dialect into MSA and invented words
Chunks VAD regions joined over pauses < 1.5 s (≤ 28 s) 0.6 s left 1-3 s fragments that came out as nonsense (~15 of 99 on a 10-min clip); 1.5 s gave 53 whole sentences. Stock hallucinations («اشتركوا في القناة», "thanks for watching") and silent segments are dropped; short or stretched chunks are flagged
Speakers pyannote-segmentation-3.0 (sherpa-onnx) segments, regrouped on ERes2Net voiceprints (average linkage 0.4) MIT / Apache-2.0 CAM++ clustering never kept a Gulf host apart from an Egyptian guest on one mix (0.5-0.8); ERes2Net regrouping gave exactly 2 voices. Runs as its own process (sherpa holds the GIL)
Names ERes2Net base voiceprints Apache-2.0 15/15 on a labelled 3-person test (CAM++ 7/15, WeSpeaker 10/15); threshold 0.60 from an open-set test (2026-11-13): an un-enrolled voice scored at most 0.57, so none got a name, and 118/157 genuine segments kept theirs (0.53 named 4/157 strangers)

Whole pipeline: 49.8 min of Jordanian-dialect podcast in 18.8 min wall on the iGPU (RTF 0.38); 10 min of an Egyptian/Gulf talk show in 1.2 min on an RTX 2060, so 2 h ≈ 15 min.

What Claude does with result.json

  1. Read segments (start, end, speaker, text, loop, mixed).
  2. Fix English terms written in Arabic script or misheard (word of math → word of mouth) from context, never inventing content.
  3. Treat loop: true (a decoding loop, collapsed) and mixed: true (two voices in one chunk) as low confidence: show them, do not quote them as facts.
  4. Extract decisions, requirements, open questions, each with its timestamp and speaker.

Recording protocol that makes it work

The leader opens with the meeting title, purpose and type; every attendee says name and role (Arabic, English too if they like); after each stage, the client summarises what was agreed without interruption. The intros become the --enroll windows; the summaries are the high-value spans. Several people on one mic: each still introduces themselves.

Limits, stated plainly

  • Same-mic voices separate less cleanly than the labelled test (which used different recordings); the preview lets a person re-assign a name.
  • Overlapping talk is flagged, not separated.
  • No timestamps inside a chunk (chunks are ≤ 28 s).
  • Source of truth for the code: Business-Wrap engine/listen/listen.py; this copy is synced from it.
View original Markdown
---
name: nj-listen
description: 'Give Claude ears: turn a meeting recording (audio or video, multitrack, minutes to hours) into who said what and when, locally, free and open source, no cloud. Built for Arabic dialects (Jordanian, Levantine) with MSA and English words mid-sentence, people talking over each other on one table mic. Speakers named from their self-introductions. Use for: transcribe a meeting, UAT or sprint recording, minutes from a recording, who said what, speaker names, voice notes to text. Arabic: فرّغ التسجيل، تفريغ اجتماع، تحويل الصوت إلى نص، من قال ماذا، محضر من تسجيل.'
---

# nj-listen

Claude cannot hear audio. This skill is the ear: a local engine that turns a recording into a timed,
speaker-labelled transcript, which Claude then reads (dialect clean-up, English terms, facts, decisions).

**Rules it keeps:** Claude models only for every AI step; speech-to-text is a local open model, not an API.
Free of charge, open source. Client audio never leaves the machine.

## Run it

```
PYTHONUTF8=1 uv run --no-project --with openvino-genai --with sherpa-onnx --with soundfile --with numpy --with huggingface_hub \
  python scripts/listen.py run <media> <out_dir> [--prompt "terms the meeting uses: Docker, sprint, payment gateway"] [--enroll enroll.json]
```

With an NVIDIA card add `--with faster-whisper --with nvidia-cublas-cu12 --with "nvidia-cudnn-cu12<10"`; `--device auto` (the default)
then runs Whisper on CUDA, else OpenVINO on an Intel iGPU, else the CPU. Set `BW_LISTEN_MODELS` to keep the models off the system drive.

- `<out_dir>` gets one checkpoint per stage: `probe.json` → `track-<n>.wav` → `sweep.json` → `transcript.json` ∥ `speakers.json`
  → `named.json` (with `--enroll`) → `result.json`. A re-run resumes at the first missing checkpoint.
- Progress is one JSON line per event on stdout. `touch <out_dir>/PAUSE` pauses, `<out_dir>/STOP` stops (exit 3).
- `--prompt`: name the English terms and the topic. It is what keeps `Kubernetes` in Latin script instead of `كبرنتيس`.
- `--enroll`: `{"name": [[start, end], ...]}`, the seconds where each person introduced themselves. Without it, speakers are
  clusters (`t0s3`); with it, names, and a voice that matches nobody stays `Unknown`.
- `python scripts/listen.py --selftest` checks the pure logic with no models (CI).

## The engines and why

| Stage | Engine | Licence | Why this one (measured 2026-11-12, i5-1334U + Iris Xe, no GPU card) |
|---|---|---|---|
| Speech regions | Silero VAD (sherpa-onnx) | MIT | skips silence; 49.8 min in 31 s |
| Speech-to-text | Whisper large-v3-turbo: faster-whisper on **NVIDIA CUDA**, else OpenVINO GenAI int8 on the **Intel iGPU**, else CPU | MIT / Apache-2.0 | CUDA (RTX 2060, 2026-11-13): RTF 0.078. iGPU RTF 0.42; OpenVINO-CPU 0.97 to ~4.5 by machine. Keeps dialect; `medium` turned dialect into MSA and invented words |
| Chunks | VAD regions joined over pauses < 1.5 s (≤ 28 s) | | 0.6 s left 1-3 s fragments that came out as nonsense (~15 of 99 on a 10-min clip); 1.5 s gave 53 whole sentences. Stock hallucinations («اشتركوا في القناة», "thanks for watching") and silent segments are dropped; short or stretched chunks are flagged |
| Speakers | pyannote-segmentation-3.0 (sherpa-onnx) segments, regrouped on **ERes2Net** voiceprints (average linkage 0.4) | MIT / Apache-2.0 | CAM++ clustering never kept a Gulf host apart from an Egyptian guest on one mix (0.5-0.8); ERes2Net regrouping gave exactly 2 voices. Runs as **its own process** (sherpa holds the GIL) |
| Names | ERes2Net base voiceprints | Apache-2.0 | 15/15 on a labelled 3-person test (CAM++ 7/15, WeSpeaker 10/15); threshold 0.60 from an open-set test (2026-11-13): an un-enrolled voice scored at most 0.57, so none got a name, and 118/157 genuine segments kept theirs (0.53 named 4/157 strangers) |

Whole pipeline: 49.8 min of Jordanian-dialect podcast in 18.8 min wall on the iGPU (RTF 0.38); 10 min of an Egyptian/Gulf
talk show in 1.2 min on an RTX 2060, so 2 h ≈ 15 min.

## What Claude does with `result.json`

1. Read `segments` (`start`, `end`, `speaker`, `text`, `loop`, `mixed`).
2. Fix English terms written in Arabic script or misheard (`word of math` → `word of mouth`) from context, never inventing content.
3. Treat `loop: true` (a decoding loop, collapsed) and `mixed: true` (two voices in one chunk) as low confidence: show them, do not quote them as facts.
4. Extract decisions, requirements, open questions, each with its timestamp and speaker.

## Recording protocol that makes it work

The leader opens with the meeting title, purpose and type; every attendee says name and role (Arabic, English too if they like);
after each stage, the client summarises what was agreed without interruption. The intros become the `--enroll` windows; the
summaries are the high-value spans. Several people on one mic: each still introduces themselves.

## Limits, stated plainly

- Same-mic voices separate less cleanly than the labelled test (which used different recordings); the preview lets a person re-assign a name.
- Overlapping talk is flagged, not separated.
- No timestamps inside a chunk (chunks are ≤ 28 s).
- Source of truth for the code: Business-Wrap `engine/listen/listen.py`; this copy is synced from it.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.