WIP on WAV codec

Work-in-progress on a WAV file streaming codec.