Re: [ecasound] how to resample after a LADSPA plugin ?

From: Sergei Steshenko <sergstesh@email-addr-hidden>
Date: Fri May 17 2013 - 02:43:04 EEST

--- On Thu, 5/16/13, Joel Roth <joelz@email-addr-hidden> wrote:

> From: Joel Roth <joelz@email-addr-hidden>
> Subject: Re: [ecasound] how to resample after a LADSPA plugin ?
> To: ecasound-list@email-addr-hidden
> Date: Thursday, May 16, 2013, 4:28 PM
> 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.
> >

"Is there a reason to think this *isn't* doing what you want?" - yes, it simply plays sound at 2x pitch and speed.

Regards,
  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
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri May 17 04:15:02 2013

This archive was generated by hypermail 2.1.8 : Fri May 17 2013 - 04:15:02 EEST