Waveform

Render waveforms from sound files as png images. Rendersound is the library used.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <output>waveform</output>
        <video_codec>png</video_codec>
        <width>500</width>
        <height>50</height>
        <color>FF0000</color>
        <factor>4</factor>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "output": "waveform",
            "video_codec": "png",
            "width": "500",
            "height": "50",
            "color": "FF0000",
            "factor": "4"
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
width Specify the width of the output in pixels.Positive Integer500
height Specify the height of the output in pixels.Positive Integer500
color Specify color expressed as rgb hex.RGB HEX values.FF0000
factorSpecify the super sampling factor for anti aliasing.Integer4