Helpful ReplyDropouts recording live multi-track to laptop...

Author
dantarbill
Max Output Level: -57 dBFS
  • Total Posts : 1820
  • Joined: 2004/12/15 10:48:18
  • Location: Monrovia, CA
  • Status: offline
2014/10/27 20:09:37 (permalink)

Dropouts recording live multi-track to laptop...

I'm having trouble with occasional dropouts when recording 16 tracks live (44.1/24) on a Lenovo Thinkpad W540 onto its internal 5400 rpm drive with a 16GB "M.2 Solid State Drive Double", which (I think) acts like an SSD cache.  (Recording through the USB 2.0 interface on a Behringer X32 console.)
 
When I do the math, it says that each track consumes about 132KB per second.  Dividing that into 16GB (and dividing by 60 (seconds in a minute)  and 60 again (minutes in an hour) then by 16 (tracks)) implies that that 16GB "cache" would fill in about 2 hours.  In my last session (where I was very careful not to bump the laptop which makes the heads temporarily park), it dropped out about 40 minutes in saying it thought it was out of disk space.  (The spinning media still had 500GB of free space.)
 
I'm wondering if I can sidestep all of this by recording through SONAR on the laptop directly to a high speed USB 3.0 or Thunderbolt flash drive.  There are some SanDisk Extreme devices (64GB sequential writes at 220MB/s...or 128GB that writes faster than that) that might solve the problem.
 
Then again...I might not have even properly identified what my problem is.
 
Has anyone else chased this...and what was your solution?
 
...and pardon me for having posted this in the "Computers" section and subsequently hearing crickets...

Dan Tarbill
#1
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 09:44:14 (permalink)
There's some extra info that's needed. How longer are the files you're creating? Is this a 32- or 64-bit system (there are file size limits with 32-bit systems)? Have you turned off wi-fi and other elements that give latency spikes? What interface are you using and at how many sample buffers?
 
I would tend to think the 5400 RPM internal drive is a bottleneck. I'm also unclear about what the 16GB of memory does. If it's simply caching data on the way to the 5400 RPM, I think it still needs to write to that hard drive at some point...but I'll leave any definitive answers to the computer experts.

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#2
The Maillard Reaction
Max Output Level: 0 dBFS
  • Total Posts : 31918
  • Joined: 2004/07/09 20:02:20
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 09:56:14 (permalink)
Are you monitoring through SONAR?
 
If not you can take liberties with your sample buffer and run at a very large setting and see if that helps.
 
When I do field recording I try to quickly hit "save" and then "save as" between songs to make sure I have what I think I already have.
 
I once had a Windows XP laptop that had a DPC latency below 20µs and it would record 16-24 tracks at 24bit/44.1kHz for hours without a single hic cup.
 
that laptop died.
 
The past 2 Win 7 laptops I have owned have been incapable of running below 200µs DPC latency and so they have been useless for reliable field recording. I drag an old desktop out for the task now.
 
Good luck.


#3
Beagle
Max Output Level: 0 dBFS
  • Total Posts : 50621
  • Joined: 2006/03/29 11:03:12
  • Location: Fort Worth, TX
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 10:07:18 (permalink)
I agree with Craig that the 5400 rpm drive will be a bottleneck. 
 
I'm also unclear about the 16G cache.  does only the audio data fill up that cache when recording?  that might be a question for Noel.  I'm not sure how much of it is only raw audio data and how much might be pointers, windows overhead, sonar overhead, etc.
 
also, does the harddrive wait until the 16G cache is full before it starts writing?  I'm not sure on that either.

http://soundcloud.com/beaglesound/sets/featured-songs-1
i7, 16G DDR3, Win10x64, MOTU Ultralite Hybrid MK3
Yamaha MOXF6, Hammond XK3c, other stuff.
#4
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 10:11:02 (permalink) ☄ Helpfulby Beagle 2014/10/28 10:14:09
This article does a good job of explaining hybrid drives http://www.pcworld.com/article/2012223/hybrid-hard-drives-how-they-work-and-why-they-matter.html Streaming audio writes would bypass the SSD portion and go straight to the platter(s).
#5
The Maillard Reaction
Max Output Level: 0 dBFS
  • Total Posts : 31918
  • Joined: 2004/07/09 20:02:20
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 10:28:46 (permalink)
FWIW, 5400rpm is plenty for 16 tracks of 24/44.1 if the hard drive isn't hampered by some especially bad on board controller.
 
Been there done that.


#6
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 10:31:09 (permalink)
Also, we don't know what version of SONAR or system OS is being run.

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#7
Beagle
Max Output Level: 0 dBFS
  • Total Posts : 50621
  • Joined: 2006/03/29 11:03:12
  • Location: Fort Worth, TX
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 10:34:47 (permalink)
mike_mccue
FWIW, 5400rpm is plenty for 16 tracks of 24/44.1 if the hard drive isn't hampered by some especially bad on board controller.
 
Been there done that.


theoretically and  probably in practice by some.  but we don't know how many other programs might be accessing his hard drive at the same time he's recording.  if this is a dedicated machine and it's lean then 5400 might be just fine.

http://soundcloud.com/beaglesound/sets/featured-songs-1
i7, 16G DDR3, Win10x64, MOTU Ultralite Hybrid MK3
Yamaha MOXF6, Hammond XK3c, other stuff.
#8
The Maillard Reaction
Max Output Level: 0 dBFS
  • Total Posts : 31918
  • Joined: 2004/07/09 20:02:20
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 10:45:36 (permalink)
Well, yeah....
 
 
... I'd advise checking the DPC latency and see how bad the interrupts are.
 
On the machine I mentioned that I was able to get below 20µs there were almost no interrupts to the CPU or the system devices and 5400rpm worked without a hitch. On the machines that can't get below 200µs a 7200rpm drive doesn't help.
 
I'd advise looking for a problem elsewhere and avoid the distractions of the drive as a bottleneck theory. 
 
The dialog may say something like "the drive is full"' but that is just because that is what someone typed in the dialog text line many years ago. The system isn't actually reporting why the stream stopped... it's just popping open a flash card.


#9
dantarbill
Max Output Level: -57 dBFS
  • Total Posts : 1820
  • Joined: 2004/12/15 10:48:18
  • Location: Monrovia, CA
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 11:27:09 (permalink)
SONAR X3e build 352
11 ms latency
All track and bus fx bins bypassed
Not monitoring through SONAR
Windows 7 Pro 64 bit Service Pack 1
i7-4900MQ 2.80 GHz
16 GB Memory
Norton 360 in "Silent" mode
WiFi not connected to anything
Interface - Behringer X32 via X-UF USB (2.0) ASIO driver
The laptop sits on top of a stack of SoundBlaster cards, just the way CJ recommended.
No cat pictures have been used as wallpaper.
The laptop is oriented with the screen facing South...the operator facing North.
 
I haven't checked DPC latency yet.
 
Getting back to the original question...has anyone tried recording directly to USB 3.0 connected high speed flash media?

Dan Tarbill
#10
dantarbill
Max Output Level: -57 dBFS
  • Total Posts : 1820
  • Joined: 2004/12/15 10:48:18
  • Location: Monrovia, CA
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 11:32:36 (permalink)
mike_mccue
 
The dialog may say something like "the drive is full"' but that is just because that is what someone typed in the dialog text line many years ago.




...well aware of misleading or just plain wrong error messages...

Dan Tarbill
#11
The Maillard Reaction
Max Output Level: 0 dBFS
  • Total Posts : 31918
  • Joined: 2004/07/09 20:02:20
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 11:38:58 (permalink)
Good to see you have a sense of humor!
 
After you check the DPC latency you'll probably have some sense of what is going wrong. ;-)
 
 
 
I was using a Class 10 Compact Flash card to record a media stream at 35Mbps last week and the device had a buffer over run which interrupted the stream and stopped the recording mid way.
 
16 tracks of mono 24/44.1 equals 11.2896 Mbps.   fixed: 16.934.40Mbps
 
