Logic Pro X sudden latency apogee duet

Hi everyone,


I have been using Logic Pro X with an Apogee Duet 2 and a MacBook AIr with 4gb of ram for about 8 months. My technical knowledge with regard to all things computer related lags behind my musicianship but it's getting better. My question/recent headscratcher/issue is a tendency for audio i'm recording into Logic Pro X through a condenser mic using the the Duet 2's phantom power and pre-amps (no outboard gear) to unpredictably produce latency in excess of 2 full seconds. Typically, if i'm monitoring through headphones, there will be a few seconds of a distorted sound, followed by the same noise level as normal, but the latency goes from perfectly acceptable to beyond horrible. I monitior the CPU usage generally while recording and even though i only have 4gb's i only use the computer for music and other than the activity monitor and the apogee maestro software, Logic is the only application running i have control over. I also use an external hard drive to save my recordings and other than some sample libraries of virtual instruments and my plug-ins, my internal hardrive is less than 40% occupied with data. Anyone have any similar experiences or suggestions? I'm running OS X 10.9.2 with a 1.3 GHz Intel Core I5. Everything usually works fine but after perhaps forty minutes or monitoring, this will happen. Sometimes I get a message about the system not being able to process all the MIDI information. Which makes no sense as i only have audio tracks in the project with no software instrument tracks when i get this message. Thank you very much. SIncerely appreciated. Cheers,


Charlie

Logic Pro X, OS X Mavericks (10.9.2)

Posted on Mar 19, 2014 4:42 PM

Reply
10 replies

Mar 20, 2014 8:24 AM in response to Charlesed12

Two things. Fistly go into Logic X (the button at the top of the screen) > Preferences > Audio and make sure that your Buffer Size is at or below 256.


Secondly, go back to a standard screen in your project and follow these instructions precisely.


Go to the time display at the top and hit the icon that looks like a quaver and metronome next to each other, select 'Custom' from the menu that appears, the icon will turn into a gear and your transport bar at the top will change, then Ctrl-Click or Right Click that same gear and select 'Customise Control Bar and Display'.


On the fourth row of the menu that appears is the checkbox titled 'Low Latency Mode'. Check that. A button that looks like a speedometer will appear to the right of the transport display, near your metronome toggle.


Now understand this. When you have that enabled, all effects on a channel that create latency (and on any channels it runs through on the way to the master, as well as master itself) are skipped, so only use it to record and play music. When you get to the editing + mixing stages etc turn it off as it is not telling you what your mix truly sounds like, instead skipping anything that would give you latency.

Mar 20, 2014 5:03 PM in response to Gen Zero

Thank you for your thoughtful reply. Nice that someone is willing to take time to respond to a stranger for nothing in return. I don't think this particular advice is going to address the issue i've been dealing with. My buffer size is set at 64. And with low latency mode, Logic effectively bypasses all channel inserts/effects during recording so what you hear while monitoring audio recording through headphones is the dry signal correct? I understand that results in a lower latency. As most vocalists and producers would likely agree with, at the very least, a touch of reverb is almost necessary for performace quality. That aside though, I would definitely happily clear the channel strip while recording if the effects i use while recording audio caused a distracting amount of latency. They don't though. almost every vocal take i record has one or two effects on the way in just to give me a flattering signal through the monitors so the take will hopefullly come out better resulting from the confidence of liking what i'm hearing. It's only at random moments, sometimes just recording an acoustic guitar through a DI with the channel strip of every track completely empty, not even the armed eq and compressor logic throws in automatically. I'll hear a distorted kind of buzzing phasy sound for a second or two followed by the same noise level prior. its just after that odd sound, i might see a message that logic couldn't process the midi information and there was some kind of overload (this happens when no tracks are software instrument or drummer tracks or contain anything related to MIDI) and then, if i pluck a note on the guitar, i'll hear it in my headphone monitors like two seconds later. So much later it'd be impossible to record anything remotely in time. Maybe I'm the only one and it's some isolated thing. But I don't think effects in channel strips are inducing the sudden onslaught of latency from perhaps 7 miliseconds to 2.5 seconds. I sincerely do appreciate the response. Thanks

