Go Back   DriverHeaven > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > SoundFonts and MIDI
Register Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old Jul 17, 2006, 04:41 PM   #1 (permalink)
cerendir
DriverHeaven Junior Member
 
Join Date: Jul 2006
Posts: 31
cerendir is on a distinguished road

Delay when recording MIDI

Hello everyone,

First of all let me say that I'm very, very impressed by the kX drivers. Thanks to them, my cheap old Live! Value works great for both audio recording and virtual instruments. A great big thanks to the people behind kX!

However, there's a problem somewhere. I'm not saying it's related to kX -- as a matter of fact I doubt it, since as far as I can remember this problem predates my use of these drivers -- but this forum seems to be full of knowledgable people so it seems like a good place to ask

The problem is that sometimes when I record midi, the notes end up being late even if I play in time. Don't get me wrong, I'm not talking about ASIO latency or anything here. I have a 4ms latency and all instruments work just great. My performance, while recording, might be completely spot on, but when I listen to the recorded track all notes are delayed, all of them shifted by the same amount. I can't say how much exactly, but it's roughly a sixteenth note, depending on tempo. What makes this even weirder is that this happens only after a while. When I start my sequencer (Cubase VST 32), it works fine. But after having stopped and resumed playback a few times the problem rears its ugly head. It can only be resolved -- temporarily -- by choosing Reset Devices or restarting the program.

My system is an AMD Athlon 64 3200+ (Abit KN8 motherboard) with 1GB RAM, Sound Blaster Live! Value, running Windows XP Pro SP2. I use a plethora of freeware VST instruments -- a few GTG synths, LightBag II, MiniMougueVA, StringSynth, CrazyDiamonds, 4Front Piano and mda Piano, plus SFZ for loading a couple soundfonts converted to sfz format. My midi keyboard is an M-Audio Keystation 49e.

Thoughts, anyone?
cerendir is offline   Reply With Quote
Old Jul 17, 2006, 04:56 PM   #2 (permalink)
Lex Nahumury
DriverHeaven Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,728
Lex Nahumury is on a distinguished road

Quote:
Thoughts, anyone?
Only one;
Make sure that your sequencer is set to work at 48khz ASIO (not 44khz),
and all your audio files (if any) in your project are also in 48khz format.

Audio to MIDI timing may suffer if sequencer is forced to 44kHz.

HTH,

/Lex.
Lex Nahumury is offline   Reply With Quote
Old Jul 19, 2006, 05:29 AM   #3 (permalink)
cerendir
DriverHeaven Junior Member
 
Join Date: Jul 2006
Posts: 31
cerendir is on a distinguished road

Quote:
Originally Posted by Lex Nahumury
Only one;
Make sure that your sequencer is set to work at 48khz ASIO (not 44khz),
and all your audio files (if any) in your project are also in 48khz format.

Audio to MIDI timing may suffer if sequencer is forced to 44kHz.

HTH,

/Lex.
Nope, that's not it. Cubase is set to 48kHz, and this still happens. :/
cerendir is offline   Reply With Quote
Old Jul 24, 2006, 04:26 AM   #4 (permalink)
TravelRec.
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,577
TravelRec. is on a distinguished road

Are you sure you are using kX-Asio driver and not the cubase generic drivers?
__________________
ASUS P4P800-VM P4HT 3.0GHz@800Mhz FSB, 1GB 400Mhz DDR DualChannel, Audigy2ZS with 2 optical SPDIF in, 3 optical SPDIF out, 8 analog mono in, 8 analog out // ASRock P4i65G P4HT 2.4GHz@800Mhz FSB, 1GB DDR DualChannel, Audigy SB0090 with 4 SPDIF in + 4 SPDIF out // Dell OptiPlex GX1+ PIII @ 600 MHz, 384 MB SDRAM, CT4670 with 2 SPDIF in + 2 SPDIF out // Toshiba Libretto 100CT, Audigy2ZSNB SB0530 // MSI MS-6151 PIII @ 450 MHz 384 MB SDRAM, CT 4790 PCI 512 // ATARI 1040 STE, 8Mhz, 4MB RAM, SM124 // ATARI 130XE, XF551, SIO <-> PC interface
TravelRec. is offline   Reply With Quote
Old Jul 25, 2006, 09:42 AM   #5 (permalink)
cerendir
DriverHeaven Junior Member
 
Join Date: Jul 2006
Posts: 31
cerendir is on a distinguished road

Quote:
Originally Posted by TravelRec.
Are you sure you are using kX-Asio driver and not the cubase generic drivers?
Yes yes, absolutely sure. As mentioned I have a 4ms latency when playing soft synths; with the generic Cubase drivers it wouldn't be possible to play in time to begin with

This delay I'm talking about happens when recording, almost as if the notes aren't "saved" the same instant they're played.
cerendir is offline   Reply With Quote
Old Jul 25, 2006, 02:41 PM   #6 (permalink)
Maddogg6
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,580
Maddogg6 will become famous soon enough

Is there an option for 'quantize' input while recording ?


Or - are you un-necessarily using the 'monitor' function on the track in cubase?
If you feel forced in using 'monitor' function in cubase - instead: (in KX DSP..) re-rout VSTi output to the ASIO input for recording AND to elpilog/KXlt outputs for monitoring - Im thinking you are relying on the 'monitor' function to hear the instrument while your recording/rendering to a wave track. - which adds significant latency in my experience.