It's worth a try... but I'll bet something running in Windows interrupts the process.
 
 
 
 
post edited by mike_mccue - 2014/10/28 13:00:46


#12
Sanderxpander
Max Output Level: -36.5 dBFS
  • Total Posts : 3873
  • Joined: 2013/09/30 10:08:24
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 11:48:47 (permalink)
Video card drivers (especially the ones with HDMI audio), wifi drivers, anti-virus and disk indexing services have been known to interrupt smooth performance, though usually the issues are more severe. Are you reasonably sure none of these are interfering?
#13
dantarbill
Max Output Level: -57 dBFS
  • Total Posts : 1820
  • Joined: 2004/12/15 10:48:18
  • Location: Monrovia, CA
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 11:56:09 (permalink)
mike_mccue
 
16 tracks of mono 24/44.1 equals 11.2896 Mbps.
 

Huh?  Why doesn't 44,100 * 24 * 16 = 16,934,400?

Dan Tarbill
#14
The Maillard Reaction
Max Output Level: 0 dBFS
  • Total Posts : 31918
  • Joined: 2004/07/09 20:02:20
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 12:52:23 (permalink)
dantarbill
mike_mccue
 
16 tracks of mono 24/44.1 equals 11.2896 Mbps.
 

Huh?  Why doesn't 44,100 * 24 * 16 = 16,934,400?




 
You are correct and I was mistakenly quoting the rate of a 16 channel a 16bit/44.1kHz stream. I apologize for the mistake.


#15
57Gregy
Max Output Level: 0 dBFS
  • Total Posts : 14404
  • Joined: 2004/05/31 17:04:17
  • Location: Raleigh, North Carolina
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 13:44:20 (permalink)
If you're recording live performances, I think 11 ms latency is unnecessary and could cause the machine to hiccup if anything else happens on the computer while recording.
Not that it has anything to do with your current problem, probably, just sayin'.

Greg 
I am selling my MIM Fender Stratocaster HSS, red and black. PM for more details.

Music Creator 2003, MC Pro 24, SONAR Home Studio 6 XL, SONAR  X3e, CbB, Focusrite Saffire, not enough space.
Everything is better with pie. 

http://www.soundclick.com/bands/default.cfm?bandID=609446
http://www.reverbnation.com/#!/gregfields 
#16
dantarbill
Max Output Level: -57 dBFS
  • Total Posts : 1820
  • Joined: 2004/12/15 10:48:18
  • Location: Monrovia, CA
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/28 14:02:02 (permalink)
57Gregy
...I think 11 ms latency is unnecessary...




I saw that too when I started pulling data together.
 
Although that exposes another mini-beef I have.  You can only make configuration changes for a particular interface when you're actually connected to that interface.  That takes even more time during Sunday morning setup when time is at a premium.
 
Hmm...what I could do is just edit the AUD.ini that I use for the X32.
 

Dan Tarbill
#17
The Maillard Reaction
Max Output Level: 0 dBFS
  • Total Posts : 31918
  • Joined: 2004/07/09 20:02:20
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/30 08:23:58 (permalink)
Did you have a chance to run a DPC latency tool?


#18
dubdisciple
Max Output Level: -17 dBFS
  • Total Posts : 5849
  • Joined: 2008/01/29 00:31:46
  • Location: Seattle, Wa
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/30 09:05:37 (permalink)
I turn off just about everything I can when recording on laptop. I saw you don't have laptop comnected to wi-fi, but also disable the wi-fi adapter completely when using Sonar or any other latency affected product. Disable background services and scheduled maintenance items like scheduled disk defragmentation. Also software update checks that often load at startup like quicktime/ itunes, various adobe programs, java, etc. I recommend going through your list of programs that load on startup every now and then because tons of things from printer apps to various proprietary "assistant" programs tend to load automatically and check for updates too. Just disabling wi-fi and Nvidia's crappy audio drivers alone reduced my latency exponentially. Good luck.
#19
Anderton
Max Output Level: 0 dBFS
  • Total Posts : 14070
  • Joined: 2003/11/06 14:02:03
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/30 09:42:52 (permalink)
^^^^ +1 to everything said in the above post

The first 3 books in "The Musician's Guide to Home Recording" series are available from Hal Leonard and http://www.reverb.com. Listen to my music on http://www.YouTube.com/thecraiganderton, and visit http://www.craiganderton.com. Thanks!
#20
TremoJem
Max Output Level: -81 dBFS
  • Total Posts : 479
  • Joined: 2008/04/10 09:42:25
  • Location: NY
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/30 09:58:42 (permalink)
There was a time when it was easy to find the startup folder to check what was loading at starup.
 
Now, in Win7...I am unsure I have actually found it.
 
I almost remember back in the day you could remove programs from that folder...now I am lost.
 
Any quick guidelines for me to pursue on my laptop, thanks.

Purrrfect Audio LLC Pro Studio, Sonar X3e PE X64, Win7 Pro 64Bit - Dell Inspiron 1760, Sonar 7 PE X64, Win7 Pro 64Bit - iZotope Ozone 5 & Alloy 2 - MOTU Audio Express & 2 MOTU 8Pre - Glyph & Lacie External HDs - Roland A-800Pro - Mackie MR5mkIII - Shure - AKG - Sennheiser
 
Most importantly...not enough time.
 
www.studiocat.com
jim@studiocat.com
 
#21
dubdisciple
Max Output Level: -17 dBFS
  • Total Posts : 5849
  • Joined: 2008/01/29 00:31:46
  • Location: Seattle, Wa
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/30 10:08:03 (permalink)
Good ol msconfig and then select startup tab is one way in win 7 to disable tbos pesky load on startup apps. Needless to say check anything you are unsure of before removing. My next stop is usually to the services area to see which of those are enabled and running. There are various ways to get there and I am typing on phone now. I will check later and post exact steps if unresolved. I disable things like remote desktop and remote startup ( which I never use anyway) and any other service that is useless to me. Next stop is Device manager. There is debate as to whether it is necessary to disable onboard audio in addition to any additional audio drivers from Nvidia. Great discussion on that topic started by Craig Anderton.
#22
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/30 10:46:20 (permalink)
In an earlier post, you indicate the Wi-Fi is 'not hooked up to anything'.
 
Can you please elaborate on that?  The reason I ask is that many times a Wi-Fi adapter on a laptop can cause massive, but intermittent, DPC Latency spikes, that can cause all kinds of problems for streaming audio applications, such as Sonar.
 
What I do, and many others as well, is to either use a hardware switch (if present) to turn off the adapter just prior to launching Sonar, or go into Device Manager and temporarily disable the Wi-Fi-adapter - again just prior to launching Sonar.  It can be enabled or turned back on as soon as you finish working with your Sonar session.
 
Bob Bone
 

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#23
swamptooth
Max Output Level: -53 dBFS
  • Total Posts : 2229
  • Joined: 2012/04/16 15:44:21
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/31 15:19:45 (permalink)
hey dan, 
I have used a usb 3 drive to record to and it was unspectacular.  it was bus powered, which was a big part of the problem.  if you're going down this route i'd recommend buying an external, powered enclosure and putting a 7200rpm non-green drive in it.  i've seen some people go this route and find it rather successful - i think it was in a reaper forum.
my solution for my laptop was to pick up a dvd bay hard drive caddy, pop out the optical drive and replace it with a wd black 7200rpm 750gb hdd.  works a treat.

 
Arvid H. Peterson
Sonar X3E Prod / X2A  / X1PE | Cubase 9.5.1 | Reason 9.5 | Sibelius7 | Pure Data
Native-Instruments Komplete 10 Ultimate and a smattering of other plugins
Home-brewed VSTs 
Toshiba Satellite S855-S5378 (16GB RAM, modified with 2x 750GB HDDs, Windows 8.1 x64)  
Samson Graphite 49, M-Audio Oxygen 49, Korg nanoPAD2, Webcam motion tracking programs 
M-Audio Fast Track Ultra
Member, ASCAP   


