Jitter with standalone softsynths
-
- KVRist
- 333 posts since 22 Feb, 2005
Question: It's 2022. Is there really not a solution yet for sample exact midi out when using softsynths with for example a virtual cable like loopmidi.(im talking about software only inside the box, no external midi instruments/hardware) I wish one could get the accuracy like with vst. I would gladly offer some latency in return for perfect playback. I know midi is serial and as soon you put out some chords there will be delays. But one can dream right?
- KVRAF
- 16828 posts since 8 Mar, 2005 from Utrecht, Holland
Answer: although we live in 2022, the average software developer is only doing it for 5 years. This is true today, and was also true 50 years ago. So the chance is 50/50 100% that any random software you use has some design flaw, cut a corner, made a compromise somewhere.
Like you already said, midi is not sample-exact to begin with. A standard 3-byte midi message takes about 1ms to be transferred over the 32.000 baud serial interface of midi over 5-pin DIN.
It needs to be determined whether your specific problem is with loopmidi or the stand-alone softsynth. Either could be the culprit. It's possible the softsynth (which one are you talking about?) uses rather large buffers and only processes incoming midi messages at the boundaries of these buffers. It's also possible the midi loopback driver processes data only once every 20 ms or so.
Once you have ruled out one or the other, you can file a bug/enhancement report to the responsible developer.
Like you already said, midi is not sample-exact to begin with. A standard 3-byte midi message takes about 1ms to be transferred over the 32.000 baud serial interface of midi over 5-pin DIN.
It needs to be determined whether your specific problem is with loopmidi or the stand-alone softsynth. Either could be the culprit. It's possible the softsynth (which one are you talking about?) uses rather large buffers and only processes incoming midi messages at the boundaries of these buffers. It's also possible the midi loopback driver processes data only once every 20 ms or so.
Once you have ruled out one or the other, you can file a bug/enhancement report to the responsible developer.
We are the KVR collective. Resistance is futile. You will be assimilated. 
My MusicCalc is served over https!!
My MusicCalc is served over https!!
-
- KVRist
- Topic Starter
- 333 posts since 22 Feb, 2005
It's been like that for every standalone softsynth i tried it with. Recently Icarus Tone2 standalone. I've googled lots about this: Most of the times it's about hardware jitter. But since i only work within the box with loopmidi, i wish there were some solution. Like "Ah, but have you tried the Virtual midi cable Super Deluxe by The Audio Tennesseys that corrects the serial midi protocol and outputs sample exact playback". The input side of things works great. It only gets messy as soon lots of notes gets involved. You can hear that some notes "stutter" or gets delayed in busy sections. I get the best results at 64 buffer size.
-
- KVRist
- Topic Starter
- 333 posts since 22 Feb, 2005
Hi Polac! (The Polac of the Buzz fame? Nice to meet you!) Yes, that's been my observation too. The lower buffer size = Less jitter. It works good on general composing. But as soon as you include lots of midi information, tight notes, polyphony etc, you start to hear the drift. I don't mind latency cause you could always compensate that by doing track delays. But inconsistent jitter is another thing.
- KVRAF
- 16828 posts since 8 Mar, 2005 from Utrecht, Holland
Why stand-alone and not as a VSTi in a proper DAW? If that works (and chances are high) ... 
We are the KVR collective. Resistance is futile. You will be assimilated. 
My MusicCalc is served over https!!
My MusicCalc is served over https!!
-
- KVRist
- Topic Starter
- 333 posts since 22 Feb, 2005
Good question: I'm using a midi only sequencer (not a daw) with a good workflow. But since it seems that Vst's is the only solution for sample exact playback i guess i'll have to go that way. Still, i was hoping for some kind of solution since it's all within the box. (No external hardware)
- KVRAF
- 16828 posts since 8 Mar, 2005 from Utrecht, Holland
Well, you observe the buffer size plays a role. You set that in the stand-alone synth, right? Then I think it's due to the synth.
Or your virtual midi cable is even slower than hardware midi. We used to have MidiYoke which was pretty good. But win32 only I'm afraid.
Can you test alternatives?
Or your virtual midi cable is even slower than hardware midi. We used to have MidiYoke which was pretty good. But win32 only I'm afraid.
Can you test alternatives?
We are the KVR collective. Resistance is futile. You will be assimilated. 
My MusicCalc is served over https!!
My MusicCalc is served over https!!
- KVRAF
- 2473 posts since 25 Sep, 2014 from Specific Northwest
The minute hardware (and hardware protocols) are involved, there's going to be jitter. Even the Atari ST, with MIDI built in from the get-go, suffered from a small amount of jitter.
If everything is running in a single DAW, with plugins, there should be NO jitter, just possibly some delay if not compensated for. If you are sending data from one program to a another program, you will probably see a small amount of jitter. I think there's no escaping it, even if you are running a real-rime OS, which Win, Mac and Linux are definitely not.
If everything is running in a single DAW, with plugins, there should be NO jitter, just possibly some delay if not compensated for. If you are sending data from one program to a another program, you will probably see a small amount of jitter. I think there's no escaping it, even if you are running a real-rime OS, which Win, Mac and Linux are definitely not.
I started on Logic 5 with a PowerBook G4 550Mhz. I now have a MacBook Air M1 and it's ~165x faster! So, why is my music not proportionally better? 
- KVRAF
- 9569 posts since 6 Jan, 2017 from Outer Space
What is the sequencer you are using? How do you measure the latency? By ear? How much jitter do you get? Until now I can’t give any hint for the lack of general information. The culprit could well be the sequencer…
-
- KVRist
- Topic Starter
- 333 posts since 22 Feb, 2005
Thank you guys for all the suggestions. But after some more searching and reading through the net it seems like a daw with plugins is the best way to go for jitterless playback. I never really noticed the jitter before when playing stuff live on the keyboard. But if you do tight fast sequences with chords entered into a pianoroll and want an exact output = Vst inside daw.
-
gentleclockdivider gentleclockdivider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=203660
- Banned
- 6787 posts since 22 Mar, 2009 from gent
When I sequence vst’s from my cirklon ( hardware sequencer) the result is jitter free , depending from host to host .Charlie Firpo wrote: Fri Sep 23, 2022 11:31 am Question: It's 2022. Is there really not a solution yet for sample exact midi out when using softsynths with for example a virtual cable like loopmidi.(im talking about software only inside the box, no external midi instruments/hardware) I wish one could get the accuracy like with vst. I would gladly offer some latency in return for perfect playback. I know midi is serial and as soon you put out some chords there will be delays. But one can dream right?
Midi over usb from cirklon to host.
Usb polling time on win is around 1 ms( milliseconds), on mac it’s much better ( microseconds ) .
I also did some test with loopback midi from architect—->renoise etc .
Renoise was not good but the latest update fixed it .
Loomer architect=great
Reaper =great
Studio one 4.5= bloody awfull , supposedly fixed in 5.0
My advice is to use a host instead of standalone vst’s
Eyeball exchanging
Soul calibrating ..frequencies
Soul calibrating ..frequencies
-
gentleclockdivider gentleclockdivider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=203660
- Banned
- 6787 posts since 22 Mar, 2009 from gent
Exactly !Charlie Firpo wrote: Mon Sep 26, 2022 1:40 pm Thank you guys for all the suggestions. But after some more searching and reading through the net it seems like a daw with plugins is the best way to go for jitterless playback. I never really noticed the jitter before when playing stuff live on the keyboard. But if you do tight fast sequences with chords entered into a pianoroll and want an exact output = Vst inside daw.
If you’re interested in the renoise thread
https://forum.renoise.com/t/unstable-ti ... ents/65270
Eyeball exchanging
Soul calibrating ..frequencies
Soul calibrating ..frequencies
-
experimental.crow experimental.crow https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=6258
- KVRAF
- 6895 posts since 9 Mar, 2003 from the bridge of sighs
