Making gains towards supporting variable sample rates. Updated the Waveform snippet to reflect currently supported formats.