{"data":{"slug":"discovered-1fd09f400a77f0b16730ae68ab3443436df0bad8eb228879","title":"Nj Listen: Local Audio-to-Text Transcription for Arabic Dialects with Speaker Identification","summary":"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.","url":"https:\/\/skillshunter.net\/skills\/discovered-1fd09f400a77f0b16730ae68ab3443436df0bad8eb228879","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-1fd09f400a77f0b16730ae68ab3443436df0bad8eb228879","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-1fd09f400a77f0b16730ae68ab3443436df0bad8eb228879.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-1fd09f400a77f0b16730ae68ab3443436df0bad8eb228879\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_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`.","instructions":"---\nname: nj-listen\ndescription: '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: \u0641\u0631\u0651\u063a \u0627\u0644\u062a\u0633\u062c\u064a\u0644\u060c \u062a\u0641\u0631\u064a\u063a \u0627\u062c\u062a\u0645\u0627\u0639\u060c \u062a\u062d\u0648\u064a\u0644 \u0627\u0644\u0635\u0648\u062a \u0625\u0644\u0649 \u0646\u0635\u060c \u0645\u0646 \u0642\u0627\u0644 \u0645\u0627\u0630\u0627\u060c \u0645\u062d\u0636\u0631 \u0645\u0646 \u062a\u0633\u062c\u064a\u0644.'\n---\n\n# nj-listen\n\nClaude cannot hear audio. This skill is the ear: a local engine that turns a recording into a timed,\nspeaker-labelled transcript, which Claude then reads (dialect clean-up, English terms, facts, decisions).\n\n**Rules it keeps:** Claude models only for every AI step; speech-to-text is a local open model, not an API.\nFree of charge, open source. Client audio never leaves the machine.\n\n## Run it\n\n```\nPYTHONUTF8=1 uv run --no-project --with openvino-genai --with sherpa-onnx --with soundfile --with numpy --with huggingface_hub \\\n  python scripts\/listen.py run <media> <out_dir> [--prompt \"terms the meeting uses: Docker, sprint, payment gateway\"] [--enroll enroll.json]\n```\n\nWith an NVIDIA card add `--with faster-whisper --with nvidia-cublas-cu12 --with \"nvidia-cudnn-cu12<10\"`; `--device auto` (the default)\nthen 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.\n\n- `<out_dir>` gets one checkpoint per stage: `probe.json` \u2192 `track-<n>.wav` \u2192 `sweep.json` \u2192 `transcript.json` \u2225 `speakers.json`\n  \u2192 `named.json` (with `--enroll`) \u2192 `result.json`. A re-run resumes at the first missing checkpoint.\n- Progress is one JSON line per event on stdout. `touch <out_dir>\/PAUSE` pauses, `<out_dir>\/STOP` stops (exit 3).\n- `--prompt`: name the English terms and the topic. It is what keeps `Kubernetes` in Latin script instead of `\u0643\u0628\u0631\u0646\u062a\u064a\u0633`.\n- `--enroll`: `{\"name\": [[start, end], ...]}`, the seconds where each person introduced themselves. Without it, speakers are\n  clusters (`t0s3`); with it, names, and a voice that matches nobody stays `Unknown`.\n- `python scripts\/listen.py --selftest` checks the pure logic with no models (CI).\n\n## The engines and why\n\n| Stage | Engine | Licence | Why this one (measured 2026-11-12, i5-1334U + Iris Xe, no GPU card) |\n|---|---|---|---|\n| Speech regions | Silero VAD (sherpa-onnx) | MIT | skips silence; 49.8 min in 31 s |\n| 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 |\n| Chunks | VAD regions joined over pauses < 1.5 s (\u2264 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 (\u00ab\u0627\u0634\u062a\u0631\u0643\u0648\u0627 \u0641\u064a \u0627\u0644\u0642\u0646\u0627\u0629\u00bb, \"thanks for watching\") and silent segments are dropped; short or stretched chunks are flagged |\n| 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) |\n| 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) |\n\nWhole 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\ntalk show in 1.2 min on an RTX 2060, so 2 h \u2248 15 min.\n\n## What Claude does with `result.json`\n\n1. Read `segments` (`start`, `end`, `speaker`, `text`, `loop`, `mixed`).\n2. Fix English terms written in Arabic script or misheard (`word of math` \u2192 `word of mouth`) from context, never inventing content.\n3. 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.\n4. Extract decisions, requirements, open questions, each with its timestamp and speaker.\n\n## Recording protocol that makes it work\n\nThe leader opens with the meeting title, purpose and type; every attendee says name and role (Arabic, English too if they like);\nafter each stage, the client summarises what was agreed without interruption. The intros become the `--enroll` windows; the\nsummaries are the high-value spans. Several people on one mic: each still introduces themselves.\n\n## Limits, stated plainly\n\n- Same-mic voices separate less cleanly than the labelled test (which used different recordings); the preview lets a person re-assign a name.\n- Overlapping talk is flagged, not separated.\n- No timestamps inside a chunk (chunks are \u2264 28 s).\n- Source of truth for the code: Business-Wrap `engine\/listen\/listen.py`; this copy is synced from it.\n","use_cases":["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"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/NJ-Burrito\/NJ-Kit\/blob\/2644ffdccb94c9eb0a65b23624abe9795e005faa\/nj-plugin\/skills\/nj-listen\/SKILL.md","source_commit":"2644ffdccb94c9eb0a65b23624abe9795e005faa","license":null,"version":null,"listing_approved_at":"2026-11-29","created_at":"2026-11-28T18:51:54.000000Z","updated_at":"2026-11-29T10:53:39.000000Z","seo_title":"Nj Listen - Local Audio Transcription with Speaker Identification for","seo_description":"Transcribe audio or video recordings locally with speaker identification, built for Arabic dialects and English terms mid-sentence. Free, open source, and no cloud usage.","seo_keywords":["audio transcription","speaker identification","local transcription","Arabic dialects","meeting transcription","voice to text","open source transcription"]}}