Re: [ecasound] looping.

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] looping.
From: S. Massy (theanaloguekid@tak.net.dhis.org)
Date: Sun Jun 10 2001 - 18:39:12 EEST


On Sun, 10 Jun 2001, Patrick Shirkey <pshirkey@boosthardware.com> wrote:

> Kiaora.
>
> Is it possible to make a loop without defing the length of the loop? I
> would really like to be able to set up a loop of a whole file without
> knowing the time in advance.

Yes, it would really be nice, here's a way out though it's a bit more
complicated, I'm afraid.

- Get ecalength: http://www.colba.net/~observer/progstuff/ecalength.c
- Compile it as said in the header and make sure it's somewhere in
  your path.
- Now simply create a shell script alike to this.

-----
#!/bin/sh

if [ -f $1 ]; then
ecasound -i:$1 -o:/dev/dsp -t:`ecalength -s $1` -tl
fi
-----

You just have to finetune the command there, or you can even make it
so that the script will pass its arguments to ecasound...

That's a bit more complicated than if you could just do it from ecasound
but, oh well, it works...

Regards,
S. Massy

>
> TIA
> --
> Patrick Shirkey - Manager Boost Hardware.
> Importing Korean Computer Hardware to New Zealand.
>
> http://www.boosthardware.com for latest stock and prices.
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request@wakkanet.fi>.
>

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request@wakkanet.fi>.


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Jun 10 2001 - 18:38:51 EEST