?? sorry thats all I can think of.
Maddogg6 is offline   Reply With Quote
Old Jul 26, 2006, 03:02 AM   #7 (permalink)
cerendir
DriverHeaven Junior Member
 
Join Date: Jul 2006
Posts: 31
cerendir is on a distinguished road

Quote:
Originally Posted by Maddogg6
Is there an option for 'quantize' input while recording ?


Or - are you un-necessarily using the 'monitor' function on the track in cubase?
If you feel forced in using 'monitor' function in cubase - instead: (in KX DSP..) re-rout VSTi output to the ASIO input for recording AND to elpilog/KXlt outputs for monitoring - Im thinking you are relying on the 'monitor' function to hear the instrument while your recording/rendering to a wave track. - which adds significant latency in my experience.


?? sorry thats all I can think of.
Um... I'm talking about MIDI, not audio. See the thread title

And as far quantize... well theres an auto quantize option in Cubase but I prefer not to use it. Also, this delay is sometimes so severe that even if the notes are quantized they snap to the wrong beat (i.e. a 16th note late).
cerendir is offline   Reply With Quote
Old Jul 26, 2006, 09:29 AM   #8 (permalink)
TravelRec.
Alternative Audioproductions
 
TravelRec.'s Avatar
 
Join Date: Sep 2003
Location: Germany / Sachsen-Anhalt
Posts: 1,577
TravelRec. is on a distinguished road

I would think that Cubase VST32 (Ver 5.0) is buggy. I had the program before and also no luck. The same is for Cubase VST24 (ver.3.7). Try to use a newer product, so the SX series. For testing try another sequencer, like cakewalk or fruity-loops to check your MIDI-performance.
__________________
ASUS P4P800-VM P4HT 3.0GHz@800Mhz FSB, 1GB 400Mhz DDR DualChannel, Audigy2ZS with 2 optical SPDIF in, 3 optical SPDIF out, 8 analog mono in, 8 analog out // ASRock P4i65G P4HT 2.4GHz@800Mhz FSB, 1GB DDR DualChannel, Audigy SB0090 with 4 SPDIF in + 4 SPDIF out // Dell OptiPlex GX1+ PIII @ 600 MHz, 384 MB SDRAM, CT4670 with 2 SPDIF in + 2 SPDIF out // Toshiba Libretto 100CT, Audigy2ZSNB SB0530 // MSI MS-6151 PIII @ 450 MHz 384 MB SDRAM, CT 4790 PCI 512 // ATARI 1040 STE, 8Mhz, 4MB RAM, SM124 // ATARI 130XE, XF551, SIO <-> PC interface
TravelRec. is offline   Reply With Quote
Old Jul 26, 2006, 12:54 PM   #9 (permalink)
Maddogg6
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 3,580
Maddogg6 will become famous soon enough

Quote:
Originally Posted by cerendir
Um... I'm talking about MIDI, not audio. See the thread title

And as far quantize... well theres an auto quantize option in Cubase but I prefer not to use it. Also, this delay is sometimes so severe that even if the notes are quantized they snap to the wrong beat (i.e. a 16th note late).
Yes - I can read. - and did - you DID mention using VSTi - which are basically AUDIO effects - designed to respond to MIDI data...

But yes - you clarified recording MIDI data and NOT audio rendering from a MIDI performance of a VSTi or KX synth - there IS a difference - but few distinguish this explicitly. Some will just call it 'recording midi' in both instances.

So ... the monitor switch on a VSTi track point is STILL valid (its an AUDIO TRACK right?). - recording MIDI sent to this VSTi or recording the audio from the 'performance' with it - eitherway - with the monitor set to ON on a VSTi track will add additional latency - when you can re-rout KX dsp to avoid needing the monitor function.

Did you try recording MIDI data with that MIDI tracks MIDI OUT device set to a KX Synth or an output MIDI port and drive an external hardware sound module/synth? Whats latency like then?


Then again - I never really liked cubase - and for this to be a bug in an older version would NOT suprise me.
Maddogg6 is offline   Reply With Quote
Old Jul 26, 2006, 03:17 PM   #10 (permalink)
Lex Nahumury
DriverHeaven Senior Member
 
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,728
Lex Nahumury is on a distinguished road

Yep, I agree with maddog and travel;

If all mentioned common user mistakes are ruled out,
it's probably your Sequencer not liking your midi-in port.

BTW; do you use an USB midiport, or kxUART?
Even some Cubase SX versions can have midi-in timing problems with USB midiports.
(lots of such reports in various cubase forums)
Lex Nahumury is offline   Reply With Quote
Old Aug 4, 2006, 04:05 AM   #11 (permalink)
cerendir
DriverHeaven Junior Member
 
Join Date: Jul 2006
Posts: 31
cerendir is on a distinguished road

Hey guys, sorry for taking my sweet time responding but I've been out of town for a while.

Anyway, I have since my last post moved to Cubase SX 2 and this delay problem has gone away. I've been recording happily for a couple of days now, so it seems like it was indeed Cubase VST32 that didn't like my midi keyboard (which is a USB keyboard btw) very much.

Thanks for all your help and suggestions.

(and damn, did they change a lot of stuff between VST32 and SX! Feels like the first day in school again )
cerendir is offline   Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
Artwork by Allan 'Zardon' Campbell, vBulletin implementation by Craig '5320' Humphreys based on original artwork by Ratchet.

All times are GMT -5. The time now is 07:44 AM. Copyright ©2008 DriverHeaven.net