| GStreamer Buzztard Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
"cut-off" gdouble : Read / Write "decay" gdouble : Read / Write "filter" GstBtSimSynFilter : Read / Write "note" GstBtNote : Write "resonance" gdouble : Read / Write "volume" gdouble : Read / Write "wave" GstBtSimSynWave : Read / Write
Simple monophonic audio synthesizer with a decay envelope and a state-variable filter.
1 |
gst-launch simsyn num-buffers=1000 note="c-4" ! autoaudiosink |
typedef enum {
GSTBT_SIM_SYN_FILTER_NONE,
GSTBT_SIM_SYN_FILTER_LOWPASS,
GSTBT_SIM_SYN_FILTER_HIPASS,
GSTBT_SIM_SYN_FILTER_BANDPASS,
GSTBT_SIM_SYN_FILTER_BANDSTOP
} GstBtSimSynFilter;
Filter types.
typedef enum {
GSTBT_SIM_SYN_WAVE_SINE,
GSTBT_SIM_SYN_WAVE_SQUARE,
GSTBT_SIM_SYN_WAVE_SAW,
GSTBT_SIM_SYN_WAVE_TRIANGLE,
GSTBT_SIM_SYN_WAVE_SILENCE,
GSTBT_SIM_SYN_WAVE_WHITE_NOISE,
GSTBT_SIM_SYN_WAVE_PINK_NOISE,
GSTBT_SIM_SYN_WAVE_SINE_TAB,
GSTBT_SIM_SYN_WAVE_GAUSSIAN_WHITE_NOISE,
GSTBT_SIM_SYN_WAVE_RED_NOISE,
GSTBT_SIM_SYN_WAVE_BLUE_NOISE,
GSTBT_SIM_SYN_WAVE_VIOLET_NOISE
} GstBtSimSynWave;
Oscillator wave forms.
| sine wave | |
| square wave | |
| saw wave | |
| triangle wave | |
| silence | |
| white noise | |
| pink noise | |
| sine wave (precalculated) | |
| white (zero mean) Gaussian noise; volume sets the standard deviation of the noise in units of the range of values of the sample type, e.g. volume=0.1 produces noise with a standard deviation of 0.1*32767=3277 with 16-bit integer samples, or 0.1*1.0=0.1 with floating-point samples. | |
| red (brownian) noise | |
| spectraly inverted pink noise | |
| spectraly inverted red (brownian) noise |
"cut-off" property"cut-off" gdouble : Read / Write
Audio filter cut-off frequency.
Allowed values: [0,1]
Default value: 0.8
"decay" property"decay" gdouble : Read / Write
Volume decay of the tone in seconds.
Allowed values: [0.001,4]
Default value: 0.5
"filter" property"filter" GstBtSimSynFilter : Read / Write
Type of audio filter.
Default value: LowPass
"resonance" property"resonance" gdouble : Read / Write
Audio filter resonance.
Allowed values: [0.7,25]
Default value: 0.8
"volume" property"volume" gdouble : Read / Write
Volume of tone.
Allowed values: [0,1]
Default value: 0.8