MIDI Data Is Off Time!

Author
Samuel540
Max Output Level: -87 dBFS
  • Total Posts : 151
  • Joined: 2014/11/21 16:07:53
  • Status: offline
2016/09/16 17:52:37 (permalink)

MIDI Data Is Off Time!

There is no latency when I'm triggering from my controller but after recording MIDI data and stopping playback, the MIDI data shows up a few milliseconds too early in the Piano Roll view and therefore plays out of time.
 
I would understand if the MIDI notes were 'late' but instead, they're printing out early.
 
What could cause this to happen?

Daryl Samuel
StarBlu Entertainment
SONAR Platinum | NI Komplete 10 Ultimate | RME Babyface Pro | Focusrite ISA One | AKG C414 XLII | NI Maschine MKII | Roland A-800PRO | Roland MC-505 Groovebox | Lexicon MX200 | ASUS Sabertooth Z77 | Intel Core i7-3770 | Corsair 16GB 1600MHz
#1

15 Replies Related Threads

    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/16 19:15:49 (permalink)
    Happens to me too. Apparently this is an issue that doesn't happen to everyone and seems to be connected with the kind of hardware you're using. My audio interface doesn't have a midi input so I use a separate USB MIDI cable. I don't know for sure if this is why this happens, but the way I deal with it is by nudging every midi clip I record to the right, right after I record it -kinda like quantizing but not the midi notes specifically but the entire clip. I use the total round trip latency reported to Sonar by the audio interface. I take that same number (in samples) and enter it into my nudge right 1 settings and then I just nudge right after recording a midi clip and it lines up perfectly. It's pretty painless.

    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #2
    Samuel540
    Max Output Level: -87 dBFS
    • Total Posts : 151
    • Joined: 2014/11/21 16:07:53
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/16 20:55:54 (permalink)
    pinguinotuerto
    I don't know for sure if this is why this happens, but the way I deal with it is by nudging every midi clip I record to the right, right after I record it -kinda like quantizing but not the midi notes specifically but the entire clip.



    I would do the same thing but for me it's actually a bit of a pain.

    Daryl Samuel
    StarBlu Entertainment
    SONAR Platinum | NI Komplete 10 Ultimate | RME Babyface Pro | Focusrite ISA One | AKG C414 XLII | NI Maschine MKII | Roland A-800PRO | Roland MC-505 Groovebox | Lexicon MX200 | ASUS Sabertooth Z77 | Intel Core i7-3770 | Corsair 16GB 1600MHz
    #3
    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/16 21:30:18 (permalink)
    Samuel540
    pinguinotuerto
    I don't know for sure if this is why this happens, but the way I deal with it is by nudging every midi clip I record to the right, right after I record it -kinda like quantizing but not the midi notes specifically but the entire clip.



    I would do the same thing but for me it's actually a bit of a pain.


    How so? Once you enter that number into your nudge settings you don't have to change it again. To nudge right all you have to do is hit one key on your keyboard.

    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #4
    tenfoot
    Max Output Level: -53.5 dBFS
    • Total Posts : 2186
    • Joined: 2015/01/22 18:12:07
    • Location: Qld, Australia
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/16 21:42:08 (permalink)
    This is always a tough one to diagose due to the chance of human error. An interesting experiment would be to quantise a midi track so that it is perfectly in time, then use loopbe virtual midi to record the output of that track to a new midi track in real time and see if it stays in time. If there was a difference, you would then have a precise amount to nudge by.

    Bruce.
     
    Sonar Platinum 2017-09, Studio One 3.5.3, Win 10 x64, Quad core i7, RME Fireface, Behringer X32 Producer, Behringer X32 Rack, Presonus Faderport, Lemure Software Controller (Android), Enttec DMXIS VST lighting controller, Xtempo POK.
    #5
    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/16 21:48:21 (permalink)
    tenfoot
    This is always a tough one to diagose due to the chance of human error. An interesting experiment would be to quantise a midi track so that it is perfectly in time, then use loopbe virtual midi to record the output of that track to a new midi track in real time and see if it stays in time. If there was a difference, you would then have a precise amount to nudge by.




    Or the OP can just do what I suggested, which has worked for me and several other people, and not have to go through all those steps. This is not human error. There is an issue that some people experience with Sonar, the metronome, and certain hardware configurations. I don't know what the cause is. I just now how to correct the issue after it happens. There doesn't seem to be a solution to prevent it from happening.

    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #6
    Samuel540
    Max Output Level: -87 dBFS
    • Total Posts : 151
    • Joined: 2014/11/21 16:07:53
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/17 00:43:08 (permalink)
    pinguinotuerto
    Samuel540
    pinguinotuerto
    I don't know for sure if this is why this happens, but the way I deal with it is by nudging every midi clip I record to the right, right after I record it -kinda like quantizing but not the midi notes specifically but the entire clip.



    I would do the same thing but for me it's actually a bit of a pain.


    How so? Once you enter that number into your nudge settings you don't have to change it again. To nudge right all you have to do is hit one key on your keyboard.


    I mean the nudging. Nudging every time I record.

    Daryl Samuel
    StarBlu Entertainment
    SONAR Platinum | NI Komplete 10 Ultimate | RME Babyface Pro | Focusrite ISA One | AKG C414 XLII | NI Maschine MKII | Roland A-800PRO | Roland MC-505 Groovebox | Lexicon MX200 | ASUS Sabertooth Z77 | Intel Core i7-3770 | Corsair 16GB 1600MHz
    #7
    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/17 01:11:46 (permalink)
    Samuel540
     
    I mean the nudging. Nudging every time I record.



    Don't know what else to tell you. If you find a better fix, let me know.

    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #8
    stevec
    Max Output Level: 0 dBFS
    • Total Posts : 11546
    • Joined: 2003/11/04 15:05:54
    • Location: Parkesburg, PA
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/18 11:12:24 (permalink)

    SteveC
    https://soundcloud.com/steve-cocchi
    http://www.soundclick.com/bands/pagemusic.cfm?bandID=39163
     
    SONAR Platinum x64, Intel Q9300 (2.5Ghz), Asus P5N-D, Win7 x64 SP1, 8GB RAM, 1TB internal + ESATA + USB Backup HDDs, ATI Radeon HD5450 1GB RAM + dual ViewSonic VA2431wm Monitors;
    Focusrite 18i6 (ASIO);
    Komplete 9, Melodyne Studio 4, Ozone 7 Advanced, Rapture Pro, GPO5, Valhalla Plate, MJUC comp, MDynamic EQ, lots of other freebie VST plugins, synths and Kontakt libraries
     
    #9
    Samuel540
    Max Output Level: -87 dBFS
    • Total Posts : 151
    • Joined: 2014/11/21 16:07:53
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/19 02:35:07 (permalink)
    stevec
    See if this helps:
    http://forum.cakewalk.com/Midi-events-appear-to-be-written-sooner-than-they-should-m2730028.aspx#2731416
     


    After going through the thread, I've come to the conclusion that it's probably just my audio interface. I mean, I've had much better performance from the same audio interface on a Mac but anyway... I guess I'll be looking to try SONAR on Mac and hoping that many, if not all of my current woes vanish away.
     
    Thanks, guys!

    Daryl Samuel
    StarBlu Entertainment
    SONAR Platinum | NI Komplete 10 Ultimate | RME Babyface Pro | Focusrite ISA One | AKG C414 XLII | NI Maschine MKII | Roland A-800PRO | Roland MC-505 Groovebox | Lexicon MX200 | ASUS Sabertooth Z77 | Intel Core i7-3770 | Corsair 16GB 1600MHz
    #10
    williamcopper
    Max Output Level: -68 dBFS
    • Total Posts : 1120
    • Joined: 2014/11/03 09:22:03
    • Location: Virginia, USA
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/20 16:34:11 (permalink)
    One of the lasting mysteries in sonar midi :   I could swear that I had  projects aligned on bar and beat, and have worked with them for weeks, when suddently I find the midi has been shifted forward or back a number of ticks, enough to make things sound wrong.    If I ever find out why, I'll post.  This is an old problem, specific to Platinum (I think).
    #11
    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/20 18:31:22 (permalink)
    williamcopper
    This is an old problem, specific to Platinum (I think).

    Not Platinum specific. Happened to me in X3e also.

    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #12
    JonD
    Max Output Level: -39 dBFS
    • Total Posts : 3617
    • Joined: 2003/12/09 11:09:10
    • Location: East of Santa Monica
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/20 19:54:30 (permalink)
    Shot in the dark suggestions:
     
    - If you're not already, leave one blank measure at the beginning of each project to allow time for the midi to "sync up".
    - Try a different USB port.  (You should be on a USB2 port.  Avoid USB3 if you can).
     
    - Random setting that affects timing for some users:
     
    http://forum.cakewalk.com/Updated-Significant-performance-improvement-for-me-today-m3237094.aspx

    SonarPlat/CWbBL, Win 10 Pro, i7 2600K, Asus P8Z68 Deluxe, 16GB DDR3, Radeon HD5450, TC Electronic Impact Twin, Kawai MP11 Piano, Event ALP Monitors, Beyerdynamic DT770 Pro, Too Many Plugins, My lucky hat.
    #13
    Samuel540
    Max Output Level: -87 dBFS
    • Total Posts : 151
    • Joined: 2014/11/21 16:07:53
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/24 11:32:31 (permalink)
    JonD
    Shot in the dark suggestions:
     
    - If you're not already, leave one blank measure at the beginning of each project to allow time for the midi to "sync up".
    - Try a different USB port.  (You should be on a USB2 port.  Avoid USB3 if you can).
     
    - Random setting that affects timing for some users:
     
    http://forum.cakewalk.com/Updated-Significant-performance-improvement-for-me-today-m3237094.aspx


    That one blank measure at the start of your projects is a really good practice. Thanks for reminding me.
     
    I'm already on a USB2.0 port but you would think USB3.0 would be better for music production............
     
    Thanks, JonD

    Daryl Samuel
    StarBlu Entertainment
    SONAR Platinum | NI Komplete 10 Ultimate | RME Babyface Pro | Focusrite ISA One | AKG C414 XLII | NI Maschine MKII | Roland A-800PRO | Roland MC-505 Groovebox | Lexicon MX200 | ASUS Sabertooth Z77 | Intel Core i7-3770 | Corsair 16GB 1600MHz
    #14
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/24 11:38:16 (permalink)
    Samuel540
    I'm already on a USB2.0 port but you would think USB3.0 would be better for music production............

    As a rule interfaces work best when connected to the port type for which they were designed. Some USB2 interfaces do not work well on USB3 ports. That said, not all ports are created equal.
    #15
    pinguinotuerto
    Max Output Level: -71 dBFS
    • Total Posts : 976
    • Joined: 2009/12/01 18:46:41
    • Status: offline
    Re: MIDI Data Is Off Time! 2016/09/24 22:59:41 (permalink)
     
    A fix has been found! Timing Offset" in the "Sync and Caching" page of "Preferences" can be adjusted to offset where the MIDI lands when you record. The value you enter here has to match your Roundtrip Audio Reported Latency, which appears in the same preferences window (Synch and Caching) all the way at the bottom. To convert the value from samples to milliseconds, take whatever sampling rate you're using (44.1 or 48) divide it by 1,000 (result will be 44.1 or 48) and then divide your Audio Reported Latency by that number (44.1 or 48) to get the milliseconds you need. This will all line up and work as long as you have the Use Audio Reported Latency box checked.
     
     


    HP DV7-3085 Laptop (Intel Core i7 720 1.6 GHZ, 6 GB RAM, 1333 MHZ FSB, 2 500GB 7200 RPM Internal HDs, 17" screen), HP 2009m Monitor, 2TB Ext Drive
    Line 6 UX8 with PodFarm 2 Platinum

    2 Joe Meek VC6Q British Channels
    Sonar Platinum & X3e Producer (64 Bit)

    AD2 w Roland V-Drums (TD4KX2)
    Windows 7 Home Premium (64 bit)

    KRK VXT 8 Monitors
    Frontier Alphatrack, Razer Naga Mouse, nanoKontrol2
     

    #16
    Jump to:
    © 2025 APG vNext Commercial Version 5.1