Convert SPX to PNG
Turn SPX recordings into PNG. A PNG picture of the first audio track, 1800 by 600 pixels unless width or height asks otherwise; given only one, the other keeps the shape of three to one.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop SPX files on the dialor turn it to pick what to do
A picture of your Speex audio.A PNG of the first audio track, drawn as a waveform or a spectrogram.
What you get
One PNG picture of the first audio track in the SPX file. It is 1800 by 600 pixels unless you ask for another size. Time runs from the start at the left to the end at the right.
By default the picture is a waveform. Each channel gets its own lane from the top, in the order the file stores them. For each column, the lowest and highest sample in that slice of time are drawn on a linear scale over a gray center line. Silence shows as the bare line.
Spectrogram
Set Picture to spectrogram to see the strength of each frequency over time. Frequency runs upward from 0 to half the sample rate. The channels are combined, and each pixel is colored by the average level of that frequency in its slice of time. The scale runs from black at -120 dBFS to pale yellow at 0.
The time, the frequencies in hertz and the color scale are labeled on the picture.
Size and what is left out
Set Width (px) from 300 to 7680, or Height (px) from 100 to 2560. If you give only one, the other keeps the shape of three to one. If you give both, the picture can be stretched.
The sound itself is not kept, and neither are tags, cover art or chapters. The PNG is only a picture. To shorten the audio first, you can trim SPX.
SPX and PNG.What each format is, and the options this conversion takes.
- 01 · audio.picture
Picture
What the picture of the sound shows.
waveformThe loudness of each channel over time.spectrogramThe strength of each frequency over time.
- 02 · height
Height (px)
The exact height of the result in pixels. The width follows the aspect ratio unless it is also given, in which case the picture can be stretched.
100 to 2560 - 03 · width
Width (px)
The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.
300 to 7680
The formats
Speex
Speex speech audio in an Ogg container, the predecessor of Opus.
- Extensions
- .spx
- MIME type
- audio
/x -speex - Kind
- Audio
PNG
Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.
- Extensions
- .png
- MIME type
- image
/png - Kind
- Images
In your code.The same SPX to PNG conversion through the API, for your app or your agent.
$ cv convert recording.spx recording.png$ cv convert recording.spx recording.pngQuestions.What people ask about SPX to PNG.
No. The PNG is a picture of the sound. The sound, tags, cover art and chapters are not kept.
A waveform of the first audio track. Each channel has its own lane, and silence shows as a bare gray center line.
Set Picture to spectrogram. It shows frequency upward from 0 to half the sample rate, with the time, the frequencies and the color scale labeled.
It is 1800 by 600 pixels unless you set Width (px) or Height (px). If you set only one, the other keeps the three to one shape.