fluiddec

This element renders midi-events as audio streams using Fluidsynth. It offers better sound quality compared to the timidity or wildmidi element.

Example pipeline

 gst-launch-1.0 filesrc location=song.mid ! midiparse ! fluiddec ! pulsesink

This example pipeline will parse the midi and render to raw audio which is played via pulseaudio.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──fluiddec

Factory details

Authors: – Wim Taymans

Classification:Codec/Decoder/Audio

Rank – secondary

Plugin – fluidsynthmidi

Package – GStreamer Bad Plug-ins

Pad Templates

sink

audio/x-midi-event:

Presencealways

Directionsink

Object typeGstPad


src

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

Presencealways

Directionsrc

Object typeGstPad


Properties

soundfont

“soundfont” gchararray

the filename of a soundfont (NULL for default)

Flags : Read / Write

Default value : NULL


synth-chorus

“synth-chorus” gboolean

Turn the chorus on or off

Flags : Read / Write

Default value : true


synth-gain

“synth-gain” gdouble

Set the master gain

Flags : Read / Write

Default value : 0.2


synth-polyphony

“synth-polyphony” gint

The number of simultaneous voices

Flags : Read / Write

Default value : 256


synth-reverb

“synth-reverb” gboolean

Turn the reverb on or off

Flags : Read / Write

Default value : true


The results of the search are