Helpful ReplyMidi latency in Sonar

Page: 12 > Showing page 1 of 2
Author
Neilgray
Max Output Level: -90 dBFS
  • Total Posts : 20
  • Joined: 2012/11/09 05:02:50
  • Status: offline
2012/11/09 07:12:48 (permalink)

Midi latency in Sonar

Hi Everyone, I'm new to Sonar and a bit of a DAW virgin as well so I hope you will forgive any newbieness. I bought a Roland Quad Capture interface on Wednesday and when I first installed it I had Presonus Studio One on my computer and the interface worked fine with recording the midi data from my Yamaha Motif XF6. I wasn't very happy with Studio One so I thought I'd try the version of Sonar LE which came with the Quad Capture. When I play the Motif with local off I hear the notes as played but when I try and record something at 120bpm with the input quantize set to 1/8 th resolution the first note played at beat one is recorded an 1/8th note later. Since the interface worked fine with Studio One then I think the problem must be with Sonar LE. I'm wondering if there have been issues with software which is actually free and if I might not experience this problem if I invested in X2 Essentials as I really like the look of Sonar.
I thank you for taking the time to read this and would appreciate any help or comments you could offer.
 
Neil Gray
 
#1
Wood67
Max Output Level: -64 dBFS
  • Total Posts : 1348
  • Joined: 2008/10/27 08:57:36
  • Location: Brighton, UK
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 07:39:56 (permalink)
Neil - you'll want to google 'Sonar midi buffer' or similar.  Don't use the search on this forum as it doesn't work.

Also, edit your user profile and complete your sig to include all the info about your system.  There's a 94.66321% chance that will help identify the issue.

Oh, and welcome to the forum...  but don't expect it to be serious all the time

Wood

Studio One 3 Pro, (Sonar Platinum), Intel i7, Win10 Pro, 32Gb ram, RME Babyface Pro, Behringer X-Touch, Presonus Faderport, Akai MPK49, Arturia KeyLab25, KRK Rokit 5 monitors, and other sonic surprises.
#2
CJaysMusic
Max Output Level: 0 dBFS
  • Total Posts : 30423
  • Joined: 2006/10/28 01:51:41
  • Location: Miami - Fort Lauderdale - Davie
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 09:01:05 (permalink)
You will need to lower your ASIO buffers or your WDM slider value until you do not hear any latency.

Make sure your sound card drivers are up to date and installed on your pc.

Make sure you have no effect plugins that add additional latency to your signal chain. some plugin effects are not meant for real time recording

CJ

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
#3
Neilgray
Max Output Level: -90 dBFS
  • Total Posts : 20
  • Joined: 2012/11/09 05:02:50
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 10:53:47 (permalink)
Thanks guys for the quick replies but another factor has entered the problem; so far I haven't tried to record any audio so I don't know if the latency will affect that too.
My thoughts at the moment are that sinceI don't actually need to bring any audio into Sonar except from my computer then an interface is perhaps not necessary and I could instead use a usb controller keyboard which shouldn't have any latency issues.
Thanks again for your kind help, and once I'm set up Wood, I'll fill in my profile.

Best Wishes

Neil 
#4
Kalle Rantaaho
Max Output Level: -5 dBFS
  • Total Posts : 7005
  • Joined: 2006/01/09 13:07:59
  • Location: Finland
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 11:07:52 (permalink)
You need good drivers whether you record audio or not, as the MIDI will be changed into audio for you to hear, to hear the monitored sound during recording etc etc. The onboard sound chips do not cut it, Quad Capture will make your life easier. Get fresh ASIO drivers for it.

The nUSB MIDI-controller can't in any way replace the need of a proper interface/drivers. It's the audio interface drivers that handle the MIDI-signal anyway, as it is audio you hear, because MIDI is silent.

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.
#5
CJaysMusic
Max Output Level: 0 dBFS
  • Total Posts : 30423
  • Joined: 2006/10/28 01:51:41
  • Location: Miami - Fort Lauderdale - Davie
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 12:47:41 (permalink)
My thoughts at the moment are that sinceI don't actually need to bring any audio into Sonar except from my computer then an interface is perhaps not necessary and I could instead use a usb controller keyboard which shouldn't have any latency issues. 

Just do what we suggested and youll fix your latency issue. It doesn't matter if your triggering MIDI or recording audio. We read your post and we know your using MIDI. You need to lower your ASIO or WDM driver settings. Its non negotiable.


CJ

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
#6
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:Midi latency in Sonar 2012/11/09 13:04:40 (permalink)
i would just throw in another aspect: just dont play with input quantisation (personally i think its a weird feature because it is totally unnatural to play with it) since you can anyway quantize it later to your need with two clicks...

btw.. it also could be sloppy timing of your playing - do you have at least 4 clicks of metronome preroll before recording starts ?

cheers



edit: btw. if you do not use any audio (sure you will soon ;.) you could also set the metronome to "midi" instead of "audio" and disable all the latency compensation settiings...

but thats a very specific approach that brings you only trouble when you use internal instruments...

...trying to be polite... quick temper...trying to be...
#7
FastBikerBoy
Forum Host
  • Total Posts : 11326
  • Joined: 2008/01/25 16:15:36
  • Location: Watton, Norfolk, UK
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 13:13:37 (permalink)
I'd agree ref the input quantize. I'd start by turning that off before I even started to investigate other causes. Depending on your settings you wouldn't have to be far out to have notes moved.

If you do use input quantize though pressing ctrl+Z after recording will return you to the "as played" version. Input quantize is actually a two stage process that happens automatically - the recording followed by quantize. Pressing Ctl+Z or selecting Edit-->Undo simpy reverses the quantize process and leaves you with the original recording.
#8
Cactus Music
Max Output Level: 0 dBFS
  • Total Posts : 8424
  • Joined: 2004/02/09 21:34:04
  • Status: offline
Re:Midi latency in Sonar 2012/11/09 16:45:47 (permalink)
Me too, just record your midi and then quantize later. This also gives you the option of using different resolutions or say a triplet. 

If you are hearing a MIDI delay when you play,  then by pass all your efxs bins. Sonar is good at automatically adjusting the offset for latency so is normally fine. But the minute you start adding efx it seems to increase the MIDI delay. 

Johnny V  
Cakelab  
Focusrite 6i61st - Tascam us1641. 
3 Desktops and 3 Laptops W7 and W10
 http://www.cactusmusic.ca/
 
 
#9
Neilgray
Max Output Level: -90 dBFS
  • Total Posts : 20
  • Joined: 2012/11/09 05:02:50
  • Status: offline
Re:Midi latency in Sonar 2012/11/10 08:09:46 (permalink)
Wow guys, thanks for all the replies but as always the answer was so simple, it was the version of LE. I installed Sonar X2 Studio this morning and it works fine, the midi note lands right on beat one!
I anticipate being on the forum quite a bit in the next few weeks as I tackle the hidden depths of Sonar and your wonderful response bodes well for a happy relationship. Thanks to all of you for taking the time to reply, I do really appreciate your input.

Neil
#10
CJaysMusic
Max Output Level: 0 dBFS
  • Total Posts : 30423
  • Joined: 2006/10/28 01:51:41
  • Location: Miami - Fort Lauderdale - Davie
  • Status: offline
Re:Midi latency in Sonar 2012/11/10 10:18:49 (permalink)
The installation of the New X2 set up your audio sound card with a configuration that is favorable. That's what happened, if you wanted to know why.

When you install the new version of Sonar, it runs and defaults to a configuration. You may need to adjust the driver mode in the future, depending on what your doing

CJ

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
#11
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Midi latency in Sonar 2012/11/10 14:39:18 (permalink)

dont play with input quantisation (personally i think its a weird feature because it is totally unnatural to play with it) since you can anyway quantize it later to your need with two clicks...



Just for reference, Input Quantize doesn't actually do anything while recording; it just automatically applies quantizing after you hit stop. It won't affect the live performance timing at all.


Think about it: There's no way it could automatically move something earlier that you played late to put it on the beat in real time (unless maybe you're playing on a train moving at very near the speed of light ). At best all it could do would be to delay stuff you played early, which would definitely be weird, and probably very unhelpful. 




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
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:Midi latency in Sonar 2012/11/10 15:56:55 (permalink)
brundlefly



dont play with input quantisation (personally i think its a weird feature because it is totally unnatural to play with it) since you can anyway quantize it later to your need with two clicks...

At best all it could do would be to delay stuff you played early, which would definitely be weird, and probably very unhelpful.  




hmm. and i thought that thats what it does - cos otherwise what is the use of calling it "input quantize" . it just should be called "auto quantize"


or... ? 
:-)

...trying to be polite... quick temper...trying to be...
#13
normeughdge
Max Output Level: -90 dBFS
  • Total Posts : 14
  • Joined: 2015/06/12 21:31:13
  • Status: offline
Re:Midi latency in Sonar 2015/06/19 17:11:54 (permalink)
 I have Sonar X3 Producer. I'm having some latecy, or delayed response while trying to record, with my Alesis QX49 Midi keyboard controller. It seems that when I open a soft synth, and play it by itself, it plays fine! But when hit the record button and try to record with the playback of the other tracks, thats when the problem starts. The keys have a delayed response, or sluggish, or some of them will cut out, or not sound at all! I've adjusted my buffer several times, but to no avail. I'm using the WDM drivers, on a windows 7 computer, 32 bit. I've just recently updated all my computer drivers, and up to date with my Sonar X3 Producer software. I also have a Focusrite 2i4 Interface. My keyboard is usb and plugs right into my computer. I'm not sure if its a latecy issue or timing. (But I do know the timing is off!) Or is it a way to record Midi with external instruments, (guitars, basses etc...), or with audio tracks that I'm overlooking? I've got the feeling there are some "settings" that I have that are incorrect and or are not compatible to what I'm trying to do. Would appreciate any help I can get! 
#14
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re:Midi latency in Sonar 2015/06/19 17:20:55 (permalink)
When this happens with an existing project, it is usually plug-in related. You can confirm this by hitting the "E" key or the FX button in the mix module. This will disable all plug-ins. The latency should dissapper. Here is a similar thread http://forum.cakewalk.com/FindPost/3241520
#15
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re:Midi latency in Sonar 2015/06/19 18:05:20 (permalink)
I am curious - why are you using the WDM drivers for your interface, rather than ASIO?
 
I checked the web site for the interface, and indeed there are ASIO drivers available for it.  I generally attempt to install and use ASIO drivers first, for any audio interface I am using, however some folks do have better results when using WDM.  It is usually wise to try the ASIO driver mode, if issues with WDM, and also to try WDM driver mode if issues with ASIO.  One or the other should result in good performance and stability.
 
When you go into Preferences, you may need to remove the check box for the audio interface, in order for you to be able to select the ASIO driver mode.
 
The ASIO driver mode also will use a parameter that you need to set, for adjusting the size of a buffer for the interface to process the signal.  It is usually called ASIO Buffer Size, or sometimes the interface will control that buffer with a slider, or will have you pick from a number of samples - different manufacturers use different methods of controlling the size of the ASIO Buffer.
 
I mention this because for the rest of time you will need to switch the size of that ASIO Buffer, depending on what kind of processing you are doing in Sonar.  When tracking/recording, you need the ASIO Buffer Size to be fairly small, or you will hear a lag between when you play a note and when you hear it back.  On the other side of ot, when you have finished recording and move on to mixing/mastering, you will almost always want to jack up that ASIO Buffer Size to be very large - this is to accommodate effects that often need the larger buffer size for the type of processing they do, like convoluted reverbs and effects that use look-ahead processing.
 
SOOOOO - I generally use a sample rate of 48 k, and an ASIO Buffer Size of 128 for recording, and then when I move to mixing/mastering, I jack up the ASIO Buffer Size to 1024 or 2048.  The high latency that comes from the big ASIO Buffer Size doesn't matter when mixing, because you aren't trying to record tracks while mixing.
 
So, I suggest you try the ASIO driver mode, with the above settings and report back with your results.  It may not fix things for you, but is certainly a reasonable place to start.
 
Bob Bone
 

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#16
normeughdge
Max Output Level: -90 dBFS
  • Total Posts : 14
  • Joined: 2015/06/12 21:31:13
  • Status: offline
