Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-20 Thread robert bristow-johnson
------------ Subject: Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP From: "Bogac Topaktas" <bo...@bteaudio.com> Date: Wed, January 20, 2016 6:12 pm To: music-dsp@music.columbia.edu ---

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-20 Thread Ross Bencina
On 21/01/2016 2:36 PM, robert bristow-johnson wrote: > i thought i understood Tchebyshev polynomials well. including their > trig definitions (for |x|<1), but if what you're trying to do is > generate a sinusoid from polynomials, i don't understand where the > "Tchebyshev" (with or without the

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-20 Thread robert bristow-johnson
Original Message Subject: Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP From: "Ross Bencina" <rossb-li...@audiomulch.com> Date: Wed, January 2

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-20 Thread Ethan Duni
nsion should resemble the optimal polynomial. E On Wed, Jan 20, 2016 at 10:32 PM, robert bristow-johnson < r...@audioimagination.com> wrote: > > > Original Message -------- > Subject: Re: [music-dsp] Anyone using Chebys

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-20 Thread robert bristow-johnson
Original Message Subject: Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP From: "Ethan Duni" <ethan.d...@gmail.com> Date: Thu, January 21, 2016 2:34 am To: &q

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-20 Thread Bogac Topaktas
Jack Crenshaw's book "Math Toolkit for Real-Time Programming" contains all the information you need: "Chapter 5 - Getting the Sines Right" provides theory and practice of approximating sines & cosines with various methods including Chebyshev polynomials. Another good resources is Jean-Michel

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-19 Thread Alan Wolfe
Chebyshev is indeed a decent way to approximate trig from what I've read. ( http://www.embeddedrelated.com/showarticle/152.php) Did you know that rational quadratic Bezier curves can exactly represent conic sections, and thus give you exact trig values? You essentially divide one quadratic

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-19 Thread Bjorn Roche
Years ago I attended a talk on Chebyshev polynomials and someone asked if they could be used to approximate trig functions. My memory is hazy at best, but here's what I recall: the answer was something like "you could, but it would be very slow, so in practice I think that would be a bad idea".

[music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-19 Thread Theo Verelst
Hi all, Maybe a bit forward, but hey, there are PhDs here, too, so here it goes: I've played a little with the latest Vivado HLx design tools fro Xilinx FPGAs and the cheap Zynq implementation I use (a Parallella board), and I was looking for interesting examples to put in C-to_chip compiler

Re: [music-dsp] Anyone using Chebyshev polynomials to approximate trigonometric functions in FPGA DSP

2016-01-19 Thread Ross Bencina
Sorry, my previous message got truncated for some reason. On 20/01/2016 5:56 AM, Alan Wolfe wrote: Did you know that rational quadratic Bezier curves can exactly represent conic sections, and thus give you exact trig values? As Andrew said, the curve lies on a conic section, but the