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 – gstwildmidi

Package – GStreamer Bad Plug-ins

Pad Templates

sink

audio/midi:
audio/riff-midi:

Presencealways

Directionsink

Object typeGstPad


src

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

Presencealways

Directionsrc

Object typeGstPad


Properties

current-subsong

“current-subsong” guint

Subsong that is currently selected for playback

Flags : Read / Write

Default value : 0


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


num-loops

“num-loops” gint

Number of times a playback loop shall be executed (special values: 0 = no looping; -1 = infinite loop)

Flags : Read / Write

Default value : 0


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


output-mode

“output-mode” NonstreamAudioOutputMode *

Which mode playback shall use when a loop is encountered; looping = reset position to start of loop, steady = do not reset position

Flags : Read / Write

Default value : steady (1)


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


subsong-mode

“subsong-mode” NonstreamAudioSubsongMode *

Mode which defines how to treat subsongs

Flags : Read / Write

Default value : default (2)


Named constants

Nonstream-audio-output-mode

Members

looping (0) – Looping output
steady (1) – Steady output

Nonstream-audio-subsong-mode

Members

single (0) – Play single subsong
all (1) – Play all subsongs
default (2) – Decoder specific default behavior

The results of the search are