• Hardware
  • Latency when playing electronic drums, no matter what i try (p.3)
2012/10/09 23:45:57
bitflipper
Bitflipper, what other options are there than monitoring through the computer? I'm not sure i understand this. I use programs like EZdrummer so the TD9 goes through the computer to pick up those sounds. If i play it through an external speaker i ofcourse have no latency but i then obviously can not record or use any kind of drum software. So that's not an option.

Ah, now I understand your predicament. And I have a solution for you.


The TD9 does makes sound, right? Probably not as good as the samples you have in your computer, though, so you'd rather use EZDrummer's sounds. The solution is to monitor your TD9's internal sounds while playing, but record your performance as MIDI rather than audio. Then later redirect the recorded MIDI track to EZDrummer. Latency will no longer be an issue.


I do this for piano. I have a hardware synthesizer that does a passable piano, but I have better piano libraries on disk. So when I need to record a piano part, I'm listening to the just-OK piano patch in my Yamaha synth while recording MIDI. Once the MIDI part has been recorded, I reroute it to Kontakt and utilize a different piano library - and latency is not a concern.
2012/10/10 11:38:17
Cactus Music
So hopefully you now see what it was you were doing wrong as all the last posts are directing you in so many words to the same place.

Your monitoring set up is flexible so it's easy to get this wrong.

Middle man got me thinking that what I would do is use the headphone system on the brain and route the computer playback from my audio interface into the AUX in jacks. They put them there so you could play along with a CD or MP3 player.

Then as we are all saying, record the MIDI output and carry on.
I would quantize the new MIDI track to the appropriate resolution to line it up. That's what I do with drums input from my keyboard. Same thing.

If you actually like the sound of the TD9 brain,or even just one of the sounds,  then I would still record with MIDI and run the TD9 as a outboard synth. You record the MIDI, edit and enhance then play it via MIDI to the TD9 and record the Audio output as it is played back from the MIDI track. You could via MIDI editing record just the Kick or Snare etc.
2012/10/10 18:16:30
Goddard
A-ha!

Well, now that everyone has understood what you are trying to do (use your TD-9 to trigger EZ Drummer drum syth VI plug-in), let's hope you can now understand what you need to do. 

Be aware that there will always be some latency when listening to EZ Drummer as you play your TD9, because of the output buffering (and also any MIDI triggering delay). 

If you need to hear what you are playing as you play it without any latency, then you need to monitor your TD-9's audio, either from the TD-9 module or running through your Quad Capture's input monitoring, but then you won't want to hear what EZ Drummer plays (because it will have some delay relative the TD-9's audio). So, you need to set input and playback monitoring correctly in Sonar and in your interface's mixer, and this will be different depending on whether you listen to EZ Drummer or your TD-9.

Fwiw, you might want to record the TD-9's audio in Sonar if you plan to use "drum replacement" or drum-to-MIDI software on the audo.
2012/10/12 12:37:10
Tripod
Hi, i'm back! I finally have some time to work on this. I'm gonna read everything now and after dinner try it all out. Looks promising. In the meantime (if it's still relevant) here's the date from my settings: Sampling rate 44100 (i can not put this higher eventhough i thought the Quad Capture could?). Buffersize in playback queue 2 Buffersize 5.8 msec 256 samples. Input 11.9 msec Output 17.1 msec Is this any good? Any problems here? I can't change it either way because that's what the Aiso driver selects on his own. Once again thank you for all the help!
2012/10/12 12:38:54
Tripod
Middleman "The second one says you don't want the TD9 sounds, just the midi data which will trigger EZ drummer." That is correct. I do NOT want the TD9 sounds. I want the sounds from EZdrummer or whatever drum software i'm using at the moment.
2012/10/12 12:45:09
Middleman
Tripod


Buffersize in playback queue 2 Buffersize 5.8 msec 256 samples. Input 11.9 msec Output 17.1 msec Is this any good? Any problems here?

It's the source of your problem. You will need one of the work arounds outlined above so it becomes irrelevent.
2012/10/12 13:31:01
bapu
Tripod


Input 11.9 msec Output 17.1 msec Is this any good? Any problems here? 

That is the equivalent of standing 29 feet away from the sound source. No wonder you have a delay.


I can't change it either way because that's what the Aiso driver selects on his own. Once again thank you for all the help! 


I have got to believe that you are overlooking some way to change the sample buffers. There has got to be a way to get it down to 64 samples (that should be your goal, IMO). The Quad Capture is a modern device and I would think (even though I do not own one) it is capable of 64 Sample Buffer in ASIO mode.



2012/10/12 13:50:32
Middleman
bapu

That is the equivalent of standing 29 feet away from the sound source. No wonder you have a delay. 


Somebody had their calculator at the ready. ;)

2012/10/12 13:53:25
Tripod
"I have got to believe that you are overlooking some way to change the sample buffers." Everything is greyed out in those settings. I can't change anything unless i use other drivers than Aiso. But i will try some things out. Including things mentioned above.
2012/10/12 14:21:44
Jim Roseberry
"I have got to believe that you are overlooking some way to change the sample buffers." Everything is greyed out in those settings. I can't change anything unless i use other drivers than Aiso. But i will try some things out. Including things mentioned above.



Try closing Sonar... and adjusting the ASIO buffer size in the OctoCapture's control panel applet.
Take it down to a 48-sample ASIO buffer size.  That'll yield 7.4ms round-trip latency at 44.1k.
For playback of virtual instruments, your latency would be roughly half that, which would get the timing more in the comfort zone (~3ms) for triggering drum samples.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account