sikoried / jstk

Java Speech Toolkit
Other
10 stars 6 forks source link

Error in Butterworth.java #4

Closed chickenrun525 closed 8 years ago

chickenrun525 commented 8 years ago

Found a bug in Butterworth.java. For function computeA, if the order is set to 1, then the size of "temp" is 2, so it will cause an index out of bound exception.

sikoried commented 8 years ago

Note however, that a Butterworth filter with order=1 is not very effective.