Re:Midi latency in Sonar 2015/06/20 20:32:08 (permalink)
Guys I appreciate all your help, but so far, trying all your suggestions, didn't seem to make any difference. I Tried using "E" or "FX," and the latency was still there, and I tried using ASIO Drivers, (again) but I get no sound, and my play back wont start. I'm gonna try to "splain" how I got this hooked up. Maybe you guys can point out something I've done wrong. In Preferences/Devices, for Input drivers I have checked:  Scarlett 2i4. For output drivers I have checked: Scarlett 2i4 1/2 & Scarlett 2i4 3/4. Driver settings: Playback timing Master is Scarlett 2i4 1/2 & Record Timing Master is Scarlett 2i4. Audio driver bit depth is set to 16. Playback and recording: I'm using WDM/KS drivers. Tried to use ASIO, but no luck! In Midi>Devices: Input I have QX49 checked (My Keyboard controller) and in Output I also have checked the QX49. In Control Surfaces, in the Controller Connected/surfaces box there is ACT Midi controller-1, and I've put in the QX49 in the inport and QX49 in the outport. On the second line there is also ACT Midi controller -2 but "none" in both port boxes. In Playback and Recording: Under Recording/Checked boxes are - Notes, controller, patch changes, pitch wheel,  system exclusive, buffers 64, echo system exclusive. In the currently assigned box is 1 QX49. Under Playback is 250 millisecond buffers, and checked is: Always echo current midi track. Under Midi files is checked: Always use sysx banks for Midi files (instead of sysx data). I'm desperate to get this right. I hope this gives a better picture of what could be wrong. 
#17
scook
Forum Host
  • Total Posts : 24146
  • Joined: 2005/07/27 13:43:57
  • Location: TX
  • Status: offline
Re:Midi latency in Sonar 2015/06/20 21:13:19 (permalink)
And yet with all that detail, you fail to mention the only other source of audio latency other than plug-ins. In this case the mixing latency buffer size slider setting. It might be possible to run the interface with a low enough setting using the WDM driver but from what I can tell most use ASIO with Focusrite hardware. If you are unable to get a sufficiently small buffer size using WDM, you will need to work with Focusrite support to figure out why the PC is refusing the use the preferred driver option.
 
The MIDI playback buffer might be too small at the default setting of 250. This does not affect latency but can cause dropped MIDI notes. Increasing the value to 500 or higher will prevent dropped notes but again will do nothing to affect the audio latency you have described.
post edited by scook - 2015/06/20 21:28:21
#18
normeughdge
Max Output Level: -90 dBFS
  • Total Posts : 14
  • Joined: 2015/06/12 21:31:13
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 06:00:30 (permalink)
As you can tell I'm brand new to Midi. Before I got this Midi keyboard, I'd just hook my guitars and keyboards thru my audio interface and recorded everything just fine! People kept telling me to get a Midi keyboard, that I would have alot more options and be able to do stuff a lot better. But there is a whole lot of stuff about how this Midi thing works that I'm just not catching on too. I thought it was as simple as, hook it up and enjoy! And what do you mean by, "you fail to mention the only other source of audio latency other than plug-ins?" And as far as ASIO drivers, I used to use them with Magix, and FL Studios, but when I got Cakewalk, I tried to use them, but kept having trouble. And the quick start guide mentioned the WDM drivers. When I tried them, it worked, and that's what I've been using every since. Another thing I wanted to mention is that If I hook this Midi keyboard thru usb straight to my computer, how does it interact with my audio interface. I noticed that the Midi indicator is not on, on my audio interface, but I hear it fine through my desk monitors and can control the volume with my audio interface. Once again I appreciate you taking the time to reply, and being of great help! Thanks.
#19
Zargg
Max Output Level: 0 dBFS
  • Total Posts : 10666
  • Joined: 2014/09/28 04:20:14
  • Location: Norway
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 07:29:28 (permalink)
Hi. Have you checked that you have (and installed) the latest asio drivers for your Quad Capture?
As others suggested, I think ASIO would be the best drivers for your Audio Interface.
You will probably need separate drivers for your MIDI controller.
And including your specs in your profile will help people analyzing your problem(s).
Best of luck.

Ken Nilsen
Zargg
BBZ
Win 10 Pro X64, Cakewalk by Bandlab, SPlat X64, AMD AM3+ fx-8320, 16Gb RAM, RME Ucx (+ ARC), Tascam FW 1884, M-Audio Keystation 61es, *AKAI MPK Pro 25, *Softube Console1, Alesis DM6 USB, Maschine MkII
Laptop setup: Win 10 X64, i5 2.4ghz, 8gb RAM, 320gb 7200 RPM HD, Focusrite Solo, + *
 
#20
tlw
Max Output Level: -49.5 dBFS
  • Total Posts : 2567
  • Joined: 2008/10/11 22:06:32
  • Location: West Midlands, UK
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 11:37:59 (permalink)
normeughdge
Another thing I wanted to mention is that If I hook this Midi keyboard thru usb straight to my computer, how does it interact with my audio interface. I noticed that the Midi indicator is not on, on my audio interface, but I hear it fine through my desk monitors and can control the volume with my audio interface.


The keyboard won't be interacting with your audio interface at all. They are two separate devices.

If your audio interface has MIDI connections built in as well as audio then you could hook up an external MIDI device such as a synth and use the USB keyboard to control that synth by setting up a MIDI track in Sonar to receive input from the keyboard and output MIDI through the interface MIDI ports. To get the synth's audio to Sonar and your monitors you also need to commect the synth's audio output to the audio inputs of the interface.

MIDI and audio are two quite different things and Sonar, like all DAWs handles them as separate data flows. MIDI is simply instructions that tell MIDI equipped devices (hardware and software plugins) what to do. For example, "play note 100 at velocity 56 now.........stop playing it now".

MIDI can seem a bit overwhelming if you're new to it. Sound on Sound (magazine) have a good set of basic MIDI articles online. They were published 20 years ago, but MIDI was well enough designed in the first place that it hasn't changed much. Well worth reading if you're new to MIDI.

The first article is here http://www.soundonsound.c...aug95/midibasics1.html
post edited by tlw - 2015/06/21 11:44:19

Sonar Platinum 64bit, Windows 8.1 Pro 64bit, I7 3770K Ivybridge, 16GB Ram, Gigabyte Z77-D3H m/board,
ATI 7750 graphics+ 1GB RAM, 2xIntel 520 series 220GB SSDs, 1 TB Samsung F3 + 1 TB WD HDDs, Seasonic fanless 460W psu, RME Fireface UFX, Focusrite Octopre.
Assorted real synths, guitars, mandolins, diatonic accordions, percussion, fx and other stuff.
#21
brundlefly
Max Output Level: 0 dBFS
  • Total Posts : 14250
  • Joined: 2007/09/14 14:57:59
  • Location: Manitou Spgs, Colorado
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 12:29:39 (permalink) ☄ Helpfulby tlw 2015/06/21 18:15:24
normeughdge
It seems that when I open a soft synth, and play it by itself, it plays fine! But when hit the record button and try to record with the playback of the other tracks, thats when the problem starts.



Based on this, I'm going to go back to scook's original hypothesis that this is due to Plugin Delay Compensation. When you initially open a project and/or insert a new soft synth in a project that contains a PDC-inducing plugin, PDC isn't calculated and applied until you run the transport for the first time. This is why it suddenly appears when you start recording.
 
