Re: [LAD] [Ann] Folve: Fuse file system that convolves flac files on-the-fly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Henner Zeller <h.zeller@...>
Cc: <linux-audio-dev@...>
Date: Sunday, September 16, 2012 - 4:10 pm

On Sun, Sep 16, 2012 at 12:46:42AM -0700, Henner Zeller wrote:

> Over the week or so, I've build some fuse filesystem filters flac files

Interesting project...

One thing: when skipping forward (or seeking in general)
there's no need to convolve all data up to that point.
If P is the new position and L is the lenght of the IR,
then just call Convproc->reset(), seek the input file to
P - L (or 0 if P < L), and convolve up to P. You're
computing a FIR filter, so no more history is required.

If the seek involves an output discontinuity for the user,
you could even just call Conproc->reset(), seek to P, and
proceed normally. The result will be as if there was only
silence before P.

Ciao,

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] [Ann] Folve: Fuse file system that convolves flac ..., Fons Adriaensen, (Sun Sep 16, 4:10 pm)