Skip to content
Back to skills

Studio Audio Visualizer

ASecurity

Build music and podcast audiogram videos with waveform or spectrum visuals driven by audio analysis (ffmpeg showwaves/showspectrum or Remotion audio data), captions and cover art, exported square and vertical. Triggers: "make an audiogram", "podcast clip video", "waveform video", "music visualizer for Instagram".

  • 25 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgobashreact

Works with

  • cursor
  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add tinh2/skills-hub-registry --skill studio-audio-visualizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Studio Audio Visualizer?

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

Security grade badge for Studio Audio Visualizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tinh2-studio-audio-visualizer/badge)](https://www.skillsdirectory.com/skills/tinh2-studio-audio-visualizer)

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
---
name: studio-audio-visualizer
description: Build music and podcast audiogram videos with waveform or spectrum visuals driven by audio analysis (ffmpeg showwaves/showspectrum or Remotion audio data), captions and cover art, exported square and vertical. Triggers: "make an audiogram", "podcast clip video", "waveform video", "music visualizer for Instagram".
version: "1.0.0"
category: build
platforms: [CLAUDE_CODE, CURSOR, CODEX_CLI]
---

# Audio visualizer and audiograms

An audiogram turns audio into something people stop scrolling for: cover art, a visual that clearly reacts to the sound, and captions for viewers watching muted.

## Inputs to agree on

- Audio clip: start and end time, 15 to 60 s for social, loudness-normalized source.
- Cover art (at least 1400 px square), show or track title, speaker names.
- Captions: existing transcript or Whisper transcription; word-level highlight or line-level.
- Formats: square 1080x1080, vertical 1080x1920, optional 1920x1080.
- Visual style: bars, mirrored waveform, line, circular spectrum; brand colors.

## Toolchain

- ffmpeg filters: `showwaves`, `showfreqs`, `showspectrum`, `showcqt`, `avectorscope`, `subtitles`. Fast and scriptable.
- Remotion with `@remotion/media-utils` (`useAudioData`, `visualizeAudio`, `visualizeAudioWaveform`) for designed, brandable visuals and animated captions.
- Whisper or whisper.cpp for timed captions.
- Alternatives: After Effects with Audio Spectrum, Headliner or similar hosted audiogram tools.

## Workflow

### 1. Cut and normalize the clip

```bash
ffmpeg -ss 00:12:30 -to 00:13:15 -i episode.wav -af "afade=t=in:d=0.3,afade=t=out:st=44.5:d=0.5,loudnorm=I=-14:TP=-1" -ar 48000 clip.wav
```

Single-pass loudnorm is acceptable for a short clip; use two-pass for final masters. Fade in and out to avoid clicks.

### 2. Captions

```bash
whisper clip.wav --model medium --output_format srt --word_timestamps True --max_line_width 26 --max_line_count 2
```

Proofread names. Keep lines short: viewers read captions in under a second.

### 3a. ffmpeg audiogram (square)

```bash
ffmpeg -loop 1 -i cover.jpg -i clip.wav -filter_complex "\
[0:v]scale=1080:1080:force_original_aspect_ratio=increase,crop=1080:1080,boxblur=30:2,eq=brightness=-0.25[bg];\
[0:v]scale=560:560[art];\
[1:a]showwaves=s=900x200:mode=cline:rate=30:colors=0xFFD400:scale=sqrt,format=rgba[wave];\
[bg][art]overlay=(W-w)/2:120[a];\
[a][wave]overlay=(W-w)/2:720,subtitles=clip.srt:original_size=1080x1080:force_style='FontName=Inter,FontSize=44,Bold=1,Outline=3,Alignment=2,MarginV=40'[v]" \
-map "[v]" -map 1:a -c:v libx264 -crf 18 -pix_fmt yuv420p -r 30 -c:a aac -b:a 192k -shortest -movflags +faststart audiogram_square.mp4
```

Other visual filters to swap in for `showwaves`:

- Bars by frequency: `showfreqs=s=900x200:mode=bar:ascale=log:fscale=log:colors=0xFFD400`
- Musical spectrum (good for music): `showcqt=s=1080x400:bar_v=8:sono_v=0:axis=0`
- Scrolling spectrogram: `showspectrum=s=900x300:mode=combined:color=intensity:slide=scroll:scale=log`
- Static full-length waveform for a progress bar: `showwavespic=s=900x80:colors=0xFFFFFF` rendered once as an image, then reveal it with an animated crop or overlay a moving playhead.

`showwaves` output is mostly transparent only with `format=rgba` and a draw mode that leaves background empty; if you see a black box, add `colorkey=0x000000:0.1` after it.

### 3b. Vertical (1080x1920)

Reuse the same graph with `scale=1080:1920` background, art at about 800 px centered in the upper half (y around 300), waveform at y around 1200, captions with `MarginV` placing them above the bottom 450 px platform UI. Keep important elements in the 9:16 safe area.

### 3c. Remotion (designed visuals)

```tsx
import {
  Audio,
  Img,
  staticFile,
  useCurrentFrame,
  useVideoConfig,
  AbsoluteFill,
} from "remotion";
import { useAudioData, visualizeAudio } from "@remotion/media-utils";

export const Audiogram: React.FC = () => {
  const frame = useCurrentFrame();
  const { fps } = useVideoConfig();
  const src = staticFile("clip.wav");
  const audioData = useAudioData(src);
  if (!audioData) return null;

  const bars = visualizeAudio({
    fps,
    frame,
    audioData,
    numberOfSamples: 64,
    smoothing: true,
  });
  // low frequencies dominate; apply a log-ish curve so high bars still move
  const levels = bars.map((v) => Math.min(1, Math.pow(v, 0.5) * 1.6));

  return (
    <AbsoluteFill
      style={{ background: "var(--bg, #0f1115)", alignItems: "center" }}
    >
      <Audio src={src} />
      <Img
        src={staticFile("cover.jpg")}
        style={{ width: 600, marginTop: 140, borderRadius: 24 }}
      />
      <div
        style={{
          display: "flex",
          gap: 6,
          alignItems: "center",
          height: 220,
          marginTop: 60,
        }}
      >
        {levels.map((v, i) => (
          <div
            key={i}
            style={{
              width: 8,
              height: 12 + v * 200,
              borderRadius: 4,
              background: "#FFD400",
            }}
          />
        ))}
      </div>
    </AbsoluteFill>
  );
};
```

`numberOfSamples` must be a power of two. Render square and vertical as two compositions sharing components:

```bash
npx remotion render Audiogram-Square out/square.mp4 --codec h264 --crf 18
npx remotion render Audiogram-Vertical out/vertical.mp4 --codec h264 --crf 18
```

For captions in Remotion, convert the SRT with `@remotion/captions` (`parseSrt`, `createTikTokStyleCaptions`) and highlight the active word.

## Variants

- Podcast with two speakers: show the active speaker's photo based on diarization timestamps.
- Music: `showcqt` or a circular spectrum around the cover, beat-synced scale pulse (Remotion: scale cover by the low-band level).
- Long-form YouTube: 1920x1080, static waveform progress bar plus chapter titles.
- Silent autoplay-first: captions larger, add a "Sound on" cue for the first 2 s.

## Quality checks

- The visual visibly reacts on speech onsets and is still during silence (check a pause).
- Audio and visual in sync: clap or plosive aligns within 1 frame.
- Captions match audio within about 100 ms and contain no transcription errors in names.
- Loudness around -14 LUFS, true peak at or below -1 dBTP (`ebur128=peak=true`).
- `ffprobe` confirms 1080x1080 and 1080x1920, yuv420p, 30 fps, AAC 48 kHz.
- Watch on a phone muted: title, speaker and message clear without sound.

## Pitfalls and fixes

- Bars barely move: raw FFT magnitudes are tiny at high frequencies; use log scaling (`ascale=log`, or a power curve in Remotion).
- Jittery visuals: smooth over frames (`smoothing: true`, or average adjacent frames).
- Video longer than audio with `-loop 1`: add `-shortest`.
- Remotion render slow with long audio: trim the clip first; `useAudioData` decodes the whole file.
- Captions overlap the waveform: set explicit `MarginV` with `original_size`, or use an ASS file.
- Cover art blurry: provide at least 1400 px, scale down not up.

## Deliverables

- [ ] `audiogram_square.mp4` and `audiogram_vertical.mp4`
- [ ] Proofread SRT
- [ ] Cover frame PNG for each format
- [ ] Loudness report
- [ ] Reusable script or Remotion project with props for title, audio and art

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.