Re: [ecasound] streaming with ecasound

From: Remi R <untruclong.durabombarder@email-addr-hidden>
Date: Fri Oct 02 2009 - 00:46:59 EEST


ecasound is fun !

You should specify input and output format.

Here you have a streamer sample :
* Capture with -f:16,2,44100 you force ALSA settings
* LADSPA Chain converted in floating point -f:f32_le,2,44100 : with this
setup you signal between plugins can be higher than 0DbFS without pops.
 Of course the last plugin must output signal lower than 0 dBFS to avoid
pops when converted from floating point to 16 bits integer.
* Convert audio signal with -f:16,2,44100 before output.

Just after a pipe to ices2 in raw mode and a copy of capture in a FLAC file.

This chain setup give you a 0DbFS signal output for a nominal input at
-6 DbFS. By this way you have 6 Db Headroom. This is fully resilient for
input signal between -16 and 0 Db. This setup is OK for Live broadcast.

celll (cellular Leveler) sources are there :
Other plugins are standarts ones.

And it works !

Sorry for my bad english.
Best regards

export LADSPA_PATH="/usr/local/lib/ladspa:usr/lib/ladspa"
ecasound -b 4096 \
-a:TRAITEMENT -f:16,2,44100 -i:alsahw,1,0 -f:f32_le,2,44100 \
-el:celll,-6,-30,7,2,4,0.1,10,2,-0.2,-10 \
-el:fastLookaheadLimiter,0,-2,0.050 -el:fastLookaheadLimiter,0,-4,0.100
-el:fastLookaheadLimiter,0,-6.2,0.300 \
-eli:1068,1980E-3 \
-f:16,2,44100 -o:loop,1 \
-a:CON,FILE -i:loop,1 \
-a:CON -o:stdout \
-a:FILE -o:./capture_`date +"%A_%d%m%y_%X"`.flac \
| ices2 /home/remi/outils/streaming/ices.xml
ices.xml :
        <param name="rate">44100</param>
        <param name="channels">2</param>
        <param name="metadata">1</param>
        <!-- <param name="metadatafilename">test</param> -->

Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
Ecasound-list mailing list
Received on Fri Oct 2 04:15:02 2009

This archive was generated by hypermail 2.1.8 : Fri Oct 02 2009 - 04:15:02 EEST