#24
tlw
Max Output Level: -49.5 dBFS
  • Total Posts : 2567
  • Joined: 2008/10/11 22:06:32
  • Location: West Midlands, UK
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/31 15:36:30 (permalink)
Don't know if this is relevant or not, but a lot of people running Macs with hybrid SDD/magnetic drives seem to have had big dropout problems. There are loads of threads about this on any Mac DAW forum. The solution there seems to be to replace the hybrid drive for a cure SSD or pure HDD. Some people claim to have got rid of the dropouts by putting the OS on an external USB HDD and spooling the audio to the internal hybrid.
 
The problems seem to happen even if the audio is being streamed to an external USB/firewire/Thunderbird drive. The most popular suspected culprit is the OS or the drive itself shifting data from flash to magnetic storage as it feels the need - including the OS swap file.

Sonar Platinum 64bit, Windows 8.1 Pro 64bit, I7 3770K Ivybridge, 16GB Ram, Gigabyte Z77-D3H m/board,
ATI 7750 graphics+ 1GB RAM, 2xIntel 520 series 220GB SSDs, 1 TB Samsung F3 + 1 TB WD HDDs, Seasonic fanless 460W psu, RME Fireface UFX, Focusrite Octopre.
Assorted real synths, guitars, mandolins, diatonic accordions, percussion, fx and other stuff.
#25
dantarbill
Max Output Level: -57 dBFS
  • Total Posts : 1820
  • Joined: 2004/12/15 10:48:18
  • Location: Monrovia, CA
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/31 16:15:27 (permalink)
I'm not ignoring everyone...
 
Well...yeah...I kinda am.  But I have real work to do in the interim.
 
I'm going to work the DPC angle over the weekend and see what I get.  I looked at the results of LatencyMon, which has implicated tcpip.sys, wdf0100.sys and ACPI.sys.
 
I've also seen Craig's thread on disabling the audio driver for the onboard audio...and I'm considering the possibilities on that too.
 
Oh...Task Manager is showing 5 (five) network connections.  The Ethernet port, BlueTooth and WiFi account for 3 of them.  But I have no idea what the other two Wireless Network Connections are.

Dan Tarbill
#26
sock monkey
Max Output Level: -80 dBFS
  • Total Posts : 547
  • Joined: 2011/11/06 12:12:08
  • Location: Tree Top Studios
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/10/31 23:02:15 (permalink)
Ahhh Laptops, the bane of the DAW world. I normally only have to disable a few things, I did a test once where disabling things in MSconfig does little but make for a faster start up on booting. The DPLAT test did not improve after disabling a dozen services. Mostly those stay idle.
Software that checks for updates, ya but it cannot do that if there is no internet..
Open device manager and disable your wireless and the battery management for starters,
Those are the 2 biggest hogs.
Don't let any software auto load on start up.

Cakelab - Sonar X3e Studio   
Singer Songwriter, Solo Performer, Acoustic Duo and semi pro Sound Monkey.   
  
#27
tlw
Max Output Level: -49.5 dBFS
  • Total Posts : 2567
  • Joined: 2008/10/11 22:06:32
  • Location: West Midlands, UK
  • Status: offline
Re: Dropouts recording live multi-track to laptop... 2014/11/01 20:01:39 (permalink)
Go into control panel/device manager and disable (not uninstall) the wireless networking adaptor before recording. Wireless networking is absolutely notorious for causing audio dropouts,

Sonar Platinum 64bit, Windows 8.1 Pro 64bit, I7 3770K Ivybridge, 16GB Ram, Gigabyte Z77-D3H m/board,
ATI 7750 graphics+ 1GB RAM, 2xIntel 520 series 220GB SSDs, 1 TB Samsung F3 + 1 TB WD HDDs, Seasonic fanless 460W psu, RME Fireface UFX, Focusrite Octopre.
Assorted real synths, guitars, mandolins, diatonic accordions, percussion, fx and other stuff.
#28
Jump to:
© 2024 APG vNext Commercial Version 5.1