Carlos Hernandez | 1 Feb 2008 06:20
Picon

crazy using alsa loopback device

Hi list,

I'm a new ecasound's user, it's an amazing tool.

well, I want to send audio from one application to another using
snd-aloop module (ALSA) and ecasound. this is what I've done.

I have 2 loopback card

hw:1 and hw:2

I can send audio from hw:1 to hw:2 with:

# ecasound -i alsaplugin,1,1 -o alsaplugin,2,0

BUT...

warning! playback underrun - samples lost!  Break was at least
-757531646.38 ms long.
warning! playback underrun - samples lost!  Break was at least
-757531646.34 ms long.
warning! playback underrun - samples lost!  Break was at least
-757531022.53 ms long.

if I try using -B:rt

ecasound -i alsa,loop1out -o alsaplugin,0 -B:rt

Everything works fine the first 8-10 seconds... then underruns again.

(Continue reading)

Julian Peterson | 20 Feb 2008 01:53
Picon

compile error on osx10.5

Hello Kai et al.

I recently purchased a new macbook and have been thrilled with it.   
I'm trying to build ecasound but an running into this error:

if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/readline -I. -I.. - 
I../libecasound -I../kvutils -D_REENTRANT -D_P1003_1B_VISIBLE -I/Fink/ 
include -ffast-math -fstrict-aliasing -funroll-loops -DNDEBUG - 
DENABLE_DBC -g -O2 -MT eca-curses.o -MD -MP -MF ".deps/eca-curses.Tpo"  
-c -o eca-curses.o eca-curses.cpp; \
	then mv -f ".deps/eca-curses.Tpo" ".deps/eca-curses.Po"; else rm -f  
