# wildmididec

wildmididec decodes MIDI files.

It uses WildMidi for this purpose. It can be autoplugged and therefore works with decodebin.

## Example launch line

     gst-launch-1.0 filesrc location=media/example.mid ! wildmididec ! audioconvert ! audioresample ! autoaudiosink

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstNonstreamAudioDecoder
                        ╰──wildmididec

## Factory details

Authors: – Carlos Rafael Giani

Classification: – `Codec/Decoder/Audio`

Rank – marginal

Plugin – wildmidi

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    audio/midi:
    audio/riff-midi:

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-raw:
             format: S16LE
             layout: interleaved
               rate: 44100
           channels: 2

Presence – always

Direction – src

Object type – GstPad

## Properties

### enhanced-resampling

    “enhanced-resampling” gboolean

Use enhanced resampling if set to TRUE, or linear interpolation if set to FALSE

Flags : Read / Write

Default value : true

### log-volume-scale

    “log-volume-scale” gboolean

Use a logarithmic volume scale if set to TRUE, or a linear scale if set to FALSE

Flags : Read / Write

Default value : true

### output-buffer-size

    “output-buffer-size” guint

Size of each output buffer, in samples (actual size can be smaller than this during flush or EOS)

Flags : Read / Write

Default value : 1024

### reverb

    “reverb” gboolean

Whether or not to enable the WildMidi 8 reflection reverb engine to add more depth to the sound

Flags : Read / Write

Default value : false

The results of the search are