SNDFILE-WAVEFORM(1)
π sndfile-waveform β a manual page, but make it cute π
okay bestie, so this is the manual page for sndfile-waveform, version 1.5 β it's a User Command, it lives in section 1 of the manual, and it is literally about to become your new favorite little utility. buckle up. π
β¨ NAME β¨
sndfile-waveform β the manual page for sndfile-waveform 1.5. that's it. that's the name. iconic behavior honestly. π
πΈ SYNOPSIS πΈ
sndfile-waveform [OPTION] <sound-file> <png-file>
likeβ¦ you give it a sound file, it gives you a png. the exchange rate is unmatched. π¦
π«Ά DESCRIPTION π«Ά
so sndfile-waveform is a waveform image generator. that's the whole job. it's giving "i do one thing and i do it flawlessly."
It creates a PNG image depicting the wave-form of an audio file. no cap. and get this β Peak-signal and RMS values can both be displayed in the same plot, where the horizontal axis always represents time. always. it's not negotiable, bestie.
The vertical axis can be plotted logarithmically, and the signal can optionally be rectified. so you've got options. we love options.
The Time-axis annotation unit is either:
- seconds,
- audio-frames, or
- timecode using broadcast-wave time reference meta-data.
(that last one is very fancy of it, ngl.)
The tool can plot individual channels, reduce the file to mono, or plot all channels in vertically arrangement. multi-tasking queen. π
Colours (ARGB) and image- or waveform geometry can be freely specified. go feral. customize everything. β¨
π OPTIONS π
-A,--textcolour <COL>β specify text and border colour; default0xffffffff. all colours are given as hexadecimalAA RR GG BBvalues. π¨-b,--borderβ display a border with annotations. frame it like the masterpiece it is. πΌοΈ-B,--background <COL>β specify background colour; default0x8099999f.-c,--channelβ choose channel(s) to plot.0: merge to mono;< 0: render all channels vertically separated;> 0: render only the specified channel. (default:0). pick your fighter. β¨-C,--centerline <COL>β set the colour of the zero/center line (default0x4cffffff).-F,--foreground <COL>β specify foreground colour; default0xff333333.-g <w>x<h>,--geometry <w>x<h>β specify the size of the image to create. default:800x192.-G,--borderbg <COL>β specify border/annotation background colour; default0xb3ffffff.-h,--helpβ display this help and exit. the classic escape hatch, we stan. πͺ-l,--logscaleβ use logarithmic scale. math but make it aesthetic. π--no-peakβ only draw the RMS signal using the foreground colour.--no-rmsβ only draw signal peaks (exclusive with--no-peak). > it's one or the other, bestie β these two are not friends, don't try to make them share a room. π-r,--rectifiedβ rectify waveform.-R,--rmscolour <COL>β specify RMS colour; default0xffb3b3b3.-s,--gainscaleβ zoom into the y-axis, map max signal to height. it's giving close-up. π-S,--separator <px>β vertically separate channels by N pixels (default:12) β only used with-c -1.-t <NUM>[/<DEN>],--timecode <NUM>[/<DEN>]β use timecode instead of seconds for the x-axis. The numerator must be set; the denominator defaults to1if omitted. If the value is negative, audio-frames are used. β±οΈ-T <offset>β override the BWF time-reference (if any); the offset is specified in audio-frames and only used with timecode (-t) annotation.-O,--border-widthβ change the outer border width. default:1.0.-V,--versionβ output version information and exit.-W,--wavesizeβ given geometry applies to the plain wave-form. image height depends on number of channels. border-sizes are added to width and height.
π REPORTING BUGS π
found something cursed? tell the devs, they want to know, fr fr:
- Report bugs to <robin@gareus.org>.
- Website and manual: <https://github.com/libsndfile/sndfile-tools/>
- Example images: <http://gareus.org/wiki/sndfile-waveform/>
π COPYRIGHT π
Copyright Β© 2007-2012 Erik de Castro Lopo <erikd@mega-nerd.com> Written 2011,2012 by Robin Gareus <robin@gareus.org>
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
likeβ¦ no warranty AT ALL. not even the merchantability one. not even the fitness-for-a-particular-purpose one. it said what it said and it meant it. π
and that's the whole page bestie, you ate it up. π
this was sndfile-waveform 1.5, from January 2021, out here living its best life in the SNDFILE-WAVEFORM(1) section of the manual. go make some beautiful waveforms. mwah. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- fedora 43: sndfile-tools 1.5-13.fc43 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: sndfile-tools 1.5-14.fc44 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms