Re: [ecasound] playat in interactive mode ???

From: Sergei Steshenko <sergstesh@email-addr-hidden>
Date: Fri Jan 16 2009 - 00:25:56 EET

--- On Thu, 1/15/09, Kai Vehmanen <kvehmanen@email-addr-hidden> wrote:

> From: Kai Vehmanen <kvehmanen@email-addr-hidden>
> Subject: Re: [ecasound] playat in interactive mode ???
> To: "Pierre Lorenzon" <devel@email-addr-hidden-nageoire.net>
> Cc: ecasound-list@email-addr-hidden
> Date: Thursday, January 15, 2009, 12:47 PM
> Hi,
>
> On Sun, 21 Dec 2008, Pierre Lorenzon wrote:
>
> > I recently discovered the playat feature which looks
> very
> > powerful but I am disappointed since I do not get it
> working in
> > interactive mode.
>
> hmm, it definitely _should_ work in interactive mode!
> Let's see...
>
> > ecasound ('h' for help)> ai-add
> "playat,15,/usr/share/sounds/nagra/El-carro.wav"
>
> Aa, the problem is that you quote the whole argument. This
> causes ecasound
> to look for a filename
> "playat,15,/usr/share/sounds/nagra/El-carro.wav",
> which will fail. The correct syntax would be:
>
> ecasound ('h' for help)> ai-add
> playat,15,/usr/share/sounds/nagra/El-carro.wav
>
> ... or if you need to quote the filename:
>
> ecasound ('h' for help)> ai-add
> playat,15,"/usr/share/sounds/nagra/El-carro.wav"
>
>

Well, I'd say this is counterintuitive.

This is because typical shells split on whitespaces, not commas, i.e. for a
typical shell

foo,bar,doo

should be the same as

"foo,bar,doo"
.

I haven't used these features, just an observation.

Regards,
  Sergei.

      

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Jan 16 04:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Jan 16 2009 - 04:15:02 EET