[ecasound] playat in interactive mode ???

From: Pierre Lorenzon <devel@email-addr-hidden-nageoire.net>
Date: Sun Dec 21 2008 - 12:41:55 EET


I recently discovered the playat feature which looks very
powerful but I am disappointed since I do not get it working in
interactive mode.

In batch mode, it works :
ecasound -a:1 -i /usr/share/sounds/nagra/Remifa.wav -a:2 -i
playat,15,/usr/share/sounds/nagra/El-carro.wav -a:1,2 -o alsa
produces the desired effect i.e. El-Caro.wav stars 15 seconds
after Remifa.wav.

But in interactive mode :

ecasound -c
* ecasound v2.5.2 (C) 1997-2008 Kai Vehmanen and others
- [ Session created ] ----------------------------------------------------------
- [ Chainsetup created (cmdline) ] ---------------------------------------------
(eca-session) NOTE: Unable to create a valid chainsetup from the command-line
... arguments.
ecasound ('h' for help)> ai-add "playat,15,/usr/share/sounds/nagra/El-carro.wav"
(eca-control-objects) Added audio input
... ""playat,15,/usr/share/sounds/nagra/El-carro.wav"".
ecasound ('h' for help)> ai-attach
(eca-control-objects) Attached audio input
... "playat,15,/usr/share/sounds/nagra/El-carro.wav" to selected chains.
ecasound ('h' for help)> ao-add alsa
(eca-control-objects) Added audio output "alsa".
ecasound ('h' for help)> ao-attach
(eca-control-objects) Attached audio output "alsa" to selected chains.
ecasound ('h' for help)> cs-status
### Chainsetup status ###
Chainsetup (1) "command-line-setup" [selected]
 -> Objects: 1 inputs, 1 outputs, 1 chains
 -> State: valid (can be connected)
 -> Position: 0.000 / inf
 -> Options: -B:auto -n:"command-line-setup" -X -z:noxruns -z:nopsr
... -z:mixmode,avg
 -> Chain "default": -i:"playat,15,/usr/share/sounds/nagra/El-carro.wav",
... -o:alsa,default
ecasound ('h' for help)> cs-connect
- [ Connecting chainsetup ] ----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
ERROR: Connecting chainsetup failed: "Enabling chainsetup: AUDIOIO-WAVE: Couldn't
... open file "playat,15,/usr/share/sounds/nagra/El-carro.wav" for reading."
ecasound ('h' for help)>

According to the manual, the ai-add interactive command should
have the same syntax as the -i option of the command line. So
what's up ? Is there a implementation lack here ? Should I use
a cvs version ? Did I misunderstood something ?



Ecasound-list mailing list
Received on Sun Dec 21 12:15:02 2008

This archive was generated by hypermail 2.1.8 : Sun Dec 21 2008 - 12:15:02 EET