Waveform

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

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