GstBtFluidSynth

GstBtFluidSynth — FluidSynth GStreamer wrapper

Properties

gint chorus-count Read / Write
gdouble chorus-depth Read / Write
gboolean chorus-enable Read / Write
gdouble chorus-freq Read / Write
gdouble chorus-level Read / Write
GstBtFluidSynthChorusWaveform chorus-waveform Read / Write
gchar * instrument-patch Read / Write
GstBtFluidSynthInterpolationMode interpolation Read / Write
GstBtNote note Write
gint note-length Read / Write
gint note-velocity Read / Write
gint program Read / Write
gdouble reverb-damp Read / Write
gboolean reverb-enable Read / Write
gdouble reverb-level Read / Write
gdouble reverb-room-size Read / Write
gdouble reverb-width Read / Write

Types and Values

Object Hierarchy

    GEnum
    ├── GstBtFluidSynthChorusWaveform
    ╰── GstBtFluidSynthInterpolationMode
    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBaseSrc
                    ╰── GstBtAudioSynth
                        ╰── GstBtFluidSynth

Implemented Interfaces

GstBtFluidSynth implements GstPreset.

Description

FluidSynth is a SoundFont 2 capable wavetable synthesizer. Soundpatches are available on sounds.resonance.org. Distributions also have a few soundfonts packaged. The internet offers free patches for download.

When specifying a patch as a relative path, the element looks in common places for the files.

Example launch line

1
gst-launch-1.0 fluidsynth num-buffers=10 note="c-3" ! autoaudiosink
Plays one c-3 tone using the first instrument.
1
gst-launch-1.0 fluidsynth num-buffers=20 instrument-patch="Vintage_Dreams_Waves_v2.sf2" program=2 note="c-3" ! autoaudiosink
Load a specific patch and plays one c-3 tone using the second program.

Functions

Types and Values

enum GstBtFluidSynthInterpolationMode

Synthesis engine interpolation mode.

Members

GSTBT_FLUID_SYNTH_INTERPOLATION_MODE_NONE

no interpolation

 

GSTBT_FLUID_SYNTH_INTERPOLATION_MODE_LINEAR

linear interpolation

 

GSTBT_FLUID_SYNTH_INTERPOLATION_MODE_4THORDER

4th order interpolation

 

GSTBT_FLUID_SYNTH_INTERPOLATION_MODE_7THORDER

7th order interpolation

 

enum GstBtFluidSynthChorusWaveform

Modulation waveform for the chorus effect.

Members

GSTBT_FLUID_SYNTH_CHORUS_MOD_SINE

sine wave

 

GSTBT_FLUID_SYNTH_CHORUS_MOD_TRIANGLE

triangle wave

 

struct GstBtFluidSynth

struct GstBtFluidSynth;

Class instance data.

Property Details

The “chorus-count” property

  “chorus-count”             gint

Number of chorus delay lines.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [1,99]

Default value: 3


The “chorus-depth” property

  “chorus-depth”             gdouble

Chorus depth.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,10]

Default value: 8


The “chorus-enable” property

  “chorus-enable”            gboolean

Chorus enable.

Owner: GstBtFluidSynth

Flags: Read / Write

Default value: TRUE


The “chorus-freq” property

  “chorus-freq”              gdouble

Chorus modulation frequency (Hz).

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0.3,5]

Default value: 0.3


The “chorus-level” property

  “chorus-level”             gdouble

Output level of each chorus line.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,10]

Default value: 2


The “chorus-waveform” property

  “chorus-waveform”          GstBtFluidSynthChorusWaveform

Chorus waveform type.

Owner: GstBtFluidSynth

Flags: Read / Write

Default value: GSTBT_FLUID_SYNTH_CHORUS_MOD_SINE


The “instrument-patch” property

  “instrument-patch”         gchar *

Path to soundfont intrument patch file.

Owner: GstBtFluidSynth

Flags: Read / Write

Default value: NULL


The “interpolation” property

  “interpolation”            GstBtFluidSynthInterpolationMode

Synthesis Interpolation type.

Owner: GstBtFluidSynth

Flags: Read / Write

Default value: GSTBT_FLUID_SYNTH_INTERPOLATION_MODE_4THORDER


The “note” property

  “note”                     GstBtNote

Musical note (e.g. 'c-3', 'd#4').

Owner: GstBtFluidSynth

Flags: Write

Default value: NONE


The “note-length” property

  “note-length”              gint

Length of a note in ticks (buffers).

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [1,100]

Default value: 4


The “note-velocity” property

  “note-velocity”            gint

Velocity of a note.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,127]

Default value: 100


The “program” property

  “program”                  gint

Sound program number.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,16383]

Default value: 0


The “reverb-damp” property

  “reverb-damp”              gdouble

Reverb dampening.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,1]

Default value: 0


The “reverb-enable” property

  “reverb-enable”            gboolean

Reverb enable.

Owner: GstBtFluidSynth

Flags: Read / Write

Default value: TRUE


The “reverb-level” property

  “reverb-level”             gdouble

Reverb level.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [-30,30]

Default value: 4


The “reverb-room-size” property

  “reverb-room-size”         gdouble

Reverb room size.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,1.2]

Default value: 0.4


The “reverb-width” property

  “reverb-width”             gdouble

Reverb width.

Owner: GstBtFluidSynth

Flags: Read / Write

Allowed values: [0,100]

Default value: 2