agingradio
An element that adds age to an audio stream using various kinds of distortion. Imagine listening to music on a very old and broken radio, or waiting on hold at a customer service hotline where the hold music sounds horrible.
Currently supports: White noise of configurable amplitude, clicks of configurable probability, lowpass filter of configurable frequency, quantisation noise of a configurable amount of bits, and cubic curve distortion of a configurable amount and number of passes.
Example pipeline
gst-launch-1.0 filesrc location=music_file ! decodebin ! audioconvert ! agingradio !
audioconvert ! autoaudiosink
This will play back the music file using the default distortion parameters.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseTransform ╰──GstAudioFilter ╰──agingradio
Factory details
Authors: – Vivia Nikolaidou
Classification: – Filter/Effect/Audio
Rank – none
Plugin – rsaudiofx
Package – gst-plugin-audiofx
Pad Templates
sink
audio/x-raw:
rate: [ 1, 2147483647 ]
channels: [ 1, 2147483647 ]
layout: interleaved
format: { F32LE, F64LE }
src
audio/x-raw:
rate: [ 1, 2147483647 ]
channels: [ 1, 2147483647 ]
layout: interleaved
format: { F32LE, F64LE }
Properties
bits-to-quantize
“bits-to-quantize” gfloat
Bits to quantize (0 to disable)
Flags : Read / Write
Default value : 4
clicks-prob
“clicks-prob” gfloat
Clicks probability (0 to disable)
Flags : Read / Write
Default value : 1e-05
cubic-curve-distortion
“cubic-curve-distortion” gfloat
Cubic curve distortion (0 to disable)
Flags : Read / Write
Default value : 1
cubic-curve-passes
“cubic-curve-passes” guint
Cubic curve passes (0 to disable)
Flags : Read / Write
Default value : 3
lowpass-freq
“lowpass-freq” guint
Lowpass filter frequency (0 to disable)
Flags : Read / Write
Default value : 2000
white-noise-ampl
“white-noise-ampl” gfloat
White noise amplitude (0 to disable)
Flags : Read / Write
Default value : 0.011
The results of the search are