You know the "agingtv" GStreamer element, the one that makes the colours of a picture duller and adds noise so that it looks like it's coming from an old TV?
I wrote "agingradio" during the hackfest - instead of ruining your video, it ruins your audio! 🎉 Imagine listening to music on a very old radio, or calling a customer service hotline and suffering through the hold music whose quality is insufferable.
It supports five different types of distortion:
1) White noise (of configurable amplitude)
2) Clicks (of configurable probability)
3) Low-pass filter (of configurable frequency)
4) Quantisation noise (of a configurable amount of bits)
5) Cubic curve distortion / odd harmonics (of configurable amount and # of passes)
It is part of rsaudiofx and merged as of a couple of hours ago: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/3087
I used the Chilli hold music from https://github.com/Hypfer/HotlineValetudo/tree/master/HotlineValetudo/Audio/holdmusic as a test case (Chilli.mp3 by @janhenrik , CC-BY-NC-SA). The result, using the element's default values, is attached to this post.