Has anyone explored inserting a compression algorithm before a file_sink
or a file_source? I made a gzip_file_sink, but it just can't keep up
at low decimation rates. Are there good compression libs that anyone
would recommend instead?
Similarly, has anyone explored writing a MATLAB script
Gzip will be slow. You might look at some lossless audio compressors.
wavepack looks like it might work.
See here for a good overview with links
http://wiki.hydrogenaudio.org/index.php?title=Lossless_comparison#WavPack_.28WV.29
One way to implement this would be as a filtered source or sink.