Mar 24, 2014 8:14 AM in response to Pancenter

Thank you for replying Pancenter.


Yes the Duet connects via a USB cable. I am inclined to think the problem/ issue is not caused by the duet. My rationale being, and this just occurred to me because it just happened while using both a line out of an acoustic guitar and a condenser mic as inputs on two separate audio tracks in logic. the same old thing happened where it went from negligible latency, to an odd digitally kind of distorted unmusical sound to the same noise level produced prior to the odd sound. and immediately afterwards, latency was north of two seconds. i do however, use a tuner app for my guitar that uses the line from my guitar through the duet to tune the guitar. this problem happens regardless if the app is in use. but just looking at the meters on the duet and the tuning app. no latency was introduced suddenly except in logic. and if i close logic and reopen it, the problem goes away for anywhere from 15 minutes to 3 hours.


I tend to use the headphone port on the macbook air to monitor instead of the duet 2. now realistically, i understand this might add a couple miliseconds of latancy, but i just get a better feed from the macbook headphone jack. perhaps because i use a converter for the quarter inch output to an eighth inch output to monitor directly from the duet. who knows what the deal is. It's not the end of the world. just an annoyance really. thank you very much. Quick question. Are both USB ports on a macbook air "created equal?" one USB does seem to fit more snuggly than the other. Doubt it's the issue though. Thanks again.


charlie

Mar 24, 2014 9:41 AM in response to Charlesed12

Charlie,


Does the latency happen if using the Duet for both Input/Output, I realize it may be more convienient to use the internal audio for monitoring but the problem you're having could definitely be related.


