Re: Problem connecting RME Multiface II and Behringer ADA8000

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

 



On Tue, Aug 02, 2011 at 12:04:56PM +0200, Giorgio - Audiophilo wrote:

> I think i have to add another potential source of trouble...

Some info which may be of use.

Capture assignments are fixed:

   1..8  : analog inputs
   9..16 : ADAT input
   17,18 : SPDIF input

Playback channels go via the matrix mixer. You either have to use
hdspmixer, or a script like this one:

----------------------------------------->8------------------------------------
#!/bin/bash

# mixer inputs:
# ------------------------------- 
#     0-7    analog in
#    16-23   adat in
#    24-25   spdif in
#    26-33   playback 1-8
#    42-51   playback 9-18

# mixer outputs:
# -------------------------------
#     0-7    analog out
#    16-23   adat out 
#    24-25   spdif out
#    26-27   headphones out


# Alsa device name
device=hw:DSP

# 32768 is 0 dB
gain=32768


function set_gain ()
{
    amixer -D $device cset numid=5 $1,$2,$3 > /dev/null 2>&1
}

function reset_matrix ()
{
    for out in $(seq 0 27); do
        for inp in $(seq 0 51); do
            set_gain $inp $out 0
        done
    done
}

echo Clearing matrix mixer ...

# Reset all
reset_matrix

echo Setting default connections ...

# Playback 1-8 to analog outs
set_gain 26 0 $gain
set_gain 27 1 $gain
set_gain 28 2 $gain
set_gain 29 3 $gain
set_gain 30 4 $gain
set_gain 31 5 $gain
set_gain 32 6 $gain
set_gain 33 7 $gain

# Playback 9-16 to ADAT out
set_gain 42 16 $gain
set_gain 43 17 $gain
set_gain 44 18 $gain
set_gain 45 19 $gain
set_gain 46 20 $gain
set_gain 47 21 $gain
set_gain 48 22 $gain
set_gain 49 23 $gain

# Playback 17,18 to spdif out
set_gain 50 24 $gain
set_gain 51 25 $gain

# Playback 17,18 to headphones out
set_gain 49 26 $gain
set_gain 51 27 $gain

# Set clock source
#
amixer -D$device sset 'Preferred Sync Reference' 'ADAT1'
#amixer -D$device sset 'Preferred Sync Reference' 'Word'
amixer -D$device sset 'Sample Clock Source' 'AutoSync'
#amixer -D$device sset 'Sample Clock Source' 'Internal 48.0 kHz'

echo Done.

exit 0

----------------------------------------->8------------------------------------


Ciao,

-- 
FA


  


_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user


[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