Synth latency

Discuss music production with Ableton Live.
jonahmo
Posts: 45
Joined: Tue May 21, 2013 7:52 pm

Synth latency

Post by jonahmo » Tue Mar 13, 2018 11:16 am

I've been developing a Live set on my Macbook Pro, which performs fine, but now that I'm trying to use VJ software, VDMX5, with it I'm getting some issues. When I stack enough effects plug-ins onto VDMX5 and I'm trying to play a Live synth, I'm experiencing some erratic latency of the synth notes that I'm playing.

While this is happening I look at Activity Monitor and it appears totally normal - nothing is near maxing out. The synths, specifically Operator's FM Koto and Simpler's Soover, have these issues, however I can rapidfire 30 different audio clips with a ton of plug-ins and have no issues at all.

One thing that might be worth noting, I'm running Ableton and the OS on one partition, and the media files are stored on the other partition. Also I'm sending MIDI data to VDMX5 via several of Max For Live's Livegrabber plugins.

I've already increased my audio buffer and decreased my in/out sample rate as far as I'm willing to go. I hope that I don't need to resort to using an external drive to store my media files.

Running a 2.5 GHz Intel core i7 processor, SSD, 16GB of 1600MHz DDR3 on a mid 2014 macbook pro, OSX 10.10.something.

Any suggestions would be much appreciated. Thanks.

wearemindflux
Posts: 322
Joined: Fri Apr 21, 2017 1:33 pm

Re: Synth latency

Post by wearemindflux » Tue Mar 13, 2018 12:52 pm

Hi, I would check your buffer size.

When working with inputs you want lower buffer size and if there is still delays you can use the external instrument in Live to sort that. Or even the track delays.
Check out our ableton tips and tricks https://bit.ly/3SbrBiB

Stromkraft
Posts: 7033
Joined: Wed Jun 25, 2014 11:34 am

Re: Synth latency

Post by Stromkraft » Tue Mar 13, 2018 5:59 pm

penman3103 wrote:Or even the track delays.
That's not, I repeat not, what the track delay does.
Make some music!

fishmonkey
Posts: 4479
Joined: Wed Oct 24, 2007 4:50 am

Re: Synth latency

Post by fishmonkey » Tue Mar 13, 2018 10:30 pm

if latency is a problem, then raising your buffer size and lowering your sample rate are exactly the opposite of what you want to do. both actions reduce CPU usage, at the cost of increased latency.

in contrast, lowering your buffer size and/or increasing your sample rate make your computer work harder to process audio more quickly and in smaller chunks.

from memory, in Live, MIDI buffering is also affected by the audio buffer size (but i might be mis-remembering that).

https://help.ableton.com/hc/en-us/artic ... ce-latency

also, the stock Activity Monitor is not sensitive enough to diagnose the kind of processing spikes that can cause audio issues. are you getting any audio glitches, or is it problem purely that the synth triggering is delayed?

jonahmo
Posts: 45
Joined: Tue May 21, 2013 7:52 pm

Re: Synth latency

Post by jonahmo » Wed Mar 14, 2018 4:37 am

fishmonkey wrote:if latency is a problem, then raising your buffer size and lowering your sample rate are exactly the opposite of what you want to do. both actions reduce CPU usage, at the cost of increased latency.

in contrast, lowering your buffer size and/or increasing your sample rate make your computer work harder to process audio more quickly and in smaller chunks.

from memory, in Live, MIDI buffering is also affected by the audio buffer size (but i might be mis-remembering that).

https://help.ableton.com/hc/en-us/artic ... ce-latency

also, the stock Activity Monitor is not sensitive enough to diagnose the kind of processing spikes that can cause audio issues. are you getting any audio glitches, or is it problem purely that the synth triggering is delayed?
Thank you. I understand the buffer/sample rate concepts, but it's not normal/consistent latency. It's erratic, in that I can hit a note over and over and sometimes it plays on time, sometimes it's delayed up to almost a second. And no, there are no other audio glitches - only the synth triggering.

Stromkraft
Posts: 7033
Joined: Wed Jun 25, 2014 11:34 am

Re: Synth latency

Post by Stromkraft » Wed Mar 14, 2018 5:02 am

jonahmo wrote:
Thank you. I understand the buffer/sample rate concepts, but it's not normal/consistent latency. It's erratic, in that I can hit a note over and over and sometimes it plays on time, sometimes it's delayed up to almost a second. And no, there are no other audio glitches - only the synth triggering.
That sounds to me that the CPU is working hard at shorter periods, even postponing events. Which I've seen a few times, like two or three in 6 years. Is the machine responsive otherwise when this happens? In my case, it wasn't.
Make some music!

wearemindflux
Posts: 322
Joined: Fri Apr 21, 2017 1:33 pm

Re: Synth latency

Post by wearemindflux » Wed Mar 14, 2018 4:50 pm

Stromkraft wrote:
penman3103 wrote:Or even the track delays.
That's not, I repeat not, what the track delay does.
I am meaning more for monitoring. Also with reduce latency while monitoring can help.
Check out our ableton tips and tricks https://bit.ly/3SbrBiB

