Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

245 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Music Waves Visualizer (Modified)

A web application that creates audio waveform videos by loading image and music files.

Demo

https://lil.la/visualizer/

Static build with SEO-friendly absolute URLs for that host: npm run build:html:lil-la (or NEXT_PUBLIC_SITE_URL=https://lil.la npm run build:html). See docs/BUILD.md and .env.production.example.

Screenshot

Music Waves Visualizer screenshot

Click the image for full size

Features

  • File loading: Drag & drop or buttons for still images, audio, subtitle files, and a single MP4/video background
  • Multi-image gallery: Add multiple still images, auto-advance them during playback/recording, and apply transitions such as crossfade, wipe, slide, zoom, checker, and flash
  • Spectrum visualizers: Frequency and loudness modes including bars, circle, symmetric bars, dots, fill, glyco, loudness pulse, VU meter, pulse ring, center orb, breathing background, particles, geometry morph, oscilloscope, and Lissajous-style curves
  • Title and subtitles: Canvas title overlay plus SRT subtitle import, styling, animation, and optional hidden subtitle authoring/timing tools from pasted lyrics
  • Video background support: Use a single MP4 as the background visual, or extract audio/stills from video files where appropriate (see docs/VIDEO_BACKGROUND.md)
  • Resolution and tuning: Auto/manual layouts (16:9 / 9:16 / 1:1), per-layout scale/position, waveform color/style presets, LUFS normalization, bitrate controls, and Canvas 2D / WebGL renderer selection
  • Effects: Space, vignette, rainbow, curtain, sparkle, atmosphere, rain, snow, and scanlines with per-effect parameters
  • Clip length limit: Presets and manual ranges for preview/recording windows, including YouTube, TikTok, and NicoNico-oriented lengths
  • Video generation: MP4 output plus a fast-generation path when the alternative encoder route is available; normal recording quality is preserved up to 60 fps
  • Settings management: Export/import settings JSON, persistent saved values, and one-click clear
  • Client persistence: Most settings use localStorage (lib/mwvCookieStorage.ts), with one-time migration from legacy cookies on first read
  • UI extras: Dark/light mode toggle, bilingual Japanese / English UI, and a desktop two-pane layout (preview + controls) from 1024px width upward

Quick Start

WSL / Local development (recommended)

npm install --legacy-peer-deps
npm run dev

Open: http://localhost:3000

  • Standard development environment: Windows + Cursor + WSL2 + Node.js
  • Use Git and npm inside WSL
  • Use npm run build for production build checks

Static HTML for shared hosting

npm run build:html
  • The generated visualizer/ is a static HTML build (Next.js next export; CLI may print deprecation / static-export notices — see docs/BUILD.md).
  • Default config uses /visualizer path. Upload to the server's visualizer directory.
    • Example: Place index.html, _next/, .htaccess in public_html/visualizer/
  • FTP upload (WSL/Linux): copy deploy.env.example to deploy.env, then ./deploy-ftp.sh (optional --build, --dry-run). Requires lftp. Password: interactive prompt, optional ~/.netrc, or FTP_PASSWORD in deploy.env (do not commit).
  • For custom paths, see docs/HTML_HOSTING.md.

Usage

  1. Load media: Drop/select still images, audio, subtitles, or a single MP4 for video background
  2. Build the scene: Add more gallery images, choose a spectrum mode, and optionally enable title/subtitle overlays
  3. Tune visuals: Adjust effects, layout, waveform style, renderer, and clip-length range
  4. Tune audio/output: Configure target LUFS, bitrate, and output resolution as needed
  5. Preview: Play the track and confirm transitions, subtitles, and waveform behavior
  6. Generate video: Export MP4, or use the fast-generation option when available
  7. Save or reset: Export/import settings JSON, or clear everything to start over

See docs/SPECIFICATION.md for details.

Documentation

GitHub Releases

Releases ship a static ZIP (no Node.js needed on the host): visualizer/ plus INSTALL_LOCAL_STATIC.md and docs-bundled/ (license, changelog, hosting, FFmpeg, terms/privacy). Maintainer: npm run release:zip (runs npm run build:html when visualizer/ is missing).

Credits

Based on komura-c/music-waves-visualizer.

Original article: Creating a Web Page for Audio Waveform Videos

License

MIT License. See LICENSE. Dependencies: NOTICE.

  • Original: Copyright (c) 2023 komura-c
  • Modified: Copyright (c) 2022-2026 KURAGASHI (kuwa2005)

日本語

概要

画像と音楽ファイルを読み込んで、音声波形を可視化した動画を作成するWebアプリケーションです。

主な機能

  • ファイル読み込み: 静止画・音楽・字幕をドラッグ&ドロップまたはボタンから読み込み。単一 MP4 を背景動画として使うことも可能
  • 複数画像ギャラリー: 追加画像の読み込み、自動切替、クロスフェード・ワイプ・ズーム・フラッシュなどのトランジションに対応
  • スペクトラムアナライザー: 周波数系と音圧系の両方を搭載。バー、円形、対称バー、ドット、面、グライコ、パルス、VU、リング、オーブ、背景ブリージング、粒子、ジオメトリ変形、オシロスコープ、リサージュ系などを選択可能
  • タイトル・字幕: タイトル文字のオーバーレイ、SRT 字幕の読み込み・装飾・アニメーション、歌詞からの字幕作成/タイミング記録(任意の隠し機能)に対応
  • 背景動画対応: 静止画ギャラリーの代わりに単一 MP4 を背景として使用可能。動画から音声や静止画を取り込む導線もあり(詳細は docs/VIDEO_BACKGROUND.md
  • 解像度・表示・音量調整: 自動/手動レイアウト、倍率・位置、波形カラー/スタイル、LUFS 正規化、ビットレート、Canvas 2D / WebGL の切り替えに対応
  • エフェクト: 宇宙空間、ビネット、レインボー、カーテン、きらきら、空気感、雨、雪、スキャンラインをパラメータ付きで利用可能
  • 動画長制限: YouTube / TikTok / ニコニコ向けの長さプリセットと、開始位置・秒数の手動指定に対応
  • 動画生成: MP4 出力に加えて、条件が合えば高速生成ルートも利用可能。通常録画の品質は最大 60fps まで維持
  • 設定管理: JSON のエクスポート/インポート、保存済み設定の利用、ワンクリッククリア
  • 設定保持: 主要な設定はファーストパーティ Cookie に保存され、初回アクセス時に旧 localStorage から移行
  • UI: ダーク/ライト切り替えと、日本語/英語のバイリンガル表示

クイックスタート

# WSL2 / ローカル開発(標準)
npm install --legacy-peer-deps
npm run dev
# アクセス: http://localhost:3000

# 静的HTML版(レンタルサーバー用)
npm run build:html
# visualizer/ の中身をサーバーにアップロード
# FTP: deploy.env.example → deploy.env を編集後 ./deploy-ftp.sh(--build / --dry-run 可。要 lftp)

ドキュメント(日本語)

GitHub Releases

Releases静的版 ZIP を添付しています(配信先に Node.js は不要)。中身は visualizer/INSTALL_LOCAL_STATIC.md、および docs-bundled/(ライセンス・変更履歴・ホスティング・FFmpeg・規約類)。メンテ用: npm run release:zipvisualizer/ が無いときは build:html を実行)。

About

オーディオ波形動画を生成するWebページ

Resources

Security policy

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages