Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Lance Blisters <geoff@hurl.ugcs.caltech.edu>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: 16-channel recording w/ LAYLA, ALSA, JACK, ARDOUR
Date: Wed, 12 Apr 2006 16:18:08 -0400	[thread overview]
Message-ID: <1144873089.27496.22.camel@mindpipe> (raw)
In-Reply-To: <20060412200957.GA4090@hurl.ugcs.caltech.edu>

On Wed, 2006-04-12 at 13:09 -0700, Lance Blisters wrote:
> I bought a Layla24 and Cardbus adaptor.  Works beatifully with ALSA/JACK/ARDOUR up to 8 channels.  However, the soundcard presents the 8 analog channels as device 0 and 8 digital channels as device 1.  JACK will only open one device at a time.  So in order to record 16 channels with Ardour, I apparently need to create a virtual ALSA device combining the two LAYLA subdevices.
> 
> Has anyone solved this problem for this device?  I know ".asoundrc" and 
> "multi" and company, but that is far from a complete answer - what
> I really need is an actual functional .asoundrc.
> 
> Please CC me, as I had to drop off the list about five years ago due to
> bandwidth limitations.

Maybe someone can explain why this .asoundrc does not work, AFAICT it
should.  The error is:

ALSA lib conf.c:1592:(snd_config_load1)_toplevel_:606:27:Unexpected char
ALSA lib conf.c:2837:(snd_config_hook_load)/root/.asoundrc may be old or
corrupted consider to remove or fix it

Character 27 is either the '1' or the newline.

The analog device is "hw:0,0" and digital "hw:0,1", right?

# .asoundrc for layla 
#
# Create virtual devices out of multipls subdevices
# JACK will need MMAP_COMPLEX support to use this. 

pcm.multi_capture {
	type multi
	slaves.a.pcm hw:0,0
	slaves.a.channels 8
	slaves.b.pcm hw:0,1
	slaves.b.channels 8

# First 8 channels of first soundcard (capture)
	bindings.0.slave a
	bindings.0.channel 0
	bindings.1.slave a
	bindings.1.channel 1
	bindings.2.slave a
	bindings.2.channel 2
	bindings.3.slave a
	bindings.3.channel 3
	bindings.4.slave a
	bindings.4.channel 4
	bindings.5.slave a
	bindings.5.channel 5
	bindings.6.slave a
	bindings.6.channel 6
	bindings.7.slave a
	bindings.7.channel 7
    
# First 8 channels of second soundcard (capture)
	bindings.8.slave b
	bindings.8.channel 0
	bindings.9.slave b
	bindings.9.channel 1
	bindings.10.slave b
	bindings.10.channel 2
	bindings.11.slave b
	bindings.11.channel 3
	bindings.12.slave b
	bindings.12.channel 4
	bindings.13.slave b
	bindings.13.channel 5
	bindings.14.slave b
	bindings.14.channel 6
	bindings.15.slave b
	bindings.15.channel 7

}

ctl.multi_capture {
	type hw
	card 0
}

pcm.multi_playback {
	type multi
	slaves.a.pcm hw:0,0
	slaves.a.channels 8
	slaves.b.pcm hw:0,1
	slaves.b.channels 8

# First 8 channels of first soundcard (playback)
	bindings.0.slave a
	bindings.0.channel 0
	bindings.1.slave a
	bindings.1.channel 1
	bindings.2.slave a
	bindings.2.channel 2
	bindings.3.slave a
	bindings.3.channel 3
	bindings.4.slave a
	bindings.4.channel 4
	bindings.5.slave a
	bindings.5.channel 5
	bindings.6.slave a
	bindings.6.channel 6
	bindings.7.slave a
	bindings.7.channel 7

# First 8 channels of second soundcard (playback)
	bindings.8.slave b
	bindings.8.channel 0
	bindings.9.slave b
	bindings.9.channel 1
	bindings.10.slave b
	bindings.10.channel 2
	bindings.11.slave b
	bindings.11.channel 3
	bindings.12.slave b
	bindings.12.channel 4
	bindings.13.slave b
	bindings.13.channel 5
	bindings.14.slave b
	bindings.14.channel 6
	bindings.15.slave b
	bindings.15.channel 7

}

ctl.multi_playback {
	type hw
	card 0
}






-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

  reply	other threads:[~2006-04-12 20:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-12 20:09 16-channel recording w/ LAYLA, ALSA, JACK, ARDOUR Lance Blisters
2006-04-12 20:18 ` Lee Revell [this message]
2006-04-12 21:37   ` Lee Revell
2006-04-12 21:40   ` Lee Revell
2006-04-13  3:17     ` Lance Blisters
2006-04-13  3:29       ` Paul Davis
2006-04-13  5:39         ` Lance Blisters
2006-04-13 19:39           ` John Rigg
2006-04-14  3:14             ` Lance Blisters
2006-04-14  3:23             ` Lance Blisters
2006-04-14  3:00         ` Lance Blisters
2006-04-14  3:02           ` Lee Revell
2006-04-14  8:26         ` Lance Blisters
2006-04-14 11:54           ` John Rigg
2006-04-14 13:21           ` Lee Revell
2006-04-14 15:44           ` Giuliano Pochini
2006-04-14 16:19             ` Lance Blisters
2006-04-14 21:59           ` Fernando Lopez-Lezcano
2006-04-13  3:30       ` Lee Revell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1144873089.27496.22.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=geoff@hurl.ugcs.caltech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox