[sdiy] Hardware convolution box?
cheater00 cheater00
cheater00 at gmail.com
Mon Feb 13 14:48:01 CET 2017
It should also be said that the naiive algorithms have quadratic runtime
complexity whereas the best ones have much better complexity (I believe n
log n), so longer reverb tails that can be done with the optimized
algorithm are simply not possible with the naiive approach, no matter how
much hardware you throw at it - so that might be another reason to spend
the time.
On Mon, 13 Feb 2017 14:40 cheater00 cheater00, <cheater00 at gmail.com> wrote:
> The simplest FFT and convolution algorithms are easy to understand in just
> hours, the really complex algorithm could take weeks to implement, so if
> you're just doing this for yourself the break even point is: will you
> otherwise earn $200 - the difference between a dev board with the cheapest
> DSPs and most powerful ones - in those several weeks? If not, you might
> want to look into, uh, flipping burgers or pizza delivery as a career move.
> If you are doing this for production, or for other people to build
> themselves, you want something relatively inexpensive, though. The dev time
> might be warranted if you do not mind spending it as a learning experience.
>
> On Mon, 13 Feb 2017 10:38 Thomas Strathmann, <thomas at pdp7.org> wrote:
>
> On 12/02/17 22:39, rsdio at audiobanshee.com wrote:
> > So, when combining FIR and FFT processing for convolution, you'll
> > need MAC, bit-reversed addressing, automatically-wrapped buffer
> > pointers, and possibly other special instructions for maximum
> > efficiency at a given instruction clock rate. Hopefully the DSP you
> > choose will have example code in optimized assembly for a partitioned
> > convolution, and you won't have to piece all of this together
> > yourself. Yes, you could do it all in Standard C on a general purpose
> > ARM or XMOS, but you'll need a higher clock rate and more code to do
> > the same amount of work.
>
> I'm wondering: How precious would development time hav to be to warrant
> going with a DSP and optimized assembly code instead of taking the more
> blunt approach with a fast CPU and some plain C code? From following
> this discussion I get the impression that the answer to that question is
> "Very" but is that true?
>
> Thomas
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> http://synth-diy.org/mailman/listinfo/synth-diy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20170213/ac00eb6d/attachment.htm>
More information about the Synth-diy
mailing list