Depending on the FX, it may be that bypassing it is not sufficient to cancel the PDC. I suggest you completely remove any FX that are likely to be causing this (notably convolution reverbs, guitar FX processors, and Cakewalk's Transient Shaper and LP-64 plugins).

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
#22
dwardzala
Max Output Level: -61 dBFS
  • Total Posts : 1470
  • Joined: 2008/05/26 19:18:33
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 14:54:50 (permalink)
Also, Focusrite has some of the best ASIO drivers out there - so we should figure out how to get you back on ASIO with Sonar.
 
Can you post your system specs?

Dave
Main Studio- Core i5 @2.67GHz, 16Gb Ram, (2) 500Gb HDs, (1) 360 Gb HD
MotU Ultralite AVB, Axiom 49 Midi Controller, Akai MPD18 Midi Controller
Win10 x64 Home
Sonar 2017.06 Platinum (and X3e, X2c, X1d)
 
Mobile Studio - Sager NP8677 (i7-6700HQ @2.67MHz, 16G Ram, 250G SSD, 1T HD)
M-Box Mini v. 2
Win 10 x64 Home
Sonar 2016.10 Platinum
 
Check out my original music:
https://soundcloud.com/d-wardzala/sets/d-wardzala-original-music
 
 
#23
konradh
Max Output Level: -42 dBFS
  • Total Posts : 3325
  • Joined: 2006/01/16 16:07:06
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 16:58:39 (permalink)
Agree with CJ.  I go to Preferences | Drivers | ASIO buffer and set the slider to a low number (like 3) while tracking/recording to reduce latency. Then when mixing the final product, I move it back up to 6 or 7 to ensure there are no clicks or drop-outs.  In the very near future, improved computing power and speed will eliminate this two-step process, but for now, I have found this to be a good method.
 
Also,the MIDI buffer, as said above, may be something else to check.  The problem could be either or both, but having the ASIO buffer too high during recording is a sure fire way to have lag.  Just don't forget to put it back.
 
I will say that, although I have noticeable latency problems with the wrong settings, an 1/8 note at 120 BPM is a LOT; however, it could be mechanical *and* human: it is hard to play in time when you don't hear yourself right.  Some singers and musicians rush badly when latency is too high, but the reverse could be true as well.

Konrad
Current album and more: http://www.themightykonrad.com/

Sonar X1d Producer. V-Studio 700. PC: Intel i7 CPU 3.07GHz, 12 GB RAM. Win 7 64-bit. RealGuitar, RealStrat, RealLPC, Ivory II, Vienna Symphonic, Hollywood Strings, Electr6ity, Acoustic Legends, FabFour, Scarbee Rick/J-Bass/P-Bass, Kontakt 5. NI Session Guitar. Boldersounds, Noisefirm. EZ Drummer 2. EZ Mix. Melodyne Assist. Guitar Rig 4. Tyros 2, JV-1080, Kurzweil PC2R, TC Helicon VoiceWorks+. Rode NT2a, EV RE20. Presonus Eureka.  Rokit 6s. 
#24
normeughdge
Max Output Level: -90 dBFS
  • Total Posts : 14
  • Joined: 2015/06/12 21:31:13
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 18:36:36 (permalink)
Thank you all for the responses. Let me see if I can answer some of the things you suggested. First Mr "Zargg": Yes I've downloaded the lates ASIO4all v2 drivers. isn't the latest version 2.12? And is that the right ASIO Driver? Mr "tlw", that example you gave of, "play note 100 at velocity 56.........stop playing it now!" To me, that's like speaking Russian! I can't begin to know what any of that means. But the sound on sound magazine you suggested sounds like be a good ideal. Mr "bundlefly," Pluggin Delay Compensation sounds kind of interesting. But how do I know what plugins are PDC induced, and what do you mean "run the transport for the first time?" Also, when I record, I record raw! No effects. I apply all effects after all my tracks are recorded. Mr "dwardzalz" that also sounds like a good I deal. Can you tell me exactly what you need from me concerning my specs. Or are you saying that I should get my ASIO drivers from Focusrite? Mr "konradh" I would like to do that, but I can't seem to get no sound at all, when I try using the ASIO drivers. And I have reset my midi buffer to 500 as suggested by "scook." You all seem so advanced and  educated in this, and this all is very simple for you guys, but so confusing to me. I kind of feel I'm close to resolving this, but also feel I'm still far away. So again, if there is anything more you can tell me, please do! I deeply appreciate all your input. Thanks for all the help.
#25
dwardzala
Max Output Level: -61 dBFS
  • Total Posts : 1470
  • Joined: 2008/05/26 19:18:33
  • Status: offline
Re:Midi latency in Sonar 2015/06/21 19:38:21 (permalink)
Computer specs would be things that are shown in my sig - processor, memory, HDs, other hardware etc.
 
Yes you should get your ASIO driver from Focusrite.  And sorry to conflict with some other advice regarding ASIO4ALL but, you should disable that driver - it is a workaround for interfaces that don't have real ASIO drivers.  Your device does so you don't need it.  In fact, it can cause you problems by interfering with real ASIO drivers.
 
Regarding some of you other questions - running transport for the first time = pressing play or record to start the audio engine (the part of the software that "plays" your tracks) the first time after you load a particular project.
 
When you are recording "raw" do you have effects on your other tracks?
 
The people on this forum have a collective of centuries of experience with Sonar and solving these problems.  As long as you are willing to continue the dialog with us, we will figure out how to solve your problem so that you are recording and mixing using Sonar.

Dave
Main Studio- Core i5 @2.67GHz, 16Gb Ram, (2) 500Gb HDs, (1) 360 Gb HD
MotU Ultralite AVB, Axiom 49 Midi Controller, Akai MPD18 Midi Controller
Win10 x64 Home
Sonar 2017.06 Platinum (and X3e, X2c, X1d)
 
Mobile Studio - Sager NP8677 (i7-6700HQ @2.67MHz, 16G Ram, 250G SSD, 1T HD)
M-Box Mini v. 2
Win 10 x64 Home
Sonar 2016.10 Platinum
 
Check out my original music:
https://soundcloud.com/d-wardzala/sets/d-wardzala-original-music
 
 
#26
mettelus
Max Output Level: -22 dBFS
  • Total Posts : 5321
  • Joined: 2005/08/05 03:19:25
  • Location: Maryland, USA
  • Status: offline
Re:Midi latency in Sonar 2015/06/22 01:06:08 (permalink)
ASIO4ALL actually uses WDM drivers which "appear" like ASIO. They also can interfere with genuine ASIO drivers.

Best starting point is to download Focusrite's drivers. Completely uninstall ASIO4ALL, then install the Focusrite's drivers.

MIDI latency is terrible for me when using WDM (which is what ASIO4ALL truly is). Always use manufacturer drivers first.

ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
#27
normeughdge
Max Output Level: -90 dBFS
  • Total Posts : 14
  • Joined: 2015/06/12 21:31:13
  • Status: offline
Re:Midi latency in Sonar 2015/06/22 05:54:11 (permalink)
Thanks guys. Believe it or not, but I got the Asio4all v2 to work for the first time yesterday evening after my post to this forum. I just kept playing around with the settings and it worked! But I am experiencing some "audio dropouts." And I didn't know that the "asio4all v2" driver is not real asio driver. And since I've already downloaded the focusrite drivers when I purchased the unit, then I already have a focusrite asio driver Right? I just need to uninstall the asio4all v2?
#28
normeughdge
Max Output Level: -90 dBFS
  • Total Posts : 14
  • Joined: 2015/06/12 21:31:13
  • Status: offline
Re:Midi latency in Sonar 2015/06/22 05:57:35 (permalink)
Oh I forgot! Yes when I record, I use no effects on any tracks. I add effects after I record all my tracks.
#29
Karyn
Ma-Ma
  • Total Posts : 9200
  • Joined: 2009/01/30 08:03:10
  • Location: Lincoln, England.
  • Status: offline
Re:Midi latency in Sonar 2015/06/22 06:35:11 (permalink)
WDM is Microsofts "generic" audio driver model and is relatively high level.  It's good for steaming audio from youtube to your soundcard or game playing or other similar situations where latency down to a few miliseconds is not required.
 
ASIO is a low level driver that effectively allows software to talk directly to your sound card, bypassing most of your OS. It will allow guaranteed low latency based on the buffer size you specify.
 
ASIO4ALL is a "wrapper" that makes WDM appear to be ASIO to software that expects (or requires) ASIO.
 
Remove ASIO4ALL,  check the Focusrite  site for the latest drivers for your interface. Install the ASIO driver (or if it's one driver, make sure it's using ASIO mode)
In windows sound settings, ensure your interface is NOT set as the default option for audio.  Let windows use the built in sound on your motherboard for everything else and keep your Focusrite just for Sonar and other dedicated audio software.

Mekashi Futo
Get 10% off all Waves plugins.
Current DAW.  i7-950, Gigabyte EX58-UD5, 12Gb RAM, 1Tb SSD, 2x2Tb HDD, nVidia GTX 260, Antec 1000W psu, Win7 64bit, Studio 192, Digimax FS, KRK RP8G2, Sonar Platinum

#30
Page: 12 > Showing page 1 of 2
Jump to:
© 2025 APG vNext Commercial Version 5.1