speed

## speed speed — Set speed/pitch on audio/raw streams (resampler) |

## Synopsis

    struct              GstSpeed;

## Properties

      "speed"                    gfloat                : Read / Write / Construct

## Description

Plays an audio stream at a different speed (by resampling the audio).

Do not use this element. Either use the 'pitch' element, or do a seek with a non-1.0 rate parameter, this will have the same effect as using the speed element (but relies on the decoder/demuxer to handle this correctly, also requires a fairly up-to-date gst-plugins-base, as of February 2007).

### Example launch line

    1
    gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! speed speed=1.5 ! audioconvert ! audioresample ! autoaudiosink

Plays an .ogg file at 1.5x speed.

Last reviewed on 2007-02-26 (0.10.4.1)

## Synopsis

### Element Information

plugin | speed
author | Andy Wingo <apwingo@eos.ncsu.edu>, Tim-Philipp Müller <tim@centricular.net>
class | Filter/Effect/Audio

### Element Pads

name | sink
direction | sink
presence | always
details | audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)32
| audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true

name | src
direction | source
presence | always
details | audio/x-raw-float, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)32
| audio/x-raw-int, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], endianness=(int)1234, width=(int)16, depth=(int)16, signed=(boolean)true

## Details

### struct GstSpeed

    struct GstSpeed {
      GstElement     element;

      GstPad        *sinkpad;
      GstPad        *srcpad;

      gfloat         speed;

      gint64         offset;
      gint64         timestamp;

      guint          rate;
      guint          channels;
      guint          width;

      guint          sample_size;
      GstSpeedFormat format;
    };

## Property Details

### The `"speed"` property

      "speed"                    gfloat                : Read / Write / Construct

speed.

Allowed values: [0.1,40]

Default value: 1