implement decay as writing-out-to-file (like mpd)