Re: [ecasound] creating real-time output mp3

From: Joel Roth <joelz@email-addr-hidden>
Date: Tue Jun 15 2010 - 19:47:05 EEST

On Tue, Jun 15, 2010 at 12:16:21AM +0100, zonyi besk wrote:
> > Making a lot test with ecasound it seems that if i set the duration time
> to
> > 1 sec the output mp3 file will be always overwriting instead of joining
> with
> > the new one.
> >
>
> I could avoid breaking the sound to 1 sec pieces as can be streamed like
> that:
>
> cat foo.mp3 | pv -L 128000 | ecasound -i:stdin -o stdout > out.mp3

I don't know what 'pv' does. However what you're proposing
looks possibly equivalent to this (not including effects).

    ecasound -i:foo.mp3 -o:out.mp3

However, say you want to mute the volume at a position of
10s.

If you know in advance your plan for modulating effect
parameters, you can use the -klg linear envelope.

For manual control, I don't see how you can find a position
with this setup (for example 10s from the start) without
having a soundcard in the signal chain.

> I'm wondering if this command can be add on daemon interactive mode via port
> 2868, for this what ia commands needed.
> Because the volume/equalizer/pitch change is made dynamically during the
> playing on daemon mode.

You can do most anything via daemon mode.
Not sure about details of the STDIN/STDOUT stuff,
but it looks like you may not need it.

Will post you example *Perl* code for NETECI I/O with Ecasound
if you like.

Good luck,

Joel

 
> Thanks,
> Regards,
> Zol

-- 
Joel Roth
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Wed Jun 16 16:15:02 2010

This archive was generated by hypermail 2.1.8 : Wed Jun 16 2010 - 16:15:02 EEST