hey folks ![]()
i made a small open source tool called wagen (wavegen) that turns audio files into waveform videos.
repo: GitHub - ledongthuc/wagen: Turns your audio files into waveform videos · GitHub
mp3/flac/wav/etc → waveform animation → mp4 video
you throw in a song, it renders those moving audio bars/waves (think old winamp visualizers), then outputs an mp4 with the original audio attached.
example:
cargo run --release -- -i song.mp3
under the hood it:
- decodes audio using
symphonia - renders raw RGB frames in memory
- pipes frames directly to
ffmpeg - outputs h264/aac mp4
no temp pngs, no intermediate files, just streaming frames into ffmpeg.
you can tweak FPS, resolution, bar width, waveform window, etc.
made it mostly because i wanted a simple CLI tool for generating music visualizer videos without opening a video editor.
would love feedback, ideas, bug reports, or feature suggestions ![]()
