return to I Love My Journal
A Little Closer to Center...
Musings about Life, Linux, and Latter-day Saints.
Pages
About Me
Links


Tags
PERSONAL 520
SPIRITUAL 416
LDS 312
BOOK OF MORMON 237
SCRIPTURES 154
STUDIO-JOURNEY 129
RELIGION 112
LINUX 79
COMPUTERS 65
LIFE 60
GENERAL CONFERENCE 46
GENTOO 39
MISCELLANEOUS 37
MUSIC 37
PROGRAMMING 33
CARS 29
MICROSOFT 23
FAMILY 23
AUDIO 21
I LOVE MY JOURNAL 18
FUN 15
CHILDREN 12
CURRENT EVENTS 10
NATURE'S WAY 10
VIDEO 9
DRM 9
CONEXM 7
BABBLINGS 7
PROVO CITY CENTER TEMPLE 6
FRIENDS 6
HEROD THE FINK 5
GAMES 5
COMPUTER HARDWARE 5
DRUMS 4
HAND OF GOD 3
ADVERSITY 3
KDENLIVE 3
AUDIO HARDWARE 3
GENERAL INSANITY 3
STUDIO 3
THANKS4GIVING 2
CATS 2
MY JOURNAL 1
POETRY 1
FOREVERGREEN 1
EVERYDAY THOUGHTS 1
GOSPEL 1
PARENTING 1
YOUTH CONFERENCE 1
CHURCH NOTES 1
POLITICS 1


RSS Feed

RSS FeedSubscribe!
Sun - Sep 26, 2010 : 10:47 pm
excited
   rated 0 times
>>next>>
<<previous<<
Two Delta 1010 Config
Okay...  So I own and operate a recording studio, and I've been using an M-Audio delta 1010 as my primary audio interface.  This provides me 8 channels of simultaneous audio streams coming into my workstation.  Up until about a month ago, this has been very sufficient.

About a month ago, I ordered another Delta 1010, and planned on using this site's instructions on installing it.  Tonight I installed the 2nd delta 1010, and planned on a pretty arduous journey getting it to actually run.

It took me 1 hour from installation to getting 2 streams of audio recorded (1 from primary 1010, one from slave 1010).  These are highlights as to what I did to get it working, in hopes of helping others accomplish it even quicker.

After plugging in my 2nd audio interface, These are important points to getting it working.
  • I used SPDIF for sync.
  • Figure out which interface is connected to which device.  There will be two 1010 devices now (using aplay -l) and you need to know which is which in order to get the SPDIF clock to route correctly.  I accomplished this by using the -c option in envy24control (found in alsa-tools).  I opened up two instances of envy24control (one with -c2 and another with -c3 (I have 2 other superfluous audio devices for 0 and 1).  After doing that, I plugged a preamp into interface 1, and another in interface 2 - got some mics hooked up, and watched the meters as I spoke into each.  This will tell you which interface is which.
  • After figuring that out, choose the interface you wish to use as your main interface.  In the other interface's envy24control instance, click the "hardware settings" tab, and then under the "master clock" section, choose "SPDIF".
  • ****VERY IMPORTANT**** - Connect a SPDIF cable from your main interface's "O" SPDIF connector (on the card, not on breakout box) to your slave's "I" SPDIF connector.  Gotta make sure you do this in the right order, or you won't get very far.
  • Create an .asoundrc file and put in the configuration you find below.  Save this in your primary user's home directory.
  • start jack, and then start ardour.  You shoul see **16** input connections now.   I use the following command to start jack.
  • jackd -R -d alsa -C multi_capture -P multi_playback -r44100 -H
  • You're done!

That's really it.  I can't believe it was that easy, but thanks goes to whoever built the "jrigg" site containing the config below.  I would have never even considered buying a 2nd delta 1010 without that resource.

Here's my hardware / kernel setup.
  • Linux / gentoo
  • RT - Kernel 2.6.33 (from pro-audio overlay)
  • AMD Phenom 2 940 (quad-core)
  • 4 Gigs of RAM
  • ATI Radeon HD 4850 video card (dual outs)
  • dual acer H233H monitors (works great with two monitors)
  • ASUS motherboard (M3A79-T DELUXE)

Couldn't be happier with the the way this has been running.  I've been using ardour in a professional studio evironment now for a year.  No data loss, very few crashes, and customers absolutely thrilled with the product.  To hear samples of audio recorded with 100% Linux-based software, click here.  All plugins are Linux-based as well.  I don't have to use wine or windows for anything but auto-tuning.

Below is the configuration which can be found here as well (with the hw parameters tweaked to my sound-card set up)

# .asoundrc for two Delta 1010s
#
# Create virtual devices out of multiple soundcards.
# JACK will need MMAP_COMPLEX support to use this.
# ICE1712 chip has 12 capture channels and 10 playback channels.
# No. of channels in slaves must equal 12 for capture and 10 for playback
# otherwise "invalid argument" errors result.

pcm.multi_capture {
    type multi
    slaves.a.pcm hw:3
    slaves.a.channels 12
    slaves.b.pcm hw:2
    slaves.b.channels 12

# 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

# S/PDIF section. Uncomment bindings if required.

# S/PDIF first soundcard (capture)
     #bindings.16.slave a
     #bindings.16.channel 8
     #bindings.17.slave a
     #bindings.17.channel 9
   
# S/PDIF second soundcard (capture)
     #bindings.18.slave b
     #bindings.18.channel 8
     #bindings.19.slave b
     #bindings.19.channel 9
}

ctl.multi_capture {
    type hw
    card 3
}

pcm.multi_playback {
    type multi
    slaves.a.pcm hw:3
    slaves.a.channels 10
    slaves.b.pcm hw:2
    slaves.b.channels 10

# 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

# S/PDIF section. Uncomment bindings if required.

# S/PDIF first soundcard (playback)
     #bindings.16.slave a
     #bindings.16.channel 8
     #bindings.17.slave a
     #bindings.17.channel 9
   
# S/PDIF second soundcard (playback)
     #bindings.18.slave b
     #bindings.18.channel 8
     #bindings.19.slave b
     #bindings.19.channel 9
}

ctl.multi_playback {
    type hw
    card 3
}
Comment by Ross on Jan. 18, 2011 @ 01:46 pm
Wonderfull tutorial, I was very happy to found in my jack connection 16 input ... but after traied to record with Ardour, the same crash anytime .. and there midi problems with qsynt and other synts also.

Now I've rinstalled jack2 and I'm using only a audio interface.

 

 
Comment by Scott Johnson on Nov. 13, 2011 @ 07:17 pm
Do you need two PCI cards for this? Or all runs into the one card daisy chained?  
Comment by Jason on Nov. 19, 2011 @ 01:06 am
 Two PCI cards linked with an RCA SPDIF cable.