sox-devel@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Schumacher Marlon <marlon.schumacher@music.mcgill.ca>
To: "nihil.sine.causa@t-online.de" <nihil.sine.causa@t-online.de>,
	sox-devel@lists.sourceforge.net
Subject: Re: [SoX-users] fir option to use SoX als offline convolver
Date: Sun, 1 Jun 2014 20:01:27 -0400	[thread overview]
Message-ID: <CD1244B5-5461-411F-B785-4AB0B8C75AD4@music.mcgill.ca> (raw)
In-Reply-To: <1UJYpz-0YrdSa0@fwd50.aul.t-online.de>

Hi there,

Picking up on this email from 2013 as I have a related question:
Just wanted to verify what is the limit of the number of coefficients for the “fir” effect? In my tests I empirically determined 65536 (2^16). Can anyone confirm this? Are there specific reasons for this limit or could it be changed for the next binary release? 

PS I'm using "fir" for convolution with impulse responses - hence, these applications are limited to the use of IRs which are shorter than this number of samples (about 1.5secs @44kHz ... which is rather short :-S)

Regards,
Marlon

On Mar 23, 2013, at 20:31 , nihil.sine.causa@t-online.de wrote:

> Ulrich,
> 
> thank you for your fast answer. I tried a much shorter version of the FIR filter with 6000 Samples and it worked fine. So I can confirm your suggestion, that I run into the limit on the number of coefficients.
> 
> To change the source code and to compile and bind the project would need some effort for me, but I will think about that. Do you have any idea where to finde this limit in the code? 
> 
> Best Regards,
> Harald
> 
> Von: Ulrich Klauer <ulrich@chirlu.de>
> An: sox-users@lists.sourceforge.net
> Cc: nihil.sine.causa@t-online.de
> Betreff: Re: [SoX-users] fir option to use SoX als offline convolver
> Datum: Sat, 23 Mar 2013 17:30:35 +0100
> 
> nihil.sine.causa@t-online.de:
> 
>> filter with a number of samples 2^18 = 262144.
> 
>> Assertion failed!
>> File: effects_i_dsp.c, Line 95
>> Expression: num_taps * 2 < result
> 
> There is a limit on the number of coefficients, and it is less than 2^18. :) I'm not sure that limit is necessary, it can probably be raised. Only by changing the source and recompiling, though.
> 
> Ulrich
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar_______________________________________________
> Sox-users mailing list
> Sox-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sox-users


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech

           reply	other threads:[~2014-06-02  0:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <1UJYpz-0YrdSa0@fwd50.aul.t-online.de>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CD1244B5-5461-411F-B785-4AB0B8C75AD4@music.mcgill.ca \
    --to=sox-devel@lists.sourceforge.net \
    --cc=nihil.sine.causa@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).