LADSPA plugin programming for Linux audio crossovers

Hi arcgotic, I had a look at the LADSPA plugins, I have a quad core PI sat here doing nothing. I did by it to upgrade my single core Pi, but that has been running so well, I wonder if the Quad core would run Jack and replace the Revo?
I don't think the single core would be fast enough!

Regards
Mike
 
I'd very much like to know if anyone is running my LADSPA plugins and ecasound on a single core Pi (e.g. Model B+). This is because I am very interested in getting my hands on a Pi Zero and trying that combination for crossover processing...


Charlie,
I've been watching for them, as soon as I can find a few I plan to order some. As soon as I heard about them I thought of your plugins and the possibilities a small platform like this could bring.

I hope suppliers have them again soon!
 
Odroid C1+

Curious to hear how the Orange pi as well as the odroid C1+ is working out. Any updates?

Hello Odal3,

I have changed focus a little bit in that I am just loading the music onto the SD card in lossless format. I have been able to get the Odroid C1+ to work with a Sewell Soundbox Pro - http://www.amazon.com/gp/product/B00K1OOGRI?psc=1&redirect=true&ref_=oh_aui_search_detailpage

I am running six output channels at CD quality through ecasound in a 5.1 format. I then am amping each of the sub channels, mid channels and tweeter channels to an open-baffle set of speakers.

The audio sounds real good and alive.

Here is the ecasound command: (The song is renamed but is Peggy's Kitchen Wall by Bruce Cockburn)

ecasound -z:mixmode,sum -x \
-a pre1 -i:/home/odroid/peggy.wav -o:loop,1 \
-a pre2,woofer -i:loop,1 \
-a:mid,tweeter -i:loop,2 \
-a pre2 -o loop,2 \
-a:woofer -pf:/etc/woofer.ecp -chorder:0,0,0,0,1,2 \
-a:mid -pf:/etc/mid.ecp -chorder:1,2,0,0,0,0 \
-a:tweeter -pf:/etc/tweeter.ecp -chorder:0,0,1,2,0,0 \
-a:woofer,mid,tweeter -f:16,6,44100 -o:alsa,surround51:Audio

So far, all I have been able to get done is playing a file that is on the USB SD card individually. I want to use a player such as mpd but have yet to figure out how.

I am wondering if I will be able to use a USB harddrive as a source. But, one thing at a time.

If there are any mpd gurus here I would sure love to have a tip or two.



James
 
Hello Odal3,

I have changed focus a little bit in that I am just loading the music onto the SD card in lossless format. I have been able to get the Odroid C1+ to work with a Sewell Soundbox Pro - Amazon.com: Sewell Direct Soundbox Pro External USB Sound Card, 24 bit 192 KHz Audio, 7.1 Channels Sound Cards SW-30415: Computers & Accessories

I am running six output channels at CD quality through ecasound in a 5.1 format. I then am amping each of the sub channels, mid channels and tweeter channels to an open-baffle set of speakers.

The audio sounds real good and alive.

Here is the ecasound command: (The song is renamed but is Peggy's Kitchen Wall by Bruce Cockburn)

ecasound -z:mixmode,sum -x \
-a pre1 -i:/home/odroid/peggy.wav -o:loop,1 \
-a pre2,woofer -i:loop,1 \
-a:mid,tweeter -i:loop,2 \
-a pre2 -o loop,2 \
-a:woofer -pf:/etc/woofer.ecp -chorder:0,0,0,0,1,2 \
-a:mid -pf:/etc/mid.ecp -chorder:1,2,0,0,0,0 \
-a:tweeter -pf:/etc/tweeter.ecp -chorder:0,0,1,2,0,0 \
-a:woofer,mid,tweeter -f:16,6,44100 -o:alsa,surround51:Audio

So far, all I have been able to get done is playing a file that is on the USB SD card individually. I want to use a player such as mpd but have yet to figure out how.

I am wondering if I will be able to use a USB harddrive as a source. But, one thing at a time.

If there are any mpd gurus here I would sure love to have a tip or two.



James
Try something like:
sudo apt-get install <program name>
to install something under linux. I'm not sure what you are running on the Odroid. I just installed mpd and am using the mpc client on the same computer for playback control. These work well imo.

Have you considered buying and mounting a usb external hard drive?

That Sewell Direct Soundbox Pro looks very interesting. How did the installation go? Did you need to find a driver or was it plug and play?

Do you happen to know what the maximum output voltage is from the Soundbox Pro? I couldn't find that spec anywhere...
 
Last edited:
MPD

Hi Charlie,

Thanks for the reply. I have successfully installed mpd but am learning how to set it up and use it - a challenge. I have given up on trying to ask the card to take a line in and then output it after processing with ecasound.

I am now trying to set up the card as a server output with mpd. But, I do not know mpd at all.

As to the USB card, it is pretty cool and has a good DA converter in it.

The Sewell is actually a rebranded version of this:

aim - Audio & Wireless Solutions

It uses a C-Media CMI-6620 chip with standalone HD Audio Codec CM9882A.

That chip is not listed on the ALSA matrix but it was recognized P&P by my linux setup.

Speaker test works normally and ecasound works too.

Changing its settings fails on alsamixer unless you put
"options snd-usb-audio ignore_ctl_error=1" into the /etc/alsa-base.conf file.

James
 
I have given up on trying to ask the card to take a line in and then output it after processing with ecasound.

What did you try in that regard?

You should be able to do something like this in ecasound
ecasound -i alsahw,x,y
Where the bolded x and y are obtained using the command arecord -l (lower case "L" as the option). For instance on my Pi 2 with a Behringer UCA202 connected I see the following:
**** List of CAPTURE Hardware Devices ****
card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
So in my case I would start the ecasound command string like this:
ecasound -i alsahw,1,0

Likewise you output to the DAC via alsa as well. You are probably more familiar with that end of the chain. Note that the soundcard must be "full duplex" meaning it can simultaneously read and write over the USB bus.

Try that (if you did not already).
 
Alsa

Hi Charlie,

I tried the -i:alsa,hw😀evice with the USB cards but it just does not work. It just freezes. I believe this may be because the card is not wholly supported by ALSA. CMI6602 does not appear on the ALSA matrix as supported.

That said, I can get -i:some.wav,hw😀evice to work so long as the .wav is on the SD card.

I have not tried the arecord -l but use aplay -l and aplay -L to figure out which card is which.

It worked very well with my big Linux box and a Delta 1010LT card.

I am trying to see if I can use RuneAudio. I will need to change the mpd.conf file (something Rune docs say not to do.).

James