It does exactly what it says on the tin, demodulating the modulated stuff… With quality loss. And all that is kinda pointless in general. But that’s why it’s fun!
I tried to organize the patch so it would be easy to read. I also labeled the functional blocks!