I have been tasked with providing a destructive audio recorder. I envisage this as an enhancement to the AudioFormatWriter by the addition of 3 additional functions.
A locate function to move to a position within a file by sample number.
A punchin function much like the write, but that would do a linear crossfade with the existing data over the number of samples specified.
A punchout function that would crossfade out across the specified number of samples.
I would like to know if this has been done before, or if there would be any interest in it becoming a part of JUCE.