Re: how to resample after a LADSPA plugin ?

Joel Roth <[email protected]> Thu, 16 May 2013 13:28:35 -1000
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <20130516232834.GA2941@sprite>
Sergei Steshenko wrote:
> Hello,
> 
> I have the following command line:
> 
> ecasound -D -z:nodb -f 16,2,44100 -i stdin -eli:1030 -b 4096 -ev -x -f s16_le,2,44100 -o alsahw,0,0
> 
> which works as expected. It is a part of longer chain, so data is piped into stdin.
> 
> I want to do two things:
> 
> 1) replace 's16_le,2,44100' with 's16_le,2,88200', i.e to make ALSA device work with 88200Hz sample rate;
> 
> 2) insert resampling just before it, but _after_ the LADSPA plugin, i.e. after '-eli:1030'.
> 
> 
> How can I do this ?

Hi,

According to 'man ecasound' the -f argument gets applied to audio
objects (i.e. -i and -o arguments) that *follow* the -f
argument.

So as I understand it,

ecasound -D -z:nodb -f 16,2,44100 -i stdin -eli:1030 -b 4096 -ev -x -f s16_le,2,88200 -o alsahw,0,0

will accomplish what you want. In other words, ecasound will perform sample
rate conversion automatically just prior to output.

Is there a reason to think this *isn't* doing what you want?

Regards,

Joel
 
> Thanks,
>   Sergei.
> 
> 
> 
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Ecasound-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ecasound-list

-- 
Joel Roth

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list