## modplug modplug — Module decoder based on modplug engine |

## Synopsis

                        GstModPlug;

## Properties

      "megabass"                 gboolean              : Read / Write
      "megabass-amount"          gint                  : Read / Write
      "megabass-range"           gint                  : Read / Write
      "noise-reduction"          gboolean              : Read / Write
      "oversamp"                 gboolean              : Read / Write
      "reverb"                   gboolean              : Read / Write
      "reverb-delay"             gint                  : Read / Write
      "reverb-depth"             gint                  : Read / Write
      "songname"                 gchar*                : Read
      "surround"                 gboolean              : Read / Write
      "surround-delay"           gint                  : Read / Write
      "surround-depth"           gint                  : Read / Write

## Description

Modplug uses the modplug library to decode tracked music in the MOD/S3M/XM/IT and related formats.

### Example pipeline

    1
    gst-launch -v filesrc location=1990s-nostalgia.xm ! modplug ! audioconvert ! alsasink

Play a FastTracker xm file.

## Details

### GstModPlug

    typedef struct {
      GstElement  element;

      GstPad     *sinkpad;
      GstPad     *srcpad;

      /* properties */
      const gchar *songname;
      gboolean     reverb;
      gint         reverb_depth;
      gint         reverb_delay;
      gboolean     megabass;
      gint         megabass_amount;
      gint         megabass_range;
      gboolean     surround;
      gint         surround_depth;
      gint         surround_delay;
      gboolean     noise_reduction;
      gint         bits;
      gboolean     oversamp;
      gint         channel;
      gint         frequency;

      /* state */
      GstBuffer   *buffer;

      gint32       read_bytes;
      gint32       read_samples;

      gint64       seek_at;      /* pending seek, or -1                 */
      gint64       song_size;    /* size of the raw song data in bytes  */
      gint64       song_length;  /* duration of the song in nanoseconds */
      gint64       offset;       /* current position in samples         */
      gint64       timestamp;

      CSoundFile  *mSoundFile;
    } GstModPlug;

## Property Details

### The `"megabass"` property

      "megabass"                 gboolean              : Read / Write

Megabass.

Default value: FALSE

### The `"megabass-amount"` property

      "megabass-amount"          gint                  : Read / Write

Megabass amount.

Allowed values: [0,100]

Default value: 40

### The `"megabass-range"` property

      "megabass-range"           gint                  : Read / Write

Megabass range.

Allowed values: [0,100]

Default value: 30

### The `"noise-reduction"` property

      "noise-reduction"          gboolean              : Read / Write

noise reduction.

Default value: TRUE

### The `"oversamp"` property

      "oversamp"                 gboolean              : Read / Write

oversamp.

Default value: TRUE

### The `"reverb"` property

      "reverb"                   gboolean              : Read / Write

Reverb.

Default value: FALSE

### The `"reverb-delay"` property

      "reverb-delay"             gint                  : Read / Write

Reverb delay.

Allowed values: [0,200]

Default value: 100

### The `"reverb-depth"` property

      "reverb-depth"             gint                  : Read / Write

Reverb depth.

Allowed values: [0,100]

Default value: 30

### The `"songname"` property

      "songname"                 gchar*                : Read

The song name.

Default value: NULL

### The `"surround"` property

      "surround"                 gboolean              : Read / Write

Surround.

Default value: TRUE

### The `"surround-delay"` property

      "surround-delay"           gint                  : Read / Write

Surround delay.

Allowed values: [0,40]

Default value: 20

### The `"surround-depth"` property

      "surround-depth"           gint                  : Read / Write

Surround depth.

Allowed values: [0,100]

Default value: 20