in

.NET Opensource

Community for opensource projects by Christoph Rüegg

Beginner:IIR processSample()

Last post 05-30-2009 11:54 by yanamjoshi. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-30-2009 11:54

    Beginner:IIR processSample()

    I feel that double un = _leftCoefficients[0] * sample; is redundant as un is recalculated below. I feel this is some kind of a bug. The _buffer[ doesn't acquire value and remains 0s and filter returns all zeros due to this. I debugged to find the even though my _leftCoefficients[ and _rightCoefficients[ hold values, and also the input samples, the resultant output is zero. double un = _leftCoefficients[0] * sample; for(int i = 0, j = _halfSize - _offset + 1; i Is there any bug?
Page 1 of 1 (1 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems