Skip to contentSkip to conversation

Implementing digital crossover?

DISCUSSION Svante Eriksson 2 participants 2 messages Oct 20, 2003 – Oct 21, 2003

lore
Share & tools
lore
#0 lore raw

Hi all,

What would be an appropriate ALSA way of implementing a two-way digital crossover PCM output? What I would like is for an ALSA PCM device to provide two SPDIF outputs with high- and low-band audio for the left and right channels, respectively. I'd like for this to be transparent to the applications that produce audio output.

Ideally, I would like for the filter parameters to be run-time tweakable, at least initially. Would it be possible to use a mixer-like control interface for this?

Similar to the filter parameters, I would like to control an external analog attenuator using an ALSA mixer control (likely through the parallel port).

Also, would using two different SPDIF output cards be too bad even for a proof-of-concept setup? I'm considering adding another el-cheapo CMI8738 based card, but don't know how much the lack of synchronization will impact. Has anyone got experience from this? Or is it possible to synchronize two cards (possibly by hw modification)?

For a real setup, what is a good PCI-based 4-ch 2xSPDIF output card that has good ALSA support? It should at least be capable of both 48kHz and 44.1kHz output (w/o hw resampling). (Support for 24-bit @ 96kHz would be appreciated as well.)

Does anyone know of similar projects? The basic Google-searches didn't yield much.

I'd appreciate any answers.

/Svante

Signature · 8 lines
svante at eriksson dot name


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
#1 lore raw

At Mon, 20 Oct 2003 09:35:57 +0200,

Quoted 9 lines · Svante Eriksson

Hi all,

What would be an appropriate ALSA way of implementing a two-way digital crossover PCM output? What I would like is for an ALSA PCM device to provide two SPDIF outputs with high- and low-band audio for the left and right channels, respectively. I'd like for this to be transparent to the applications that produce audio output.

Quoted 3 lines

Ideally, I would like for the filter parameters to be run-time tweakable, at least initially. Would it be possible to use a mixer-like control interface for this?

we're considering user-defined controls which can be created/used dynamically by user apps. not implemented yet, thought.

Quoted 9 lines

Similar to the filter parameters, I would like to control an external analog attenuator using an ALSA mixer control (likely through the parallel port).

Also, would using two different SPDIF output cards be too bad even for a proof-of-concept setup? I'm considering adding another el-cheapo CMI8738 based card, but don't know how much the lack of synchronization will impact. Has anyone got experience from this? Or is it possible to synchronize two cards (possibly by hw modification)?

if you use two different type of cards, there might significant timing delays. on software level, you can link two streams so that they can be operated (almost) simultaneously.
but the real situation is quite hardware specific...

Quoted 4 lines

For a real setup, what is a good PCI-based 4-ch 2xSPDIF output card that has good ALSA support? It should at least be capable of both 48kHz and 44.1kHz output (w/o hw resampling). (Support for 24-bit @ 96kHz would be appreciated as well.)

for example, the ice1724 boards can be linked on hardware, so you can get the exact synchronization.
from the perspective of costs, cmipci is the cheapest, but there is no guarantee that two cards can run parallel in sync.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54