Re: [ecasound] audioloop, loop, and select

From: Jeremy Hughes <jedahu@email-addr-hidden>
Date: Mon Jun 29 2009 - 08:57:23 EEST

On Mon, Jun 29, 2009 at 5:36 PM, Joel Roth<joelz@email-addr-hidden> wrote:
> On Mon, Jun 29, 2009 at 03:44:25PM +1200, Jeremy Hughes wrote:
>> On Mon, Jun 29, 2009 at 3:20 PM, Joel Roth<joelz@email-addr-hidden> wrote:
>> > Hello,
>> >
>> > You could try putting the select directly on the input, instead
>> > of on the loop device:
>> >
>> >     $ ecasound -a:0 -i:audioloop,select,0sa,200000sa,chirp.wav -o:loop,x -a:1
>> >  -i:loop,x -o:alsa
>> >
>> > I haven't tried this myself....
>>
>> Famous last words :-)
>
> Not my last!
>
>> The above endlessly loops the first 200000 samples of input. I want the
>> converse: loop the input until 200000 samples are reached.
>
> Hmm. I had to try:
>
>        ecasound -i:,select,0,2,audioloop,something.wav
>
> Which isn't any better. The following works provided you
> specify the processing time in seconds.
>
>        ecasound -i:audioloop,something.wav -t some_seconds

Righto. Wrote a small program to get the number of frames, divide by
sample rate to
get seconds, and bingo!

Cheers,

Jeremy

------------------------------------------------------------------------------
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Jun 29 12:15:01 2009

This archive was generated by hypermail 2.1.8 : Mon Jun 29 2009 - 12:15:01 EEST