Solved: Midi clock is not consistent

Author
RichardDuce
Max Output Level: -90 dBFS
  • Total Posts : 30
  • Joined: 2010/10/05 21:59:16
  • Status: offline
2011/06/12 19:13:27 (permalink)

Solved: Midi clock is not consistent

This seems like a really bad symptom.
It must be some setting I have ... but here goes
Sonar X1 Essential. New user.

I have recorded a few bars of  1/4 notes.. and play them back  . Midi only. This is not an audio problem .

The notes do not sound as if played in a consistent time.  I used step record to record a bunch of 1/4 notes
and they do not play back in consistent time.

There is a midi time box show... and this seems to not keep running.. it stops and starts and stops and starts etc..

I have a brand new  laptop..nothing else running on it.
4 Gb of memory .
i5 M480   CPU at 2.67 GHz.

any advice gratefully received

Richard

post edited by RichardDuce - 2011/06/13 22:54:32
#1

22 Replies Related Threads

    sykodelic
    Max Output Level: -78 dBFS
    • Total Posts : 612
    • Joined: 2011/05/17 15:44:28
    • Location: Los Angeles, CA
    • Status: offline
    Re:Midi clock is not consistent 2011/06/12 19:21:14 (permalink)
    what are your midi playback buffers set at..

    Asus P8P67 pro, I7 2600K, 8G Kingston Hyperflex, 2 1T WD Caviar Black(sytem,audio), 2T WD Caviar Black(samples), RME Multiface, Roland A500 Pro, Windows 7 Ultimate 64, Sonar X1C, Ableton Live 8, Reason 6, Komplete 7, DCAM Synth Squad, Omnisphere, Stylus RMX, Trillian
    #2
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/12 19:49:23 (permalink)
    250 mSecs
    (thats the setting out of the box)
    #3
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/12 19:50:13 (permalink)
    btw...

    I just tried this on the same machine withSonar Home Studio 7
    and I dont getting the issue.
    Thats set to 500mSecs.
    I'll try that value and see how that goes

    #4
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/12 19:55:11 (permalink)
    I set it to 500mS  which is the same as I have it set in HS 7
    It works fine in HS 7 but in X1 Essential the clk still
    stops/starts and plays inconsistent time
    #5
    sykodelic
    Max Output Level: -78 dBFS
    • Total Posts : 612
    • Joined: 2011/05/17 15:44:28
    • Location: Los Angeles, CA
    • Status: offline
    Re:Midi clock is not consistent 2011/06/12 20:28:20 (permalink)
    I'm not sure why this is and it really shouldn't matter but try starting your project on a different measure than 1.  when starting at 1 I have encountered such issues.  ever since starting my projects at 17 this has been remedied.  I really shouldn't have to do this but it works so I do.

    Asus P8P67 pro, I7 2600K, 8G Kingston Hyperflex, 2 1T WD Caviar Black(sytem,audio), 2T WD Caviar Black(samples), RME Multiface, Roland A500 Pro, Windows 7 Ultimate 64, Sonar X1C, Ableton Live 8, Reason 6, Komplete 7, DCAM Synth Squad, Omnisphere, Stylus RMX, Trillian
    #6
    BretB
    Max Output Level: -80 dBFS
    • Total Posts : 508
    • Joined: 2010/01/17 18:24:00
    • Location: Oklahoma
    • Status: offline
    Re:Midi clock is not consistent 2011/06/12 23:39:49 (permalink)
    Start all my recording at measure 2.  Never an issue.  Why go all the way to 17?

    Sonar Platinum - A&H ZED R16 - KRK VXT4's - Yamaha DTXpress IV & Gretsch Catalina Maple kits
     
    "Music is what feelings sound like"
    https://soundcloud.com/bret575b
    #7
    jsg
    Max Output Level: -69 dBFS
    • Total Posts : 1079
    • Joined: 2003/11/20 04:54:18
    • Location: San Francisco, California
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 01:41:30 (permalink)
    Richard,

    Did you check your MIDI cables? 
    Did you confirm your MIDI Interface is working correctly?
    Did you look for hidden MIDI messages, particularly aftertouch, that could be causing this problem?
    Did you check your synth to make sure Local Control is off? (this will cause issues, such as doubled notes, best to have it off)

    You can use (in track view) APPLY TRIMMING and BOUNCE TO CLIPS to delete any hidden MIDI messages
    Try setting your MIDI playback buffers higher, 1000 or even up to 2000 (edit - preferences - MIDI - Playback & Recording - Playback)

    I hope this works, but since I cannot be in front of your system its hard to troubleshoot...

    Jerry
    www.jerrygerber.com
    www.jerrygerber.com/fivepiecesforvi1.htm
    #8
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 03:52:17 (permalink)
    Midi only. This is not an audio problem .



    MIDI only, meaning you are using all hardware synths not monitored through SONAR, and the Project clock is set to Internal?


    If the clock is not set to Internal (which it shouldn't be, except possibly in the rare case described above), what audio interface are you using, and is it set as the Playback Timing Master?

    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
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 08:33:49 (permalink)
    Are you using more than one soundcard? That will usually cause timing problems. 

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #10
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 15:56:57 (permalink)
    Thanks for the all the replies..

    I'll try to answer them all

    I am not using a sound card. I have a Yamaha S90 connected via USB midi
    Im not sure of the Project clock. I will check when I get back home to my system.
    This is a very simple setup.
    I can see the problem by the clock window which shows the midi time running in Sonar
    stop / starting when running, and I can hear the problem by the notes not sounding
    in consistent time.
    I ran with my old Home Studio 7  program and there is no problem.
    Then I tried with Sonar X1 Essential and it behaves as described.

    I am now running with midi playback buffer at 500 which is what is also set in Home Studio 7.  I will try with higher as suggested by jsg

    "Try setting your MIDI playback buffers higher, 1000 or even up to 2000 (edit - preferences - MIDI - Playback & Recording - Playback) "


    Since I recorded this VERY simple 4 bar phrase with step record I dont think there are
    other midi events... but even if there are ... it would be so few that this should not
    cause this symptom.
    #11
    Kalle Rantaaho
    Max Output Level: -5 dBFS
    • Total Posts : 7005
    • Joined: 2006/01/09 13:07:59
    • Location: Finland
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 16:22:00 (permalink)
    RichardDuce


    Thanks for the all the replies..

    I'll try to answer them all

    I am not using a sound card. I have a Yamaha S90 connected via USB midi 

    You must use a soundcard to hear any audio. Poor soundcard drivers are the most common source of all problems reported here.
    Your answer propably means you use the integrated chip of your computer.
     
    I can't think of any reason why your X1 shouldn't run as smoothly as your Home Studio. They should work with the very same settings, AFAIK.

    SONAR PE 8.5.3, Asus P5B, 2,4 Ghz Dual Core, 4 Gb RAM, GF 7300, EMU 1820, Bluetube Pre  -  Kontakt4, Ozone, Addictive Drums, PSP Mixpack2, Melda Creative Pack, Melodyne Plugin etc.
    The benefit of being a middle aged amateur is the low number of years of frustration ahead of you.
    #12
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 16:31:21 (permalink)
    Again
    I am not using a soundcard.
     I have a Yamaha S90 synthesizer connected via USB midi.
    The S90 is creating the sound, connected to a completely seperate audio system
    not related to the computer.
    This is a midi only issue.

    #13
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 16:47:05 (permalink)
    What is the Source set to in Preferences > Project > Clock?


    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
    #14
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 16:57:54 (permalink)
    I'll check when I get home
    (is there a random setting.... ha ha .. just kidding)

    #15
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 17:07:41 (permalink)
    If you don't know, it's probably the default, which would be Audio, meaning it's using the audio clock in your onboard soundcard or other interface, unless there is absolutely no active audio card in the PC, which would be unusual.

    Assuming the clock source is set to Audio, the quality/configuration of your audio interface  and its drivers can have a bearing on the timing of MIDI driving external hardware. As mentioned earlier, you'll want to confirm that at least one input and one output are enabled in Preferences > Audio > Devices - even if you're not using them for direct audio recording and playback - and set those as the Record and Playback Timing Masters, respectively.



    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
    #16
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 18:08:41 (permalink)
    OK... I have a medium quality sound card (Echo Audio IOx )  and will aim to use that for
    audio uses... but for a lot of the time I do not need audio capabilities and would plan
    to not even have that plugged in.
    If I assume that when that is not plugged in Sonar will use the built in sound card,
    and further assume that that is not very good, would that give this symptom,
    and would you therefore advise that I always have the xternal sound card plugged in.
    It would be a shame if I have to do that , especially when for Home Studio 7 I do not need to. 
    I suppose my hope would be that "at least one input and one output"  are not enabled
    and that by enabling to use the default built in sound card drivers the issue is cleared.
    #17
    JoshWolfer
    Max Output Level: -83 dBFS
    • Total Posts : 372
    • Joined: 2011/05/22 03:55:26
    • Location: California, USA
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 18:18:09 (permalink)
    If I understand you correctly, you're just using Sonar to send the midi data to your synthesizer, and your synthesizer is either making the sound or you are routing it to another device / speakers other then your sonar computer? 

    If that's the case it could be a few things. Is the synth set to slave to Sonar? If this is the case, it could be your poor sound card clock. I wouldn't think so, but maybe. 

    Try setting the synth as master. But that means that you'll have to press play from the synth, since sonar is now it's slave.

    Josh Wolfer - Big Dumb Monkey Productions - www.bigdumbmonkey.com (Twitter @bigdumbmonkeyp)
    Sonar 8.5.3 / X1b :: 2.8 Ghz core i7 :: 8GB ram :: V-Studio 700 C+R :: Maudio Profire 2626 (ADAT lightpipe into Vstudio)

    #18
    Jeff Evans
    Max Output Level: -24 dBFS
    • Total Posts : 5139
    • Joined: 2009/04/13 18:20:16
    • Location: Ballarat, Australia
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 18:24:51 (permalink)
    Hi Richard Firstly how do you know that Sonar is playing midi notes off. (Apart from hearing it of course)  Are you using the internal metronome of Sonar to compare the midi notes to. If you are then you need a decent soundcard otherwise the metronome will play late.

    Make sure there are no audio effects in Sonar on any busses/tracks and set the audio latency of Sonar to be as low as possible. Audio latency effects midi timing. (it shouldn't but it does in Sonar for some reason and not in most other programs BTW)

    Josh is a bit incorrect there. Sonar should always be the master. It should be running on its own clock and sending midi data out to your hardware.

    Specs i5-2500K 3.5 Ghz - 8 Gb RAM - Win 7 64 bit - ATI Radeon HD6900 Series - RME PCI HDSP9632 - Steinberg Midex 8 Midi interface - Faderport 8- Studio One V4 - iMac 2.5Ghz Core i5 - Sierra 10.12.6 - Focusrite Clarett thunderbolt interface 
     
    Poor minds talk about people, average minds talk about events, great minds talk about ideas -Eleanor Roosevelt
    #19
    JoshWolfer
    Max Output Level: -83 dBFS
    • Total Posts : 372
    • Joined: 2011/05/22 03:55:26
    • Location: California, USA
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 18:36:44 (permalink)
    Josh is a bit incorrect there. Sonar should always be the master. It should be running on its own clock and sending midi data out to your hardware.
     I definitely think that in general, Sonar should be your master. I meant for more of a test to just see if that fixed the sync issue. Throwing Ideas out. I don't really use midi to control other devices much. The closest I have is using spdif sync, in which I had to have Sonar be the slave for that particular situation to work, but that's a different beast.  


    Josh Wolfer - Big Dumb Monkey Productions - www.bigdumbmonkey.com (Twitter @bigdumbmonkeyp)
    Sonar 8.5.3 / X1b :: 2.8 Ghz core i7 :: 8GB ram :: V-Studio 700 C+R :: Maudio Profire 2626 (ADAT lightpipe into Vstudio)

    #20
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 18:58:56 (permalink)

    I suppose my hope would be that "at least one input and one output"  are not enabled and that by enabling to use the default built in sound card drivers the issue is cleared.



    SONAR will not be able to use the audio clock as a timing reference if the drivers are not enabled in Audio Devices. You could try the "Internal" clock setting for the project, but it's based on your PC system clock and should not be used if a good audio clock is available.


    Any old soundcard clock should work fine as timing reference for MIDI, but most cheaper soundcards can only use MME drivers which are just not optimized for use with an application like SONAR. Obviously SONAR is not getting along with this particular one, but it's probably fixable if Home Studio is working.

    I have to say, however, that I'm really beginning to wonder why you want to use SONAR as a pure MIDI sequencer, foregoing the other 90% of it's functionality. If that's really all you want, maybe you should be looking for an app that only does MIDI sequencing... if such a thing exists anymore?
     Cakewalk for DOS, anyone? 


    Maybe you just wanted the enhanced MIDI-editing capabilities of SONAR...?









    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
    #21
    RichardDuce
    Max Output Level: -90 dBFS
    • Total Posts : 30
    • Joined: 2010/10/05 21:59:16
    • Status: offline
    Re:Midi clock is not consistent 2011/06/13 22:28:06 (permalink)
    thanks to everyone for their inputs.
    I checked and currently my midi clock was set to Audio (using the builtin sound card)  It was set to WDM driver, I changed to MME.
    That now seems to work fine. (clk runs consistently. )
    I also tried setting to Internal  and although I do  Apply  and Save  then close
    when I bring the settings page back up its set to Audio again.

    but thats OK, since it now seems to work fine with Audio setting.

    As for brundlefly's question why I am using Sonar...
    well, this is certainly not all I intend to use it for. Since it is a new version
    of the program for me I wanted to try out some simple things first.
    I noticed something strange when I had a larger midi track with its playback and then made the test case I mentioned.
    In fact, later I will be recording audio  and running soft synths etc..
    and also bought the Garritan Personal Orchestra special offer that
    Cakewalk were selling at the same time as I bought Sonar X1 essential.

    But the other reason is that I have always used Cakewalk products and try
    to update when ever there is a major update.
    I probably will not use all the features, but I rather have the most recent
    version than an older one since if I ask questions about something a few years old I would not be surprised if I get the answer  well why are you using
    Sonar HS 4.
    In fact that program worked fine for me, also various before and I tried
    HS 7 for a while. If they made a simpler version I would upgrade to that
    but apparently HS has gone away and been replaced with Essential

    so .. .thanks again everyone. I seem to be OK now

    #22
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:Midi clock is not consistent 2011/06/14 03:57:30 (permalink)
    I checked and currently my midi clock was set to Audio (using the builtin sound card)  It was set to WDM driver, I changed to MME. That now seems to work fine. (clk runs consistently. ) I also tried setting to Internal  and although I do  Apply  and Save  then close when I bring the settings page back up its set to Audio again.



    Glad you got it working but it's a little strange you had to switch to MME. WDM is definitely preferred over MME if the interface supports it.


    As for not being able to switch to Internal, if the project has anything audio-based in it, you will not be able to change it to Internal. That would include having the audio metronome enabled, having a soft synth inserted, or having an audio track with input monitoring enabled. Empty audio tracks and buses shouldn't be a problem, but that may have changed with X1 and Prochannel.


    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
    #23
    Jump to:
    © 2024 APG vNext Commercial Version 5.1