madskjeldgaard / portedplugins

A collection of plugins for the SuperCollider sound environment, all of which are ported / remixed from elsewhere
GNU General Public License v3.0
180 stars 13 forks source link

VA1Pole has DC == feedback coefficient at output in LPF mode #26

Open catniptwinz opened 2 years ago

catniptwinz commented 2 years ago

Describe the bug In mode 0 (lpf), VA1Pole has a DC offset equal to its feedback coefficient at its output.

To Reproduce Evaluate each example and observe the posted values.

{ VA1Pole.ar(Silent.ar, 500, MouseY.kr(-0.99, 0.99), 0).poll * 0 }.play // lpf
{ VA1Pole.ar(Silent.ar, 500, MouseY.kr(-0.99, 0.99), 1).poll * 0 }.play // hpf

Expected behavior If any DC offset is present at the output of VA1Pole, it will be quite small, as in the HPF example above.

Desktop (please complete the following information):

madskjeldgaard commented 2 years ago

Wow - nice catch. Thanks for reporting!