[linux-audio-user] Audigy2/emu10k1 ALSA JACK audio capture problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This is my first post to the list and I'm still pretty much a newb, so 
go gently... :-)

I have an Audigy2 Platinum Pro ZS card that I would like to use for 6 
channel input and output work.  I am using JACK (0.99.49) via the 
QJackCtl (0.2.14) frontend.  I've installed ALSA 1.0.8 with Lee's 
emu10k1 multichannel v0008.  I am running a pretty much stock, up to 
date FC3 distro using kernel 2.6.10 with the realtime-lsm kernel module 
installed so I have realtime privileges for jackd.
 
/proc/asound/devices:

   4: [0- 0]: hardware dependent
   9: [0- 1]: raw midi
   8: [0- 0]: raw midi
 19: [0- 3]: digital audio playback
 18: [0- 2]: digital audio playback
 26: [0- 2]: digital audio capture
 25: [0- 1]: digital audio capture
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
   0: [0- 0]: ctl
   1:          : sequencer
   6: [0- 2]: hardware dependent
 10: [0- 2]: raw midi
 11: [0- 3]: raw midi
 33:          : timer


All software seems to be working properly.  My problem is that I cannot 
figure out how to configure my 6 desired capture channels so that I can 
read signals on the L & R channels of my 3 Line In inputs.  I just think 
I have a configuration problem  Any and all help greatly appreciated.

Here is the PCM device definition from my .asoundrc file (which is a 
modification of the example file found on the included reference webpage):

################################################################################
#
# 5.1 Channel Surround Sound
#
# Reference information:
# http://alsa.opensrc.org/index.php?page=SurroundSound

ctl.jack51 {
    type hw
    card 0
}

pcm.jack51 {
    # "asym" allows for different handling of in/out devices
    type asym
    playback.pcm {
#      # route for mmap workaround
        type route
        slave.pcm surround51
#        # Had to switch all L and R Channels to conform playback
#        # channels within JACK to standard 5.1 channel mapping.
#        # The trailing 1's indicate unity gain (valid values are 0.0-1.0)
        ttable.0.1 1    # routes 0 to 1 (playback_1 [0] to output 
channel 1 [1])
        ttable.1.0 1    # routes 1 to 0    (playback_2 [1] to output 
channel 0 [0])
        ttable.2.3 1    # routes 2 to 3 (playback_3 [2] to output 
channel 3 [3])
        ttable.3.2 1    # routes 3 to 2 (playback_4 [3] to output 
channel 2 [2])
        ttable.4.5 1    # routes 4 to 5 (playback_5 [4] to output 
channel 5 [5])
        ttable.5.4 1    # routes 5 to 4 (playback_6 [5] to output 
channel 4 [4])
    }
    capture.pcm {
#      # 2 channels only
        type hw
        card 0
    }
}

################################################################################

Using this "pcm.jack51" from within QJackCtl (equivalent to. jackd -R 
-dalsa -d jack51 -S) I get 2 Capture channels (which both appear to 
contain the R channel of Line In #1) and 6 playback channels (which are 
correct).   BTW, I can use my jack51 PCM from within QJackCtl because I 
edited the "Interfaces" menu via the qjackctlrc file so that I have a 
"jack51" menu option.  Once JACK is started, channel interconnectivity 
works correctly.  How do I write the "capture.pcm" part of my .asoundrc 
file so that all 6 inputs become capture channels in JACK?

I've done loads of reading on customizing a .asoundrc file and have 
tried many permutations in attemting to configure my Audigy2's 6 input 
channels, but no luck so far...  There seems to be a good deal of 
information for configuring ALSA for *playing* audio, but not so much 
for *capturing* audio!

Does anyone have any experience with this that I could draw on and would 
be willing to help?  Other questions: Is this supported for my hardware 
yet?  Any recommendations for multichannel (at least 6 in & out) cards 
that are currently well supported?

Thanks in advance for any assistance.  I can post more detailed info as 
needed.


-Rick



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux