Go Back   Home Recording Forum > Recording Engineers / Producers > Solve Technical Issues > Sonar / Cakewalk

Sonar / Cakewalk Having problems with Sonar or Cakewalk? This is the place to get help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-16-2009, 07:33 PM
New Member
 
Join Date: Jun 2009
Posts: 14
Rep Power: 0
TonyKeys is on a distinguished road
Default Pops and clicks when recording

Only when I am recording external audio into my computer, I get these pops and clicks. when I record internal sounds through midi it is fine. Im using the latest sonar and I also use FL and record into edison. I tried adjusting the buffer and still no luck. Im using an m-audio solo firewire as my input and my output sound. any troubleshooting ideas that I can try? can it be my m-audio solo? I just built my computer and now i have these issues, my older,slower computer worked fine so im a little confused why i'm having this issue.

Last edited by TonyKeys; 06-16-2009 at 07:39 PM.
Reply With Quote
  #2 (permalink)  
Old 06-16-2009, 10:44 PM
New Member
 
Join Date: May 2009
Posts: 22
Rep Power: 1
royjhu is on a distinguished road
Default Re: Pops and clicks when recording

Quote:
Originally Posted by TonyKeys View Post
Only when I am recording external audio into my computer, I get these pops and clicks. when I record internal sounds through midi it is fine. Im using the latest sonar and I also use FL and record into edison. I tried adjusting the buffer and still no luck. Im using an m-audio solo firewire as my input and my output sound. any troubleshooting ideas that I can try? can it be my m-audio solo? I just built my computer and now i have these issues, my older,slower computer worked fine so im a little confused why i'm having this issue.
I had the same problem and it turned out my driver settings were screwed up. By default sonar sets to WDM/KS, when (at least for my setup) ASIO works better. If you haven't already tried to do so, try switching your Driver Mode to ASIO: Options -> Audio -> Advanced
Reply With Quote
  #3 (permalink)  
Old 06-16-2009, 10:50 PM
New Member
 
Join Date: Jun 2009
Posts: 14
Rep Power: 0
TonyKeys is on a distinguished road
Default Re: Pops and clicks when recording

I will check my settings when i get home. Thanks for the tip.
Reply With Quote
  #4 (permalink)  
Old 06-18-2009, 02:28 AM
bitflipper's Avatar
Member
 
Join Date: Jun 2009
Posts: 67
Rep Power: 2
bitflipper is on a distinguished road
Default Re: Pops and clicks when recording

Pops, clicks and dropouts are the audible manifestation of interruptions to the data stream.

When recording, the audio interface is filling a buffer with data that's pouring in at a rate of at least 44,100 values every second, faster if you're recording multiple tracks and/or at higher sample rates. That's a lot of data, and it's important that it not be interrupted, even briefly.

As soon as the buffer has been filled with data, the interface switches to another buffer and starts filling it. SONAR (or Cubase, or Logic, or Pro Tools or GarageBand) then begins to process the data dropped in there by the interface.

By the time the interface has filled the second buffer, SONAR must be ready to start draining it immediately. But if it still hasn't finished with the first buffer, then whatever unprocessed data remains in the buffer is tossed. The data stream is interrupted, and you get a click (if it's a small amount of data), a pop (if it's a larger amount) or the dreaded DROPOUT message indicating the problem is so bad that SONAR's not even going to try. (In the latter case, a "dropout" as notified by SONAR happens after 4 consecutive buffers are missed.)

So it all revolves around the CPU having sufficient time to process a buffer-full of data before the next buffer fills up. That's a finite amount of time, depending on the size of the buffer and the data rate (sample rate * number of channels). You can get a clue as to how the CPU is keeping up from the CPU meter in the status bar. If it reads 50%, that means the CPU required 50% of the allotted time to process the data (recording + playback). (The CPU meter is not an indicator of how much CPU SONAR is using, which is why it never agrees with Task Manager.)

So there is really only one reason for pops 'n clicks: the CPU has too much to do in between buffer pump cycles. You have to figure out why that is, and alleviate the load on the CPU so that it can keep up.

The easiest thing to do is increase the buffer size. That alone may give the CPU enough headroom. Sometimes, though, it's not enough.

The next-easiest thing is to think about the tasks you're making the CPU perform during recording and (more importantly) playback.

If you've got three vocal tracks and each one has an instance of Perfect Space on it, that's a lot of overhead that can be reduced by using a single instance of PS on a bus.

Any audio tracks that have effects on them are candidates for freezing. Freezing eliminates all the effects from the CPU load. Freezing soft synths gives an even better bang:buck ratio. Using a drum sampler like EZDrummer, Superior, BFD or Jamstix? Freeze those guys and chop your CPU usage waay down.

Bypass any mastering effects while tracking. Most mastering effects, including all of the bundled LP-64 effects, are serious CPU-eaters. Save these for after tracking, when you can freeze tracks and raise your buffers.

Sometimes, people do all these things and STILL have pops and clicks. At that point, you have to suspect something's amiss in your computer. Do not blame it on your DAW, do not blame it on your audio interface - they are rarely to blame. More likely suspects are your network adapter or your video adaptor.

Aarg, I didn't mean to write a book on the subject (Hmm, maybe I should...) and supper is calling my name. Hope this helps.
__________________

Everything else is in doubt, so this is the truth I cling to
My Stuff
Reply With Quote
  #5 (permalink)  
Old 06-18-2009, 05:04 AM
cakewalkgg's Avatar
Senior Member
 
Join Date: Nov 2008
Posts: 591
Rep Power: 13
cakewalkgg is on a distinguished road
Default Re: Pops and clicks when recording

right when I got my new computer my pod xt couldnt play or record without pops and clicks.. although my fast track pro had no issues.. through painfull troubleshooting and research, Line 6 convinced me to buy a dedicated usb card. It eliminated ALL of the problems when recording and 99% on playback. I decided to live with the occasional playback click.. over the last year, the pod has had several driver updates.. and lo and behold.. now I never have a glitch at all..
Im thinking it was a little of both the line6 drivers and some the onboard usb chip

I dont know if this type of issue is possible with firewire chips.. but if you have a firewire card, you may try to avoid the onboard port if possible.
__________________
www.myspace.com/erosioncode
Reply With Quote
  #6 (permalink)  
Old 06-18-2009, 08:46 PM
New Member
 
Join Date: Jun 2009
Posts: 14
Rep Power: 0
TonyKeys is on a distinguished road
Default Re: Pops and clicks when recording

Thanks for all the help everyone but ive tried it all, think. but still the same problem. Im thinking of one more thing that just came to me, maybe plugging in my m-audio using the external power, instead of having the firewire cable do everything. Does anybody think that might help? im going to try tonight. thanks for all the help again.
Reply With Quote
  #7 (permalink)  
Old 06-19-2009, 12:15 AM
bitflipper's Avatar
Member
 
Join Date: Jun 2009
Posts: 67
Rep Power: 2
bitflipper is on a distinguished road
Default Re: Pops and clicks when recording

Quote:
Originally Posted by TonyKeys View Post
Thanks for all the help everyone but ive tried it all, think. but still the same problem. Im thinking of one more thing that just came to me, maybe plugging in my m-audio using the external power, instead of having the firewire cable do everything. Does anybody think that might help? im going to try tonight. thanks for all the help again.
Well, you obviously haven't tried everything, Tony, or you would have solved the problem Trust me, it's not a voodoo curse that can't be resolved.

It doesn't seem likely that plugging the wall-wart will help, but it won't hurt to try.

Have you checked your DPC latency? I thought I'd suggested that earlier, but I guess that was in a different thread. Download the DPC Latency Checker, run it and let us know your results.

Do you have a PCI video adapter? Run the PCI Latency tool and report back.
__________________

Everything else is in doubt, so this is the truth I cling to
My Stuff

Last edited by bitflipper; 06-19-2009 at 12:19 AM.
Reply With Quote
  #8 (permalink)  
Old 06-19-2009, 12:23 AM
TonyB's Avatar
Senior Member
 
Join Date: May 2008
Posts: 2,274
Rep Power: 47
TonyB is on a distinguished road
Default Re: Pops and clicks when recording

Quote:
Originally Posted by bitflipper View Post
Pops, clicks and dropouts are the audible manifestation of interruptions to the data stream.

When recording, the audio interface is filling a buffer with data that's pouring in at a rate of at least 44,100 values every second, faster if you're recording multiple tracks and/or at higher sample rates. That's a lot of data, and it's important that it not be interrupted, even briefly.

As soon as the buffer has been filled with data, the interface switches to another buffer and starts filling it. SONAR (or Cubase, or Logic, or Pro Tools or GarageBand) then begins to process the data dropped in there by the interface.

By the time the interface has filled the second buffer, SONAR must be ready to start draining it immediately. But if it still hasn't finished with the first buffer, then whatever unprocessed data remains in the buffer is tossed. The data stream is interrupted, and you get a click (if it's a small amount of data), a pop (if it's a larger amount) or the dreaded DROPOUT message indicating the problem is so bad that SONAR's not even going to try. (In the latter case, a "dropout" as notified by SONAR happens after 4 consecutive buffers are missed.)

So it all revolves around the CPU having sufficient time to process a buffer-full of data before the next buffer fills up. That's a finite amount of time, depending on the size of the buffer and the data rate (sample rate * number of channels). You can get a clue as to how the CPU is keeping up from the CPU meter in the status bar. If it reads 50%, that means the CPU required 50% of the allotted time to process the data (recording + playback). (The CPU meter is not an indicator of how much CPU SONAR is using, which is why it never agrees with Task Manager.)

So there is really only one reason for pops 'n clicks: the CPU has too much to do in between buffer pump cycles. You have to figure out why that is, and alleviate the load on the CPU so that it can keep up.

The easiest thing to do is increase the buffer size. That alone may give the CPU enough headroom. Sometimes, though, it's not enough.

The next-easiest thing is to think about the tasks you're making the CPU perform during recording and (more importantly) playback.

If you've got three vocal tracks and each one has an instance of Perfect Space on it, that's a lot of overhead that can be reduced by using a single instance of PS on a bus.

Any audio tracks that have effects on them are candidates for freezing. Freezing eliminates all the effects from the CPU load. Freezing soft synths gives an even better bang:buck ratio. Using a drum sampler like EZDrummer, Superior, BFD or Jamstix? Freeze those guys and chop your CPU usage waay down.

Bypass any mastering effects while tracking. Most mastering effects, including all of the bundled LP-64 effects, are serious CPU-eaters. Save these for after tracking, when you can freeze tracks and raise your buffers.

Sometimes, people do all these things and STILL have pops and clicks. At that point, you have to suspect something's amiss in your computer. Do not blame it on your DAW, do not blame it on your audio interface - they are rarely to blame. More likely suspects are your network adapter or your video adaptor.

Aarg, I didn't mean to write a book on the subject (Hmm, maybe I should...) and supper is calling my name. Hope this helps.
I love it! I thought I was back in one of my EE classes!

That's the best explanation I've heard on buffer operations in DAW system.
__________________
TonyB
_________________
www.myspace.com/myguesthousestudios
www.guesthousestudios.com
"Can I have a little more talent in the monitors, please?"
Good Song + Good Arrangement + Good Performer + Good Performance + Good Acoustic Environment + Good Recording Chain + Good Monitoring Chain + Good Engineer + Good Luck =
Good Product
Reply With Quote
  #9 (permalink)  
Old 07-01-2009, 04:16 AM
New Member
 
Join Date: Jun 2009
Posts: 14
Rep Power: 0
TonyKeys is on a distinguished road
Default Re: Pops and clicks when recording

I attached my screenshots for you to see my results. sorry for the late response.
Attached Images
File Type: jpg pci.jpg (88.9 KB, 11 views)
File Type: jpg dpc.jpg (72.6 KB, 8 views)
File Type: jpg cpu.jpg (72.0 KB, 9 views)
Reply With Quote
  #10 (permalink)  
Old 07-01-2009, 02:07 PM
bitflipper's Avatar
Member
 
Join Date: Jun 2009
Posts: 67
Rep Power: 2
bitflipper is on a distinguished road
Default Re: Pops and clicks when recording

The dpc screenshot shows a well-performing system, with latencies well into the green. However, did you take this picture while experiencing pops and clicks? If a network or video adapter were only intermittently causing large dpc spikes, you might have to get lucky to catch them in the act.

The pci picture would seem to vindicate your video card as the culprit, since the only device with a specified pci latency value is the firewire adapter. This might seem OK, given the importance of firewire to your setup. However, it's possible the adapter is actually consuming more pci bandwidth than needed to service the audio interface. It's a VIA chipset, which should be OK but some interfaces famously want to talk to an interface with a TI chipset. I don't know if yours is one of them, but it might be worth substituting the firewire adapter and see if it makes a difference.

The cpu snapshot shows a largish spike - what was happening right then? Were you starting up your DAW? Or recording? As with the dpc latency tool, the trick is to catch the pops and clicks in the act, and look at the Processes tab rather than the Performance tab. It's useful to know if the pops/clicks coincide with a CPU spike, but we won't know which process is eating the CPU without looking at the Processes tab. (Tip: click on the "CPU" column heading to sort entries by CPU usage.)

You're definitely on the right track for solving the popclick mystery. You just need to get those screenshots while the problem is occurring.
__________________

Everything else is in doubt, so this is the truth I cling to
My Stuff
Reply With Quote
Reply

Tags
audio, computer, drum, fast track, home, issue, latency, m-audio, midi, music, pci, pro tools, record, recording, sample

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Clicks and Pops. Why? Bman Solve Technical Issues 11 06-01-2008 06:49 PM
Clicks and Pops blackcountrypodcasting Introduce Yourself 3 03-04-2008 07:28 PM
Pops & clicks FRANK MARIANO Solve Technical Issues 7 09-08-2007 05:34 AM
Origin of Pops and clicks BishopVO Audio Engineering 2 06-14-2007 09:29 PM
clicks and pops Mauroo33 Solve Technical Issues 1 05-01-2007 05:54 PM


All times are GMT -6. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Inactive Reminders By Mished.co.uk

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91