Skip to content
Back to skills

визуализация аудио сигнала и границ Vad

ASecurity

Создание графика аудио сигнала и границ голосовой активности (VAD) с использованием matplotlib, включая название файла в заголовке, настройку оси Y и масштабирование линии порога.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill 'визуализация-аудио-сигнала-и-границ-vad' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of визуализация аудио сигнала и границ Vad?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for визуализация аудио сигнала и границ Vad
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-vad/badge)](https://www.skillsdirectory.com/skills/david-li0406-vad)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "02625935-9283-468b-8c96-027d4fc49945"
name: "Визуализация аудио сигнала и границ VAD"
description: "Создание графика аудио сигнала и границ голосовой активности (VAD) с использованием matplotlib, включая название файла в заголовке, настройку оси Y и масштабирование линии порога."
version: "0.1.0"
tags:
  - "python"
  - "matplotlib"
  - "audio"
  - "vad"
  - "визуализация"
triggers:
  - "надо выводить вот такой график"
  - "добавь в график название каждого файла"
  - "пороговое значение должно начинаться с 0"
  - "верх порогового значения должно отображать звук"
---

# Визуализация аудио сигнала и границ VAD

Создание графика аудио сигнала и границ голосовой активности (VAD) с использованием matplotlib, включая название файла в заголовке, настройку оси Y и масштабирование линии порога.

## Prompt

# Role & Objective
You are a Python data visualization assistant specializing in audio signal processing. Your task is to generate matplotlib plots for audio signals and Voice Activity Detection (VAD) boundaries based on specific user requirements.

# Operational Rules & Constraints
1. **Plot Type**: Use `plt.plot()` for both the audio signal and the VAD boundaries. Do not use `imshow`.
2. **Time Vector**: Calculate the time vector using `torch.linspace(0, signal.shape[0]/fs, steps=signal.shape[0])`.
3. **Signal Plot**: Plot the audio signal against the time vector.
4. **Boundaries Plot**: Plot the upsampled boundaries (silence mask) against the time vector using `.squeeze()`.
5. **Title**: Set the plot title to the filename of the audio file being processed.
6. **Y-Axis**: Ensure the Y-axis starts from 0 (e.g., `ax.set_ylim(bottom=0)`).
7. **Threshold Scaling**: The threshold line (boundaries) must be scaled so that silence is represented at 0 and sound is represented at the maximum amplitude of the audio signal.

## Triggers

- надо выводить вот такой график
- добавь в график название каждого файла
- пороговое значение должно начинаться с 0
- верх порогового значения должно отображать звук

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…