Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread Tom O'Hara
4. the only problem with the filter cross-fade scheme is knowing how long to wait before you can ping-pong back to the other filter. it's like you have two filters running simultaneously on the same input with ostensibly the same coefficients (most of the time) so their outputs should be

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread robert bristow-johnson
On 3/3/16 7:46 PM, Stefan Sullivan wrote: I looked into this exact issue a little while ago. I found that my filters sounded better/worse depending on the biquad topology. Basically if your gaining your input going into states, then those states are more likely to be very far off from where

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread Stefan Sullivan
I looked into this exact issue a little while ago. I found that my filters sounded better/worse depending on the biquad topology. Basically if your gaining your input going into states, then those states are more likely to be very far off from where they should be when you change the parameters.

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread robert bristow-johnson
On 3/3/16 7:23 PM, robert bristow-johnson wrote: 6. another form to consider is the Lattice or, if you're doing it in fixed-point, the Normalized Ladder form. these are all second-order so they all have the same transfer function and you can calculate coefficients as a function of Cookbook

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread robert bristow-johnson
so i read Jean Laroche's paper in the previous decade and i forget what the takeaway was from it besides i thought he had a good model for describing the non-TI in the LTI. had to do with calculation of the states in a way that made an equivalent filter but with possibly unstable

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread Ethan Fenn
> > I'm not sure quite how this would work for discrete time? Is the idea to > interpret them as continuous-time filters for the purposes of the state > update? I wasn't really thinking about them as continuous-time filters, but considering the output as a continuous-time signal. Specifically,

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread Ethan Duni
Yeah zeroing out the state is going to lead to a transient, since the filter has to ring up. If you want to go that route, one possibility is to use two filters in parallel: one that keeps the old state/coeffs but gets zero input, and another that has zero state and gets the new input/coeffs. You

Re: [music-dsp] Changing Biquad filter coefficients on-the-fly, how to handle filter state?

2016-03-03 Thread Ethan Fenn
As a simple fix, I would also try just leaving the state alone rather than zeroing it out. I've done this plenty of times before and it's always sounded okay for moderate/gradual changes of the coefficients. As for doing it "correctly" -- I haven't read up on this but my thinking would go like

[music-dsp] Release pyo 0.7.9 (Python dsp library)

2016-03-03 Thread Olivier BĂ©langer
Hello all, pyo 0.7.9 is now available to download on pyo's web site : http://ajaxsoundstudio.com/software/pyo/ pyo's documentation: http://ajaxsoundstudio.com/pyodoc/ New objects: - Exposed internal GUI widgets in the official API. New objects are PyoGuiControlSlider, PyoGuiVuMeter,