Not to get too technical but when using input/output between two devices there is a matter of digital clock sync. Digital audio normally runs with a single clock source (sample clock = 44.1 mHz (or 48...etc). When separate devices are used Logic uses a type of built in aggregate device and software syncs the audio so that it appears to be one digital clock as master... the Input Device. It's possible the distortion you hear is the loss of digital clock sync. This could happen for several reasons.. a USB glitch as the operating system monitors the USB ports, Logic unable to maintain the software sync...etc. Try it with the Duet as both the input output device and do make sure you're using the latest Duet software from the link I posted.

Mar 24, 2014 12:27 PM in response to Pancenter

I will definitely give it a try. I actually don't use an aggregate device, well ocassionally, but that's when i use two audio interfaces simultatiously...which is very rare. Both logic and the Duet are set to 44.1 kHz sample rates. The duet maestro software, which i recently updated (i think two weeks ago, so unless they've come up with an update since, that shouldn't be it.) actually says for the "clock source," "internal." Perhaps sample rate and digital clock settings aren't synced? don't worry about being overly technical. I need to learn. The audio coming out of the duet output isn't as good for some reason, probably subpar signal through converter from quarter inch studio headphones to my expensive, but not professionally designed for monitoring or mixing and with the smaller cable input. but it's workable for monitoring. I'll see if the issue pops up again trying that approach.


Thank you again. I'm either naive, ignorant, or just jaded cause it's so suprising to get thoughtful help for nothing in return except appreciation. Thanks again. If it doesn't work, Turning off Logic and turning it back on isn't going to ruin a track for me. Regards, Charlie

Mar 24, 2014 3:16 PM in response to Charlesed12

Charlie,


I didn't say you were using an aggregate device... in order for you to use separate Input/Output devices Logic creates "part" of an aggregate device and either the OS or Logic does the resampling to match the clocks.


You understand the 44.1 on one device does not equal 44.1 on another device... it's a miniscule difference but there is a difference, digital audio I/O requires a single clock source, preferably the input device. I think the distortion you hear before the latency starts is the loss of clock sync between the devices. (Logic is not a device, the 44.1 you see in Logic is what Logic picked up from the Duet hardware) Your hardware devices are the Duet and in this case, the built in audio.


Yes, the Duet should say internal.


Also, there may be another option than re-starting Logic to re-set things.

With Logic running, open Preferences/Audio - select a different input device (Built-In-Audio), after that's set then re-select the Duet as the input device.


p.s. nice to see someone with such a good attitude, you're quite welcome.

Mar 25, 2014 5:30 PM in response to Pancenter

Interesting. so 44.1 does not equal 44.1 depending on the device. seems counterintuitive especially as this is within the digital realm. I was monitoring my acousitc guitar with a metronome yesterday (still monitoring via the mac's output) and when this issue occured, i just turned off the monitoring option on the track i was recording and continued playing and did three additional takes. Upon replaying while listening and looking at the wave forms, the take i recorded prior to the sudden latency was nicely on the grid. On the subsequent three takes, all were delayed by what appears to be an identical time (tought to tell because no one's timing is consistantly perfect, especially mine haha) but the integrity of the recording wasn't affected so i just manually dragged the track back in time to where it was played in reality. maybe ryhthm guitar is one instrument in particular that, even with isolating/noise cancelling head phones, can be performed well without need to hear exactly what your playing. It can also be performed badly this way. I was hoping to capture the audio of the sound that occurs prior to the latency as I'm sure it actually does record it when using a mic, but it happened in between takes. Don't have any records of it at the moment because i trashed them earlier.


What you wrote makes sense to me and clears some things up for sure. Thank you. Last question if you'd like to offer your knowledge/thoughts. This same things has occured recording piano via MIDI on a software instrument track. In these cases, however, if i wait for five or so seconds, non of the latency issues are present when recording or playing post interuption and pop up message (the message pops up on average one in four times while recording audio) that says the machine cannot process all the midi information in time (the wording is different in the acutal pop up). Am i correct to assume that the frame rate is irrelevant when recording midi? And if not, I wonder why the latency thing wouldn't occur after that notoriously disturbing three-ish second sound that precedes the latency problem. Think if I continued to montior audio recording via one head phone off or by feel, there would be additional, subsequent events and the latency would double to like ten seconds? Sorry. That's a lot. By no means feel obliged to take the time to respond. You've been more than helpful already and i sincerely appreciate. Best regards, Charlie

Mar 26, 2014 2:16 PM in response to Charlesed12

Charlesed12 wrote:


well maybe the 44.1 thing does make sense actually. as even atomic clocks need to be adjusted every few hundred years by a couple seconds. i'm pretty sure the apogee and the mac arent using atomic clocks either. what do they put in these devices? little pieces of quartz?


Hi Charles,


Every audio device, from the Duet in your studio to the maxed out digital audio decks in million dollar studio have varying clock speeds, and that includes every audio chip in every computer that can digitize audio.


It may be 44.103456847 in one system but could be 44.104469823 in another. This is why studios usually have a (master) wordclock hardware device that can sync all of the digital clocks in the studio.


I thought of another way you could try.


Create an Aggregate device with the Duet and Built-In Audio, choose the Duet as the master Clock and Built in Audio as slave and set to resample. Choose the this aggregate device for both input and output.. this my mess up your track Input/Output assignment as Logic will be seeing all of the built-in Input and Outputs.


Software Instrument are a special case... they use MIDI as an Input and only use the audio output device in Logic. In a sense they only use half the audio system, the Duet does not figure into equation as an audio input device. This still goes along with my theory that the Input and Output Audio devices are losing sync. If they each start running on their own clock the output device would not suffer much if at all... but the audio (mic/guitar) input device would be trying to go from one input with one clock to syncing output with the buitlin audio device's clock.


Try an Aggregate device like a described.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Logic Pro X sudden latency apogee duet

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.