Re: [ecasound] fifo pipe as input

From: Kai Vehmanen <kvlists@email-addr-hidden>
Date: Sat Jul 05 2014 - 17:35:37 EEST

Hi,

On Sat, 28 Jun 2014, Haarman wrote:

> I want to use the output of mplayer as an input to ecasound. With a fifo
> I can play it with aplay but have no idea how to get it to play in
> ecasound. Anybody can tell me what I am doing wrong here. This works:
[...]
> but replacing aplay with ecasound gives me this error:
[...]
> $ ecasound -D -z:nodb -f 16,2,44100 -i:sndfile,/tmp/audio,wav -o alsahw,0,0

ecasound's riff-wave input (both with sndfile and without) requires to
have a proper RIFF header, and this is not possible with piping. You
should be able to use a RAW input though:

$ ecasound -D -z:nodb -f 16,2,44100 -i:typeselect,raw,/tmp/audio,wav -o alsahw,0,0

You'll just need to be sure the format is set correctly (-f:16,2,44100) in
this case as there's no header to parse (and thus no negoatiation with
mplayer).

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sat Jul 5 20:15:01 2014

This archive was generated by hypermail 2.1.8 : Sat Jul 05 2014 - 20:15:02 EEST