Re: how to resample after a LADSPA plugin ?
Sergei Steshenko <[email protected]> Thu, 16 May 2013 16:43:04 -0700 (PDT)
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <[email protected]> |
--- On Thu, 5/16/13, Joel Roth <[email protected]> wrote: > From: Joel Roth <[email protected]> > Subject: Re: [ecasound] how to resample after a LADSPA plugin ? > To: [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ecasound-list