Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Stereo WAV file high pass filter

    Hello Folks,

Just a quick question. I wish to pass a high pass filter, 2.2KHz (20 pole Butterworth),  through a stero wav file.

The wav file has 16 bits per sample. Can I pass the data directly to the Butterworth function or do I have to break the data into two seperate channels and call the butterworth function twice.

Regards
Ciaran.
0 Kudos
Message 1 of 2
(2,958 Views)

Hi Ciaran,

Thanks for the question - the ButterworthHighpassFilter takes a 1D array of doubles as data to filter, so if your stereo channels are each part of a 2D array you will need to separate them out as you suggest to be able to pass them through the Butterworth filter separately.

I hope this helps!

Mark

NIUK & Ireland

0 Kudos
Message 2 of 2
(2,918 Views)