Re: [LAD] Harmonic generator and transfer function

2010-12-01 Thread fons
On Wed, Dec 01, 2010 at 05:21:09PM +0300, Andrew Gaydenko wrote: > On Wednesday, December 01, 2010 16:33:35 f...@kokkinizita.net wrote: > > > I'm afraid direct amplitude caculation in accorance with a0...aN will > > > produce "too fast" signal deviation, resulting in exceeding fs/2 band. > > > >

Re: [LAD] Harmonic generator and transfer function

2010-12-01 Thread Andrew Gaydenko
On Wednesday, December 01, 2010 16:33:35 f...@kokkinizita.net wrote: > > I'm afraid direct amplitude caculation in accorance with a0...aN will > > produce "too fast" signal deviation, resulting in exceeding fs/2 band. > > Any non-linear transfer function will do this for some inputs. > If you have

Re: [LAD] Harmonic generator and transfer function

2010-12-01 Thread fons
On Wed, Dec 01, 2010 at 03:13:03PM +0300, Andrew Gaydenko wrote: > Fons, I want just polinomial transformation regardless harmonics at all. I > have mentioned harmonics as a result of searching a LADSPA plugin related to > my needings. Then what is your question ? All you need to do is compute

Re: [LAD] Harmonic generator and transfer function

2010-12-01 Thread Andrew Gaydenko
On Wednesday, December 01, 2010 15:00:49 f...@kokkinizita.net wrote: > On Wed, Dec 01, 2010 at 01:16:07PM +0300, Andrew Gaydenko wrote: > > I need just > > > > Vout = Vin(a0 + a1*Vin + a2*Vin^2 + ... + aN*Vin^N) > > > > for given a0,..aN with limited N (a1..aN abs will be < 0.1). Say, we just > >

Re: [LAD] Harmonic generator and transfer function

2010-12-01 Thread fons
On Wed, Dec 01, 2010 at 01:16:07PM +0300, Andrew Gaydenko wrote: > I need just > > Vout = Vin(a0 + a1*Vin + a2*Vin^2 + ... + aN*Vin^N) > > for given a0,..aN with limited N (a1..aN abs will be < 0.1). Say, we just > recalculat samples' amplitudes directly. Is there any caveats in such direct >

Re: [LAD] Harmonic generator and transfer function

2010-12-01 Thread Andrew Gaydenko
On Wednesday, December 01, 2010 02:46:10 f...@kokkinizita.net wrote: > On Wed, Dec 01, 2010 at 10:33:17AM +1100, Erik de Castro Lopo wrote: > > and there is a way to calculate the required polynomial P > > using Chebyshev polynomials. > > Or even better: evaluate the Chebyshev polynomials directly

Re: [LAD] Harmonic generator and transfer function

2010-11-30 Thread fons
On Wed, Dec 01, 2010 at 10:33:17AM +1100, Erik de Castro Lopo wrote: > and there is a way to calculate the required polynomial P > using Chebyshev polynomials. Or even better: evaluate the Chebyshev polynomials directly on the signal (this avoids loss of precision due to cancellation of large nea

Re: [LAD] Harmonic generator and transfer function

2010-11-30 Thread Erik de Castro Lopo
Andrew Gaydenko wrote: > How does Steve Harris' Harmonic generator LADSPA plugin work? I mean relation > between controls (concrete harmonics levels) and transfer function > > Vout = Vin(1 + a*Vin + b*Vin^2 + ...) This can be done with waveshaping. If your source is a sinewave you can run it's

Re: [LAD] Harmonic generator and transfer function

2010-11-30 Thread Andrew Gaydenko
On Tuesday, November 30, 2010 16:51:21 Andrew Gaydenko wrote: > How does Steve Harris' Harmonic generator LADSPA plugin work? I mean > relation between controls (concrete harmonics levels) and transfer > function > > Vout = Vin(1 + a*Vin + b*Vin^2 + ...) ..or, saying about my aim, is there softwa

[LAD] Harmonic generator and transfer function

2010-11-30 Thread Andrew Gaydenko
How does Steve Harris' Harmonic generator LADSPA plugin work? I mean relation between controls (concrete harmonics levels) and transfer function Vout = Vin(1 + a*Vin + b*Vin^2 + ...) ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org