public static IWaveProvider ConvertToRightWaveFormat(this IWaveProvider input, WaveFormat format)
 {
     return(input
            .ConvertToRightChannelCount(format)
            .ConvertToRightSampleRate(format));
 }