".deps/eca-curses.Tpo"; exit 1; fi
eca-curses.cpp: In member function ‘void  
ECA_CURSES::init_readline_support()’:
eca-curses.cpp:123: error: ‘rl_completion_func_t’ was not declared in  
this scope
eca-curses.cpp:123: error: expected primary-expression before ‘)’ token
eca-curses.cpp:123: error: expected `;' before ‘ecasound_completion’
eca-curses.cpp: In function ‘char** ecasound_completion(const char*,  
int, int)’:
eca-curses.cpp:158: error: ‘rl_compentry_func_t’ was not declared in  
this scope
eca-curses.cpp:158: error: expected primary-expression before ‘)’ token
eca-curses.cpp:158: error: ‘rl_completion_matches’ was not declared in  
this scope
make[2]: *** [eca-curses.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Looks like trouble with readline?  I have readline 5.0 installed.  Any  
(Continue reading)

Kai Vehmanen | 27 Feb 2008 18:43

Re: crazy using alsa loopback device

Hi,

On Fri, 1 Feb 2008, Carlos Hernandez wrote:

> I'm a new ecasound's user, it's an amazing tool.

welcome on board! :) Sorry for the somewhat late response.

> well, I want to send audio from one application to another using
> snd-aloop module (ALSA) and ecasound. this is what I've done.
[...]
> # ecasound -i alsaplugin,1,1 -o alsaplugin,2,0
[...]
> warning! playback underrun - samples lost!  Break was at least -757531646.38 ms long.
> warning! playback underrun - samples lost!  Break was at least -757531646.34 ms long.
> warning! playback underrun - samples lost!  Break was at least -757531022.53 ms long.

It seems the clocks are not synced and this will cause the streams go out 
of sync sooner or later.

I recommend taking a look at JACK [1]. It offers a much better mechanism 
for routing audio between apps, and you can use it with ecasound as well. 
Also, there's a separate program called Jack Diplomat [2] that can sync 
two different systems (driven by different clocks).

[1] http://jackaudio.org
     One intro to JACK is at
     http://w3.linux-magazine.com/issue/67/JACK_Audio_Server.pdf
[2] http://www.archivesat.com/JACK_developers/thread771821.htm
     http://spark.woaf.net/jack_diplomat-0.70.tar.bz2
(Continue reading)

Kai Vehmanen | 27 Feb 2008 18:52

Re: compile error on osx10.5

Hi,

On Tue, 19 Feb 2008, Julian Peterson wrote:

> I recently purchased a new macbook and have been thrilled with it.
> I'm trying to build ecasound but an running into this error:
[...]
> ECA_CURSES::init_readline_support()?:
> eca-curses.cpp:123: error: ?rl_completion_func_t? was not declared in
> this scope

hmm, ecasound supports multiple versions of libreadline, but it seems that
it seems that either: a) your libreadline is patched, b) the libreadline
version is detected incorrectly.

> Looks like trouble with readline?  I have readline 5.0 installed.  Any
> thoughts?

You could first try compiling without libreadline: pass 
'--disable-ncurses' to configure.

I think there is something fishy with the libreadline shipped with OS X. 
The following mailing list post (plus bug ticket) seems to be related:
http://objectmix.com/graphics/344754-source-compilation-mac-os-x-10-5-leopard.html

... so in other words, it's not a real libreadline, but instead an 
emulated one and that is now causing problems.

--

-- 
  links, my public keys, etc at http://eca.cx/kv
(Continue reading)

Kai Vehmanen | 27 Feb 2008 18:57

Re: ecasound transforms mono in stereo

Hi,

On Tue, 22 Jan 2008, Enzo wrote:

> I launch the command :
> ecasound -a:1 -i:/tmp/1087985/1.ewf -ea:100 -t 81.526 -a:all -o /tmp/1087985/output.wav
[...]
> 10.wav has only one channel, but output has 2 channels, and i'd like to 
> only have 1 channel, how can i do that ?

this is a feature/bug of ecasound: unless you specify the audio format 
explicitly (with -f:bits,channels,srate,ileave-or-not) for each audio 
object, the default params will be used (-f:16,2,44100,i).

But, but, in some cases ecasound recognizes some special cases (like a 
chainsetup with exactly one input and one output), and tries to be clever: 
use audio format of input in creating the output. Unfortunately, when 
ecasound opens 'output.wav', it has not yet parsed the ewf-header and thus 
does not yet know that '1.ewf' in fact will produce only one channel. And 
in the end, the default audio params (-f:16,2,44100,i) will be used to 
create 'output.wav'.

--

-- 
  links, my public keys, etc at http://eca.cx/kv

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
(Continue reading)

Julian Peterson | 28 Feb 2008 15:56
Picon

Re: compile error on osx10.5

Thanks.  I got it to build by compiling my own readline (via Fink),  
although I had to manually edit the makefiles.

Sweet.  Thanks for your help.

JP

On Feb 27, 2008, at 12:52 PM, Kai Vehmanen wrote:

> Hi,
>
> On Tue, 19 Feb 2008, Julian Peterson wrote:
>
>> I recently purchased a new macbook and have been thrilled with it.
>> I'm trying to build ecasound but an running into this error:
> [...]
>> ECA_CURSES::init_readline_support()?:
>> eca-curses.cpp:123: error: ?rl_completion_func_t? was not declared in
>> this scope
>
> hmm, ecasound supports multiple versions of libreadline, but it  
> seems that
> it seems that either: a) your libreadline is patched, b) the  
> libreadline
> version is detected incorrectly.
>
>> Looks like trouble with readline?  I have readline 5.0 installed.   
>> Any
>> thoughts?
>
(Continue reading)

Kai Vehmanen | 2 Mar 2008 21:33

Re: "short-length-file-with-effects bug" now unavoidable

Hi,

finally responding to this, 1+ year old, bug report.

On Sat, 23 Dec 2006, linuxmedia4 <at> netscape.net wrote:

> If I run the following ECS file during the running time of "Short.wav"
> (obviously, "Short.wav" is shorter than the other two files), then
> sometime after "Short.wav" stops (file ends, but other files are
> playing) there's extreme "stuttering and shuffling" sounds. On one
> occasion, it locked up my computer and I had to shut it off without a
> proper shutdown. But if I do one of two things, the bug doesn't show up...

Hmm, I've tried out various things to reproduce this. I've tried both with 
ecasound 2.4.4 and the most recent devel version (from the public git 
tree), but I've couldn't reproduce the "stuttering and shuffling".

Has anyone else had similar experiences (or in general weird mixed 
output after one of the inputs has reached end-of-file)?

--

-- 
  links, my public keys, etc at http://eca.cx/kv

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
(Continue reading)

Kai Vehmanen | 2 Mar 2008 21:54

Re: Ecasound and LV2 plugins

Hi,

On Sat, 12 May 2007, Julien Claassen wrote:

>  I just wonder, did you think about integrating LV2 soon? Or what is the
> state of consideration (problem solving :-)) anyway?

now that LV2 [1] is out, adding support for it to Ecasound has definitely 
moved up a notch on my todo-list. I'm waiting with great interest how 
support for LV2 develops in general.

Of course, you can already use LV2 plugins with Ecasound through the 
combination of JACK and Zynjacku [1].

[1] http://lv2plug.in/
[2] http://home.gna.org/zynjacku/

--

-- 
  links, my public keys, etc at http://eca.cx/kv

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

(Continue reading)


Gmane