Stromkraft
Posts: 7033
Joined: Wed Jun 25, 2014 11:34 am

Re: Synth latency

Post by Stromkraft » Wed Mar 14, 2018 8:50 pm

wearemindflux wrote:
Stromkraft wrote:
penman3103 wrote:Or even the track delays.
That's not, I repeat not, what the track delay does.
I am meaning more for monitoring. Also with reduce latency while monitoring can help.
I'm not following you here unfortunately. My point was that Track Delay always adds latency.
Make some music!

wearemindflux
Posts: 322
Joined: Fri Apr 21, 2017 1:33 pm

Re: Synth latency

Post by wearemindflux » Wed Mar 14, 2018 9:38 pm

Not when using a minus value
Check out our ableton tips and tricks https://bit.ly/3SbrBiB

Stromkraft
Posts: 7033
Joined: Wed Jun 25, 2014 11:34 am

Re: Synth latency

Post by Stromkraft » Thu Mar 15, 2018 3:32 am

wearemindflux wrote:Not when using a minus value
Especially then. Because there can be no events taking place before 1.1.1. So all other tracks are delayed! OK? Think about and then make some tests. Since I did I abandoned Track Delay.

You're likely thinking about hardware latency adjustment, like in External Instrument. That's something else.
Make some music!

jonahmo
Posts: 45
Joined: Tue May 21, 2013 7:52 pm

Re: Synth latency

Post by jonahmo » Thu Mar 15, 2018 5:54 am

Stromkraft wrote:
wearemindflux wrote:Not when using a minus value
Especially then. Because there can be no events taking place before 1.1.1. So all other tracks are delayed! OK? Think about and then make some tests. Since I did I abandoned Track Delay.

You're likely thinking about hardware latency adjustment, like in External Instrument. That's something else.
In any case, I need my monitoring to have very little latency, so I can hit notes on time.

To answer the previous question, when I'm experiencing the delayed MIDI notes everything else seems to be running normally, except if I'm trying to drag a finder or app window across the screen it's slow/choppy. I think the video output is also choppy at these times, but I haven't been watching it very closely so I don't know for sure. A Mac expert friend said that it seemed like there was a MIDI bottleneck, possibly due to multiple apps trying to do MIDI stuff at the same time. Not sure what I can do with that info though. It could also have something to do with running the app, Junxion, at the same time I guess? I'm at a loss.

[jur]
Site Admin
Posts: 6709
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Synth latency

Post by [jur] » Thu Mar 15, 2018 6:23 am

Try without Junxion?
Ableton Forum Moderator

Stromkraft
Posts: 7033
Joined: Wed Jun 25, 2014 11:34 am

Re: Synth latency

Post by Stromkraft » Thu Mar 15, 2018 11:18 am

jonahmo wrote:
In any case, I need my monitoring to have very little latency, so I can hit notes on time.
Which is why you need to remove all sources of latency one by one. You certainly don't want to add new ones for no obvious benefit.
jonahmo wrote:
To answer the previous question, when I'm experiencing the delayed MIDI notes everything else seems to be running normally, except if I'm trying to drag a finder or app window across the screen it's slow/choppy.
How often do you need to do this? I thought you were playing and not dragging things around.

Why haven't you already tried to isolate these issues? You must start with the minimum, everything else taken out of the MIDI path, and check that this base setup works fine. Also check every device for its latency.

Don't change the base once you know it's working. Then you add one thing and evaluate the same. Only then add something else. This way you have a chance to discover what's behind these issues for you. It certainly could be some kind of overload, but that doesn't have to be it.

When you use this Junxion app what MIDI source goes into it?
Make some music!

wearemindflux
Posts: 322
Joined: Fri Apr 21, 2017 1:33 pm

Re: Synth latency

Post by wearemindflux » Thu Mar 15, 2018 2:33 pm

Stromkraft wrote:
wearemindflux wrote:Not when using a minus value
Especially then. Because there can be no events taking place before 1.1.1. So all other tracks are delayed! OK? Think about and then make some tests. Since I did I abandoned Track Delay.

You're likely thinking about hardware latency adjustment, like in External Instrument. That's something else.
I will give it ago but never had a problem, I did mention the external instrument so no not thinking of that
Check out our ableton tips and tricks https://bit.ly/3SbrBiB

jonahmo
Posts: 45
Joined: Tue May 21, 2013 7:52 pm

Re: Synth latency

Post by jonahmo » Thu Mar 15, 2018 3:04 pm

Quitting Junxion has no noticeable effect. Changing the buffer/sampling rate has no noticeable effect. The erratic MIDI latency also seems to coincide with choppy video output. Removing video effect plug-ins solves the problem. But I need those effects. VDMX is barely doing anything - just running some basic effects on three still images. And Ableton is barely using any plug-ins or doing anything besides having a single MIDI synth played live, running one track of audio, and sending OSC data to VDMX (via several of Max For Live's Livegrabber plug-ins). It seems like my computer should be able to handle this. And to answer the question about moving windows around, it's not something I'll need to do while I'm playing Live, just another symptom I noticed so I thought it was worth mentioning.

Post Reply