Linux + MPD player + dsp crossover via ecasound

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi, experts... I've been playing with this attempted setup for a couple weeks. Started with a project found at: Digital Crossover/EQ with Open-Source Software: HOWTO | Richard's Stuff

I've gotten part way, and have hit a brick wall getting ecasound to play nicely.

Soundcard: Turtle Beach Montego DDL (in 5.1 mode)
Linux build: Ubuntu, latest download two weeks ago.

MPD seems fine, but ecasound likes to crash and issue obscure error messages that google hasn't helped me with.

I've been a unix system admin and a tech support engineer for years, so that part doesn't bother me, but this sound stuff....

Any help or advice is welcomed!
 
Member
Joined 2011
Paid Member
Might make note if it's alsa, ecasound or mpd that has the error as you step through the tests in the instructions. Also make sure that mpd --version reports pipe as an output plugin. Perhaps you might have to remove "jack" as a mpd plugin as ecasound reports issues with it.
 
no jack?

Thanks for the quick turnarounds!

As far as I know, I'm not using Jack at all. The problem appears to be somewhere in the interface between ecasound and alsa.

When I run this simple one, it does work fine:
ecasound -tl -i chan_labels_6.wav -f:16,6,44100 -eadb:-24 -o alsa,surround51:CMI8768When I run the more complex test, using something more like this, it doesn't:

ecasound -z:mixmode,sum -x \ -a:pre -i:mysong.mp3 -pf:pre.ecp -o:loop,1 \ -a:woofer,tweeter -i:loop,1 \ -a:woofer -pf:woofer.ecp -chorder:1,2,0,0 \ -a:tweeter -pf:tweeter.ecp -chorder:0,0,1,2 \ -a:woofer,tweeter -f:16,4,44100 -o:alsa,surround51:CMI8768All this is without MPD, so I don't think that's the issue. MPD plays fine with a stripped down command-set. I have tried emptying and replacing the specified plugins, and that doesn't appear to be the problem

thanks!
 
This morning's test:
# test for ecasound and stuff
ecasound -z:mixmode,sum -x \
-a pre -i:Downloads/chan_labels_4.wav -o:loop,1 -a:woofer,tweeter -i:loop,1 -a:w oofer -pf:/etc/woofer.ecp -chorder:1,2,0,0 -a:tweeter -pf:/etc/tweeter.ecp -chor der:0,0,1,2 -a:woofer,tweeter -f:16,4,44100 -o:testoutput.mp3

The input file has "left tweeter, right tweeter, left woofer, right woofer". The output file has "left woofer, right woofer, and then silence. Ecasound crashed at the end, as always.

This command:

# test for ecasound and stuff
ecasound -z:mixmode,sum -x \
-a pre -i:Downloads/chan_labels_4.wav -o:loop,1 -a:woofer,tweeter -i:loop,1 -a:woofer -pf:/etc/woofer.ecp -chorder:1,2,0,0 -a:tweeter -pf:/etc/tweeter.ecp -chorder:0,0,1,2 -a:woofer,tweeter -f:16,4,44100 -o:alsa,surround51:CMI8768

yields this output message:

(eca-chainsetup-parser) Enabling 'sum' mixmode.
(eca-chainsetup-parser) Truncating outputs (overwrite-mode).
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-chainsetup) "rtlowlatency" buffering mode selected.
(eca-chainsetup) NOTE: using existing audio parameters -f:s16_le,4,44100 for
... object 'Downloads/chan_labels_4.wav' (tried to open with
... -f:s16_le,2,44100).
(eca-chainsetup) Opened input "Downloads/chan_labels_4.wav", mode "read".
... Format: s16_le, channels 4, srate 44100, interleaved (locked params).
(eca-chainsetup) NOTE: using existing audio parameters -f:f32_le,2,44100 for
... object 'loop' (tried to open with -f:s16_le,2,44100).
(eca-chainsetup) Opened input "loop", mode "read". Format: f32_le, channels
... 2, srate 44100, interleaved (locked params).
(eca-chainsetup) Opened input "loop", mode "read". Format: f32_le, channels
... 2, srate 44100, interleaved (locked params).
ERROR: Connecting chainsetup failed: "Enabling chainsetup: AUDIOIO-ALSA:
... Channel count 4 is out of range!"

this is where I'm stuck..

thanks

jay
 
At present, yes, I wish to output 4 channels to the 6 channel device. Eventually, I need to output a full-spectrum feed to the last two channels to feed the rest of the house... I had assumed that "out of range" meant, "too big a number". I think I tried six, but will try again:

Hm.. I'm still downstairs, and about to leave to measure for a remodeling project (my wife's business), but that appeared to work. No error messages at all. Need to listen to the ports and see what comes out.

Thanks for leading me in what looks like the right direction!
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.