public void Flanger_200000_iterations_1000_length_buffer() { var target = new Flanger(new SineWave()); target.Format = new WaveFormat(44100, 1); var time = Helpers.Time(() => { var buffer = new float[1000]; for (int i = 0; i < 200000; i++) { target.Process(new float[][] { buffer }, 1000); } }); Debug.WriteLine(string.Format("FirFilter performance test: {0}", time)); }
public void Should_throw_if_buffer_is_null() { target.Format = new WaveFormat(); target.Process(null, 5); }