[Sound-open-firmware] [PATCH] SOFT: Add SRC coefficients generate tool

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Jun 4 11:51:49 CEST 2018


On Mon, 2018-06-04 at 12:48 +0300, Seppo Ingalsuo wrote:
> > We should also add a check for GNU octave in configure.ac and a simple
> > script
> > that runs octave and outputs a C file with the new coefficients (by default
> > it
> > should just emit the same coefficients we use today).
> 
> That will be run of "octave --no-gui src_std_int32.m" and "octave 
> --no-gui src_tiny_int16.m". I'll add that. With Kaiser filters the 
> design is quite fast and the run won't take much more time than 
> topologies compile. So it should be acceptable
> 
> That option will still open Gnuplot windows to desktop to show the 
> filter responses but they are closed when the script completes. By 
> adding option --no-window-system the plots appear as coarse ASCII to 
> console. What would be preferred?

ASCII, but I would comment the script so that users know how to enable the
windows. Can it dumpt the plot to bmp, png, pdf files ?

> 
> The "std" coefficients set output matches with current git while "tiny" 
> doesn't. I'll see if it's best to update tiny again to achieve that. 
> Tiny set had and also what is generated now still has a number of fails 
> in audio quality tests so I've been trying to alter it to minimize the 
> number of fails. There's no bugs but just the limitation that FIR 
> filters can't have strong stop-band with short type.

Liam


More information about the Sound-open-firmware mailing list