Losing MIDI Sync while loop recording

Author
drummaman
Max Output Level: -76 dBFS
  • Total Posts : 738
  • Joined: 2008/05/30 17:46:53
  • Status: offline
2012/11/28 07:46:53 (permalink)

Losing MIDI Sync while loop recording

Greetings All,
Last night while a friend was recording multiple takes/lanes while looping in X2PE, we noticed that the MIDI drums (Superior Drummer) kept falling behind, falling "out of sync".

It wasn't noticeable within a few loops, but after 10 or so loops it was very apparent.

I played with the MIDI buffers, and even tried changing the clock sync, but to no avail...

What am I missing here?

Thank you for any and all suggestions.

Cheers,
MG

Sonar Platinum (x64) on Windows 10 Pro (64-bit) running on ADK Pro Audio i7 (12-core), 16GB RAM, 500GB SSD(OS), (2) 2TB drives/(1) 1TB drive for storage, (1) WD Raptor 1TB Audio Drive, (1) UAD-2 OCTO, (2) UAD-2 QUAD, Lynx Aurora 16/AES16
#1

17 Replies Related Threads

    CJaysMusic
    Max Output Level: 0 dBFS
    • Total Posts : 30423
    • Joined: 2006/10/28 01:51:41
    • Location: Miami - Fort Lauderdale - Davie
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/28 09:15:11 (permalink)
    One thing you can try. It may or may not work, but its worth a try. Try making your loop points directly on the measure, if you didn't try that already. 

    www.audio-mastering-mixing.com - A Professional Worldwide Audio Mixing & Mastering Studio, Providing Online And Attended Sessions. We also do TV commercials, Radio spots & spoken word books
    Audio Blog
    #2
    Tom F
    Max Output Level: -48 dBFS
    • Total Posts : 2749
    • Joined: 2007/07/08 05:56:12
    • Location: Vienna (the one in Europe)
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/28 14:23:10 (permalink)
    happened to me EVERY time in 8.5 pe 

    but i havent checked this behaviour in x2 yet

    for more loop orientated stuff i use ableton live now



    ...trying to be polite... quick temper...trying to be...
    #3
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/28 14:28:13 (permalink)
    I get this a LOT when looping MIDI tracks in X2. Cakewalk really needs to sort this out, because playing the notes in time seems to me to be a fundamental requirement of a DAW!

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #4
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/28 14:44:21 (permalink)
    The Bakers will need a detailed recipe to reproduce the issue, and I'm betting it will turn out to be Hardware/Driver/Plugin-specific, as I have not been able to reproduce a problem with this myself. I asked for a recipe in the last thread, and it immediately went silent.

    I suspect many users are not reporting this formally, using the Problem Reporter. The more people that report it with detailed steps and conditions to reproduce it, the more likely it is to get fixed, or diagnosed if it turns out to be a 3rd-party issue.


    For reference, here's that other thread. OP resolved his problem by changing from WDM to ASIO drivers:

    http://forum.cakewalk.com/tm.aspx?m=2710950

    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #5
    Tom F
    Max Output Level: -48 dBFS
    • Total Posts : 2749
    • Joined: 2007/07/08 05:56:12
    • Location: Vienna (the one in Europe)
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/29 14:06:56 (permalink)
    there is not much to report other than that whatever plug i use (at whatever latency) and at whatever cpu-load:

    if i for example use a sessiondrummer instance with the stepsequencer and i trigger a single note then after a few cycles of loops the sound will get slowly but steadily out of sync to any tight audioloop



    ...trying to be polite... quick temper...trying to be...
    #6
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/29 14:25:37 (permalink)
    This happens with me a lot with drums whether it's Session Drummer, Abbey Road or Battery. I don't think that it's a driver issue because it only happens when I set a loop. If I play a song from start to finish all the way through it doesn't happen at all. But set an 8 bar loop, for example, and it starts drifting relatively quickly. It's a real pain if you're looping a section to audition sounds, because you have to keep stopping and starting to "reset" the timing. 

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #7
    Tom F
    Max Output Level: -48 dBFS
    • Total Posts : 2749
    • Joined: 2007/07/08 05:56:12
    • Location: Vienna (the one in Europe)
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/29 14:52:45 (permalink)
    sharke


    This happens with me a lot with drums whether it's Session Drummer, Abbey Road or Battery. I don't think that it's a driver issue because it only happens when I set a loop. If I play a song from start to finish all the way through it doesn't happen at all. But set an 8 bar loop, for example, and it starts drifting relatively quickly. It's a real pain if you're looping a section to audition sounds, because you have to keep stopping and starting to "reset" the timing. 

    agreed - especially since on the same sytsem i can run ableton live loping itself into exstasy without any kind of problem :-)





    ...trying to be polite... quick temper...trying to be...
    #8
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/29 16:11:53 (permalink)
    Something's different in your environment.

    I can set up an SD3 track (Simple Instrument or separate MIDI and multiple audio output tracks), bounce the audio to another track, invert the phase, loop any range , and the live SD playback will null near perfectly with the audio track for as long as I let it run.

    I say "near perfectly" because SD3's real-time MIDI playback is never a 100% consistent to the sample, so you'll hear a a little smidgen of a hit sneak through every once in while, and the tracks can get out of sync by a few samples if you restart playback in the middle of the loop or the loop isn't right on measure/beat boundaries (i.e. not a whole number of audio buffers), but there's no cumulative sync error over time; they'll just drift in and out of phase - first one way and then the other - as the loop iterates. Of course, this isn't ideal behavior, but you're only likely to hear it when trying to null two identical tracks like this. 


    I don't have Abbey Road or Battery, but the same pretty much goes for any other synth I try this with - drums or otherwise.

    If you can post an example project somewhere using only SONAR-bundled instruments, I'd be interested to see what it does on my machine.






    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #9
    dlesaux
    Max Output Level: -70 dBFS
    • Total Posts : 1034
    • Joined: 2009/09/13 09:25:18
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/29 20:33:25 (permalink)
    I also noticed this the other day! I use ezDrummer and after the third loop, the drums were falling behind. After seven or eight loops it was completely out of sync. I never had this happen in X1. I haven't created a problem report.. yet.

    Peace!
    Daniel

    Sonar Platinum - 2017.10 and PreSonus Studio One 3.5.5
    Windows 10 64 bit
    Studiocat Skylake Desktop PC with Intel i7 6700k processor @ 4.20 GHz / 16G RAM 
    Focusrite Scarlett 2i2 Audio Interface and Cakewalk UM-2G Midi Interface

    Check out my website
    #10
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/30 00:45:50 (permalink)
    brundlefly


    Something's different in your environment.

    I can set up an SD3 track (Simple Instrument or separate MIDI and multiple audio output tracks), bounce the audio to another track, invert the phase, loop any range , and the live SD playback will null near perfectly with the audio track for as long as I let it run.

    I say "near perfectly" because SD3's real-time MIDI playback is never a 100% consistent to the sample, so you'll hear a a little smidgen of a hit sneak through every once in while, and the tracks can get out of sync by a few samples if you restart playback in the middle of the loop or the loop isn't right on measure/beat boundaries (i.e. not a whole number of audio buffers), but there's no cumulative sync error over time; they'll just drift in and out of phase - first one way and then the other - as the loop iterates. Of course, this isn't ideal behavior, but you're only likely to hear it when trying to null two identical tracks like this. 


    I don't have Abbey Road or Battery, but the same pretty much goes for any other synth I try this with - drums or otherwise.

    If you can post an example project somewhere using only SONAR-bundled instruments, I'd be interested to see what it does on my machine.

    I think we're sometimes too quick to blame our systems and configurations. When you're using a computer which more than meets Cakewalk's minimum specifications, and a popular interface with up-to-date ASIO drivers, and something as widely used as Battery or Session Drummer, and looping screws up the MIDI timing of hits, then I think we can quite confidently say that our $400 DAW is lacking. 

    What I mean to say is that it may be something that's different about your configuration as opposed to our's, but if that's the case, such a difference shouldn't be tripping up a program like Sonar. Part of the job of the developers is to make sure that fundamental stuff like this works on all configurations, unless there's something wildly unusual in that setup. I used Battery and Abbey Road extensively in Pro Tools with the exact same specification, and I never had any problems with MIDI notes lagging during a loop.

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #11
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/30 02:11:16 (permalink)
    All I'm saying is that to fix anything, they have to be able to reproduce it. If I can't reproduce it, it's likely they can't either, and your problem report gets filed under "no fault found".

    Fortunately for you, I kept at it, and I now have a reproducible example to submit to the Bakers, using only SD3 with no complications. After 180 iterations, I measured the live output lagging the recorded track by 40ms or about 10.7 samples per iteration. Definitely not something you'd usually notice in your typical 3-5 recording takes.

    In order to get this to happen, I had to try many different loop lengths that were neither a whole number of beats long, nor starting on a beat. And even now, if I move the loop a little one way or the other, or change its length, things tend to get back in sync and stay that way. And I absolutely cannot get it to happen with loop points snapped to beat boundaries.

    If you can come up with a more heinous example, it might get more attention.

    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #12
    Kenneth
    Max Output Level: -84 dBFS
    • Total Posts : 314
    • Joined: 2012/08/25 02:25:07
    • Location: Denmark
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/30 02:58:21 (permalink)
    Sonar does this here to, any vsti playing back any midi track, no matter if there's 1 track or 20, how long the loop is, effect plugins or not etc.. just slowly drifts out of time

    After a little while it's so out of time I have to stop and restart.

    Sometimes it also affects midi input, the more the midi gets out of sync when playing back notes, the more the input latency increases, everything is reset if you stop and restart the looped region.
    Any other DAW I have on the same box works fine.

    i7 Sandy Bridge K2600 16Gb RAM 3x240GB Intel SSD | Samsung 40" LED Monitor | Win7 Pro 64bit | Saffire Pro 24 | Powercore MKII | Yamaha KX8 88 weighted  keys| 2 x Behringer BCR2000 | Octapad SPD30 | Yamaha NS10, Focal Solo 6 BE | Bryston 4B Yamaha p2200 Amps| Sonar X2+Quickfix | EWQLSO Gold | Stormdrum2 | 8DIO Almost everything | Omnisphere | Zebra2 | Prominy V-Metal, SC Guitar, SR5 Bass | VIR2 Electri6ty | Shreddage X | Amplitude 3 | BOME MIDI Translator, Autohotkey     
    #13
    sharke
    Max Output Level: 0 dBFS
    • Total Posts : 13933
    • Joined: 2012/08/03 00:13:00
    • Location: NYC
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2012/11/30 03:25:22 (permalink)
    Kenneth


    Sonar does this here to, any vsti playing back any midi track, no matter if there's 1 track or 20, how long the loop is, effect plugins or not etc.. just slowly drifts out of time

    After a little while it's so out of time I have to stop and restart.

    Sometimes it also affects midi input, the more the midi gets out of sync when playing back notes, the more the input latency increases, everything is reset if you stop and restart the looped region.
    Any other DAW I have on the same box works fine.

    It happens to me with MIDI input also. Huge latency after a while of jamming over a loop, is fine after stopping and starting again. 

    James
    Windows 10, Sonar SPlat (64-bit), Intel i7-4930K, 32GB RAM, RME Babyface, AKAI MPK Mini, Roland A-800 Pro, Focusrite VRM Box, Komplete 10 Ultimate, 2012 American Telecaster!
    #14
    STinGA
    Max Output Level: -79 dBFS
    • Total Posts : 552
    • Joined: 2005/11/06 14:51:38
    • Location: Andover, UK
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2013/05/31 05:52:40 (permalink)
    Ugh, no recipe to correct this then? I'm having just this problem using X2a... As soon as start looping, my Steven Slate Drums 4 starts going out of synch, is bugging the hell out of me.

    I guess i'll have to freeze them, but of course this is no good for working on the timing of the midi grrrr.

    Win 8 x64
    Sonar X3b Producer X64
    Edirol UA-101
    BCF2000 
    A-Pro 500
    Roland TD-6KV
    #15
    ston
    Max Output Level: -71 dBFS
    • Total Posts : 965
    • Joined: 2008/03/04 12:28:40
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2013/05/31 07:30:55 (permalink)
    Sonar did this for me in Producer 8.5 and now also in X2 Producer.

    I've been experimenting with a very simple set-up: 2 MIDI tracks, both 8 bars long, one with a MIDI drum groove clip pattern and the other playing a single note driving Omnisphere playing an arpeggiated (tempo-synched) instrument.

    If I solo one track or the other, I can loop indefinitely and everything keeps in-synch, verified by switching in the metronome to check. If I allow both tracks to play together, then after a variable number of loop repetitions the tracks go out of sync and it sounds like a mess.

    It always seems to be the drums which do this, the Omnisphere track remains rock solid. It doesn't matter whether the MIDI clip is set as a groove clip or not.

    Very occasionally it will all hang together and stay in synch, but most often the timing will break down quite quickly.

    - -
    Win 7 64, i5-2500, 8GB RAM
    Sonar X2 Producer 64
    Creamware Pulsar II PCI
    Edirol PCR-300
    #16
    STinGA
    Max Output Level: -79 dBFS
    • Total Posts : 552
    • Joined: 2005/11/06 14:51:38
    • Location: Andover, UK
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2013/05/31 07:44:40 (permalink)
    I'm having a plethora of problems with X2a (which support are trying to help with and have for about a month or more - mostly graphics, to no avail) this has become the latest. 

    I think I'm going to uninstall - again, and try going back to the quick fix. X2a has become a mess for me. 

    Win 8 x64
    Sonar X3b Producer X64
    Edirol UA-101
    BCF2000 
    A-Pro 500
    Roland TD-6KV
    #17
    lowdown
    Max Output Level: -85 dBFS
    • Total Posts : 300
    • Joined: 2004/04/14 16:07:38
    • Location: Essex - UK
    • Status: offline
    Re:Losing MIDI Sync while loop recording 2013/05/31 08:25:31 (permalink)
    Happens for me in X2 as well - In fact with any VSTi.
    I have tried many things to try and resolve this, buffers/Latency etc.
    I started to think it was my PC, but have noticed various comments in past threads.

    I do not get this in Studio One 2.5, so a bit of a strange one.



    Garry


    http://soundcloud.com/garrycribb



    Sonar X2B x64, W7 x64  
    Cubase 7.5 x64

    Intel i7/4790K 24 Gig Ram
    Roland Quad Capture
    #18
    Jump to:
    © 2025 APG vNext Commercial Version 5.1