Generate and visualize audio waveforms using Go
Generate a 440 Hz WAV file in Go, then plot its samples as an SVG. Run two separate programs and customize the waveform shape, colors, and fill.
Kevin van Zonneveld
Empower your development workflow with our curated collection of quick tips and practical tutorials. From file handling and image processing to API integration and open source tools, our dev tips cover a wide range of topics to enhance your coding skills and boost productivity. Whether you’re a beginner or an experienced developer, dive in to find efficient solutions for your projects.
Generate a 440 Hz WAV file in Go, then plot its samples as an SVG. Run two separate programs and customize the waveform shape, colors, and fill.

Import private Cloudflare R2 files from Java with rclone, an explicit configuration file, a transfer deadline, and a destination published only after success.

Split videos in Java with JavaCV and FFmpeg while preserving audio and packet timing, with keyframe boundaries and verified output checks.

Scan quarantined files in Go with ClamAV, distinguish clean, infected, error, and limit verdicts, and verify the scanner with EICAR.

Verify file integrity with Ruby and SHA384 using trusted checksums, chunked binary reads, and exit codes that make failed checks stop automated jobs.
