dewdman42
Max Output Level: -74 dBFS
- Total Posts : 839
- Joined: 2004/09/20 16:37:27
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 19:12:57
(permalink)
ORIGINAL: pianodano We would never have tolerated errors in timing of the sort I am dealing with now, to be introduced in the shows of old. Much less recordings. My brother and I (I'll just say he is a exceptionally talented drummer that can lock to the clock and not vary) used to argue over shifting latin percussion tracks 1 or 2 ticks behind the beat. That was when we used the MC500 for live work. If someone would like to do the math. Tempo around say 118, 4/4 time, 96ppqn. The difference should be noticeable to most musicans. Yes, I agree. BTW - at 96ppqn, 2 ticks = 10ms. That Tyros does sound interesting.
|
pianodano
Max Output Level: -67 dBFS
- Total Posts : 1160
- Joined: 2004/01/11 18:54:38
- Location: Va Beach Virginia
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 19:20:14
(permalink)
ORIGINAL: dewdman42 ORIGINAL: pianodano We would never have tolerated errors in timing of the sort I am dealing with now, to be introduced in the shows of old. Much less recordings. My brother and I (I'll just say he is a exceptionally talented drummer that can lock to the clock and not vary) used to argue over shifting latin percussion tracks 1 or 2 ticks behind the beat. That was when we used the MC500 for live work. If someone would like to do the math. Tempo around say 118, 4/4 time, 96ppqn. The difference should be noticeable to most musicans. Yes, I agree. BTW - at 96ppqn, 2 ticks = 10ms.  That Tyros does sound interesting. Thanks for doing the math.  Now if I could get my attempts to record stuff on the computer to land close to that consistently. Lots of demos out there on the Tyros.
post edited by pianodano - 2007/10/17 19:32:09
Best, Danny Core I7, win XP pro, 3 gig ram, 3 drives- Lynx Aurora firewire- Roll around 27 inch monitor, 42 inch console monitor- Motif xs controller - Networked P4's and FX Teleport for samples- Muse Receptor VIA Uniwire for samples and plugs- UAD QUAD Neve - UAD 1- Sonar X1 but favor 8.5 GUI - Toft ATB 32 - Vintage hardware - Tascam MS-16 synched via Timeline Microlynx -Toft ATB32 console
|
dstrenz
Max Output Level: -69 dBFS
- Total Posts : 1067
- Joined: 2005/12/10 09:59:06
- Location: Rochester, NY
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 19:35:19
(permalink)
ORIGINAL: dewdman42 Did you disable the metronome? Still terrible? Which plugin you using for the bongos? can you render a wav file of the terrible result and post that along with the midi file? Nope, no metronome was used. I was just pounding along to the other tracks. No plugin was involved. The midi was going back to the Fantom. I deleted that part but will try to duplicate it when I get a chance. Actually, maybe latency was part of the problem..
|
dewdman42
Max Output Level: -74 dBFS
- Total Posts : 839
- Joined: 2004/09/20 16:37:27
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 19:39:45
(permalink)
Did you already tell us which midi interface you're using to get to the fantom. One thing I would do when you're laying down the track is to not echo the midi back to the Fantom. Let the fantom make the sound directly in the keyboard as you're playing it...but send the midi to sonar and record it, but just monitor what you're playing without echoing through Sonar. Then of course, during playback it has to go to the fantom. This is definitely one reason I am no longer using external synths
|
dstrenz
Max Output Level: -69 dBFS
- Total Posts : 1067
- Joined: 2005/12/10 09:59:06
- Location: Rochester, NY
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 19:52:31
(permalink)
I used the Emu 1820m midi port on the dock. Yes, I'm directly monitoring the Fantom just recording the midi in Sonar. That's one advantage of using an external synth (zero audible latency while recording). Maybe that's part of the reason the playback doesn't sound quite right.
post edited by dstrenz - 2007/10/17 20:04:32
|
Blades
Max Output Level: -43 dBFS
- Total Posts : 3246
- Joined: 2003/11/06 08:22:52
- Location: Georgia
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 20:43:13
(permalink)
dewdman, That's what I do with my Vdrums. If I echo the midi back out, it feels "soft", "squishy" - but I think this is more due to the round trip latency than it is to jitter - it feels consistently like this, not with a variable amount of squishyness. As far as the 10ms of timing - in a live show? really? I'd think that unless you are using in-ears, it would be a completely impossible feat - 1ms per foot away from the monitor - so say 6 feet to my ear from the monitor and I only get 4ms of playing slop. Seems a stretch. I mean, something like 100 ms+, like Church organists may have to deal with would feel sloppy to the player, but still probably feel fine for the audience. I'm just not convinced that there are really THAT many amazing players out there like this - I think if we had the opportunity to look t the tapes of old studios the way we can critique the DATA we record now, we'd be pretty shocked at how out some stuff that we think sounds amazing really is. Nonetheless - if it bugs you, it bugs you, right? I'm participating in this thread because I've been down this trail a number of times and no one has ever seemed to want to really get into a discussion without it turning into a mud slinging. I'm satisfied that there is a little "offness" in my recordings, but it is far "less off" than my own playing - I may play withint 15 ticks of the mark at 960, where the amount it seems to be off on my system is <4 ticks. A few ms. It does feel like it's a little better at a lower PPQ, but it could be my imaginaton - all the tests I've done seem to measure out "relatively" similar.
|
pianodano
Max Output Level: -67 dBFS
- Total Posts : 1160
- Joined: 2004/01/11 18:54:38
- Location: Va Beach Virginia
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 22:25:29
(permalink)
ORIGINAL: Blades As far as the 10ms of timing - in a live show? really? I'd think that unless you are using in-ears, it would be a completely impossible feat - 1ms per foot away from the monitor - so say 6 feet to my ear from the monitor and I only get 4ms of playing slop. Seems a stretch. I mean, something like 100 ms+, like Church organists may have to deal with would feel sloppy to the player, but still probably feel fine for the audience. Sorry. Of course we were using in ear click. I know of no other way for a drummer to accurately play to a sequencer. It seems as though you're just getting in the pocket and grooving. I was also shocked he (my brother) gave his V drums away and went back to his Vistalites
post edited by pianodano - 2007/10/17 22:44:05
Best, Danny Core I7, win XP pro, 3 gig ram, 3 drives- Lynx Aurora firewire- Roll around 27 inch monitor, 42 inch console monitor- Motif xs controller - Networked P4's and FX Teleport for samples- Muse Receptor VIA Uniwire for samples and plugs- UAD QUAD Neve - UAD 1- Sonar X1 but favor 8.5 GUI - Toft ATB 32 - Vintage hardware - Tascam MS-16 synched via Timeline Microlynx -Toft ATB32 console
|
Jim Wright
Max Output Level: -66 dBFS
- Total Posts : 1218
- Joined: 2004/01/15 15:30:34
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/17 23:50:46
(permalink)
>> Tempo around say 118, 4/4 time, 96ppqn. The difference should be noticeable to most musicans. At that tempo and ppqn, 1 tick is nearly 5.3 milliseconds. I'd agree that shifting one percussion part by 5 milliseconds, while leaving other parts unchanged, should be audible to most musicians who work with 'groove' oriented music. Personally, I don't think 96 ppqn is anywhere near enough. However, I can understand preferring a rock-solid 96 ppqn to a jittery 960 ppqn. Larry Fast (Synergy) reported working with some session drummers who could identify sub-millisecond timing differences: shift just a bit, and they said the groove wasn't in the pocket anymore. I don't remember the details (might have been in an interview with Wendy Carlos, who's worked with Larry) - but I think the drummers were pretty good at identifying the timing was off, even by that much. - Jim
|
Blades
Max Output Level: -43 dBFS
- Total Posts : 3246
- Joined: 2003/11/06 08:22:52
- Location: Georgia
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/18 07:59:13
(permalink)
Humans are a pretty sophisticated build, right? So, I don't think it's impossible, but I don't think most people could tell, nor do I think in a blind test given a handful of samples, that even these guys could really identify the difference, but I'm probably wrong!  . An interesting thing I just looked up: the average time it takes to blink your eye is about 300-400ms. Audio Timing that can be identified at 1/300th of the blink of an eye would be a pretty miraculous feat, no? Sort of kidding, sort of serious. Maybe I just suck.
|
Jim Wright
Max Output Level: -66 dBFS
- Total Posts : 1218
- Joined: 2004/01/15 15:30:34
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/18 09:56:34
(permalink)
I wasn't suggesting people could actually measure the timing shift by ear. After all, Haas effect kicks in around 30-40 milliseconds. And nobody can detect such subtle timing shifts in isolation. There are classic cognition experiments -- testing perception of isolated sounds occuring in sequence -- that have established that beyond any real doubt. (One such studyis : Michon, J. A. 1964. "Studies on subjective duration 1. Differential sensitivity on the perception of repeated temporal intervals." Acta Psychologica (22): 441-450.) However, the drummers were not listening to individual sounds in isolation from all other sounds. Rather, they were listening to drum hits in the context of a solid groove, and noticing that if one (of many) concurrent parts was shifted just slightly - the groove didn't "feel right" any more. This is a totally different kind of listening experience, and people who generalize the "sounds in isolation" experiments to make statements about what people can detect when sounds are not heard in isolation - are making a fundamental error in reasoning. So, what might the drummers be hearing? I don't know, frankly. I suspect it has to do with how the attacks of different percussion notes overlap and reinforce (or interfere with) each other, psychoacoustically. I believe that something is going on, in the complex web of sounds that make up a good groove, that tickles the human nervous system in good ways when the groove is really in the pocket, and in other ways when the groove isn't quite there. AFAIK, nobody has actually done any decent cognition experiments on what a trained listener can perceive w.r.t. timing skews in individual parts within a complex rhythmic construct. It's a lot easier to test the average joe (or jill), listening to two tones being played some number of milliseconds apart.... This is not the same thing, but -- it's well known that very small amounts of jitter in audio sample clocks have major effects on audio quality. To quote Bob Katz ("Mastering Audio", p. 228) ".. variations.. as small as 10 picoseconds may cause audible artifacts, depending on the quality of the reproduction system and your own hearing acuity." Bob spends a full chapter looking at the myths and realities of audio jitter; people spend serious money buying ultra-low-jitter DACs and ADCs - and I don't think they're wasting their money. Now, audio jitter and percussive-event jitter are not the same thing at all - and I believe they affect the human sensory apparatus in different ways. My point is just that human perception is surprisingly sensitive in a number of ways, and we don't know enough to say definitively what people can or cannot perceive, directly or indirectly. Now, I am not suggesting that musicians can consciously control timing as finely as 10 picoseconds!! But, I do think a trained ensemble may somehow be able to create a groove where the parts are locked together with millisecond-level accuracy. Geoffrey Bilmes did a masters thesis on this at MIT (1993), where he worked with recordings of an Afro-Cuban percussion ensemble; the published data shows timing relationships that are accurate to somewhere below 5 milliseconds. (My statement is based on eyeballing some charts showing timing skew between parts -- the parts are pretty clearly locked together, with a ''timing skew' ceiling somewhere below 5 milliseconds. How far below? Not clear from the graphs, and I never saw the raw data). To me, Bilmes' work is suggestive, but not definitive. One last point. My father-in-law was a machinist. He could tell how thick a piece of sheet metal stock was, to within one thousandth of an inch, without using calipers. I saw him do it many times. He couldn't tell you how he did it -but from long practice, he just knew. Could I do that? Not without 40 years of practice, making replacement parts for busted elevators. But he could. - Jim
|
Jim Wright
Max Output Level: -66 dBFS
- Total Posts : 1218
- Joined: 2004/01/15 15:30:34
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/18 14:01:05
(permalink)
Blades -- dewdman, That's what I do with my Vdrums. If I echo the midi back out, it feels "soft", "squishy" - but I think this is more due to the round trip latency than it is to jitter - it feels consistently like this, not with a variable amount of squishyness. As far as the 10ms of timing - in a live show? really? I'd think that unless you are using in-ears, it would be a completely impossible feat - 1ms per foot away from the monitor - so say 6 feet to my ear from the monitor and I only get 4ms of playing slop. Seems a stretch. I mean, something like 100 ms+, like Church organists may have to deal with would feel sloppy to the player, but still probably feel fine for the audience. Latency and jitter are different (as you've pointed out). 10 msec latency is a bit squishy, but manageable; you can still lay down a solid part even with 10 msec jitter. Heck, the latency from the conductor to the back of the orchestra is quite a bit more than 10 msec (farthest players are maybe 20-25 feet away? That's 20-25 milliseconds latency; orchestra players learn to cope). It's the jitter that kills the performance, not the latency. One fairly-well accepted guideline has been: for the whole system (key press to sound-reaches-the-ear), total latency should be no more than 10 milliseconds, total jitter should be no more than +/- 1 millisecond. Lower values are better - but those are suggested max values for good musical results. (These guidelines are from the 'academic' computer music community - I can give sources on request). The point about 100 ms+ Church organist reponse time is a funny one. I actually had a Microsoft engineer insist to me that musicians didn't really need anything better than 50 millisecond latency, because Church organists could deal with it. He really did. Repeatedly. This was in around 1999 - he was the main Microsoft guy tasked with USB MIDI stuff. Which may explain a few things...... (Note: this guy was not on the DirectMusic team -- those guys (Todor Fay, Martin Puryear, others) really did know their stuff). - Jim
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/18 14:08:56
(permalink)
However, the drummers were not listening to individual sounds in isolation from all other sounds. Rather, they were listening to drum hits in the context of a solid groove, and noticing that if one (of many) concurrent parts was shifted just slightly - the groove didn't "feel right" any more. This is a totally different kind of listening experience, and people who generalize the "sounds in isolation" experiments to make statements about what people can detect when sounds are not heard in isolation - are making a fundamental error in reasoning. I just want to say that this is a really good, concise, reasonable and helpful post to give the discussion some context. Bravo, Jim. It would be very interesting to see some more real-world data on how tight a good drummer can be, referencing each hit to the others around it, and then looking at how tight a whole ensemble can be. Let us know if you find any other references on the Web, Jim. Might have to do a little searching myself. Dave
|
RTGraham
Max Output Level: -57 dBFS
- Total Posts : 1824
- Joined: 2004/03/29 20:17:13
- Location: New York
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/18 15:43:43
(permalink)
ORIGINAL: Jim Wright However, the drummers were not listening to individual sounds in isolation from all other sounds. Rather, they were listening to drum hits in the context of a solid groove, and noticing that if one (of many) concurrent parts was shifted just slightly - the groove didn't "feel right" any more. This is a totally different kind of listening experience, and people who generalize the "sounds in isolation" experiments to make statements about what people can detect when sounds are not heard in isolation - are making a fundamental error in reasoning. So, what might the drummers be hearing? I don't know, frankly. I suspect it has to do with how the attacks of different percussion notes overlap and reinforce (or interfere with) each other, psychoacoustically. I believe that something is going on, in the complex web of sounds that make up a good groove, that tickles the human nervous system in good ways when the groove is really in the pocket, and in other ways when the groove isn't quite there. What a fantastic explanation. Thanks, Jim.
|
Nick P
Max Output Level: -44 dBFS
- Total Posts : 3112
- Joined: 2006/09/01 18:08:09
- Location: Area code 392 - Arlington Hts, IL
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 05:35:47
(permalink)
ORIGINAL: RTGraham Without getting into my credentials, I'll just say that I'm fairly certain I hear, and feel, the 2-millisecond jitter. To a certain extent, I have probably lowered my standards and forced myself to adapt to the way it feels and sounds, so that I can manage to get through MIDI sessions without losing my mind, but I would love to have it feel better. I actually was already thinking about getting a hardware sequencer, based in large part on this discussion - but then I lose all of the fantastic graphical editing tools I've grown accustomed to. Even though we're a niche market and a small percentage of Microsoft's market share, we still have a right to request that manufacturers create the tools that we need to operate at the best of our ability - and it seems that a software sequencer like SONAR, with the timing integrity of a traditional hardware sequencer but the graphical editing capabilities we've all gotten used to using, would be one such tool. I would consider going to a Pro Tools TDM system, even with it's bloated price tag, to take advantage of what people have described in the way of Digi's MIDI I/O interface's timing stability - but I just don't like working in Pro Tools as much. Big +1 on that. Bravo! Well said.
Cakewalk Forums - A Great Learning Resource For All Things Cakewalk!
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 05:57:16
(permalink)
ORIGINAL: dewdman42 A few points 1 - You will get MORE jitter if you use 960 PPQ. (huh?). Its true. If you want more reliable timing accuracy, then go with 480, or if you can, go even lower than that. The only downfall of lower PPQ is that you are introducing a very subtle form of quantizing to whatever you record. However, let's do the math: at 120 BPM, that is 2 quarter notes per sec. That is 1920 ticks per sec, which is sub millisecond. So right off the bat, changing to 480 PPQ will give you theoretically around 1ms tick timing. However, what you need to know is that the Windows OS is not even capable of reliably providing timing even that low. Many tests and studies have been done about this. As soon as you try to get down to 1ms timing, or even somewhat higher...the error rate goes up...which is what gives you real jitter. This is particular true while recording your midi track from a midi keyboard. USB adds even more latency and jitter to the mix. If you could, for example, live with say 5ms ticks, then the jitter is a lot less, because the OS timers can keep up with it more or less error free. 200 ticks per second = 5ms ticks. At 120 BPM that is only 100 PPQ. Moral of the story, lower PPQ values will give you more reliable and error free, reproducible playback. It will play back more exactly what you see on your PRV. As you raise the PPQ, more and more jitter will be present. The downside is that if you want to nudge notes forward or backward by 1ms or whatever...then you need the higher PPQ and just have to live with the jitter. One situation where you might care about that is if you're doing film scoring or something where you need to line up beats on frames, etc.. Having more PPQ allows you to calculate tempos that are more accurate for those hit points. In that case, you're not using a midi keyboard to record, so the Windows OS crappy timers are not relevant. Also, once the midi track is recorded, if its playing back through a VSTi, then when the track is frozen or a mixdown is done, in theory there should be no jitter. If it has to play back through external midi gear or even using a virtual midi cable inside the PC...then the jitter can be bad and there is not much Cakewalk can do about it. 2 - Cubase is notoriously worse The point where this all become irrelevant is that I can hear the difference when working at 480 as opposed to 960. It's obviously not as 'open' and flexible. I'd rather have unpredictable jitter ( if it even exists ... I've never noticed ) at 1920 ticks per quarter note ( yea give me more resolution please ) than be workng at 480.
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 06:12:34
(permalink)
My sequencer history is as follows: 1) Roland MC 500 Mark II ( clock at 96 ) When it was the only thing available it was tollerable ( but just barely ) Always a compromise between time and velocity. ( i.e. using velocity to compensdate for time ) 2) Ensoniq SD-32 ( clock at 120 ?? can't remember ) Same story as above. 3) CWPA9 ..... oooooo .... OK now the timing is alot better ... but still ... sometimes ... something's not quite right. 4) Sonar 3, then 4 at 960. OK. Now, nothing ever bothers me about the clock. I'm using it the same way I would a tape recorder. I never qualtize anything. 960 is the first time I've ever been able to say that.
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 06:19:04
(permalink)
ORIGINAL: Blades It also depends on what meterial you will be recording to midi. By introducing "slight" quantization switching from 960 to 480 or 240 or whatever on the ppq side depends on the tempo and the material being presented. When playing in midi drums from my td-20, recording the midi, I want to be able to get the resolution of a press roll, which may or may not be on any "real" beat divisions. Going down to 240 ppq at, say 90bpm, can start to get a little too quantized for that sort of thing. If I am just going to be playing down to reasonable divisions, I can switch this down to a lower level and make it a lot easier on myself because this "quantization" happens at the midi note placement level. Not including the jitter factor at the higher ppq, you are going to automatically get a slightly tighter recording at the lower ppq beacuse of thie quantization - or if you are a bad play, it may place things on the "next" or previous division from where you intended it. Thinking of the hardware devices, and their built-in sequencing, I have to think that their resolution is significantly lower - especially when thinking of something like an Alesis HR-16 or Sr-16 or something in that age. Not sure about the MPC... in fact, I just looked it up - an mpc2000 runs at 96ppq. Yep...there's definitely some automatic fixing happening at that level! Even if you are not acccurately putting stuff in, there's a certain amount of placement that is happening on your behalf. MPC4000 has 960ppq. Alesis SR-16 = 96ppq; Roland Fantom = 480ppq ; Korg Karma = 192ppq So how much does this say about the "feeling" that these are tighter devices? I don't know - try to turn down the 960ppq (default) in sonar and see if you don't suddenlt feel like a better player"!  You got it! Ideally, if you want accuracy to your human performance, you want the highest PPQ possible. I've dealt with the slower clocks also and I can tell you it's frustrating and very obvious that things aren't being recorded the way they're being played. If I want something "fixed" then I definately want to have more choices ( more ticks ) as to where to move it.
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 06:27:28
(permalink)
ORIGINAL: brundlefly Hmmm... Many opinions, few data points. I did quick test: Set up a MIDI track to send 96 note events at 10-tick intervals at 960 PPQ and 100BPM (.625ms/tick). Plugged a MIDI cable from the Out to the In on my M-Audio Omnistudio USB interface, and recorded the output of the test track. No synths or controllers were involved, just MIDI data making a silent round trip. Average round-trip delay was 11.1 ticks = 7ms. Assuming delays are equally divided between sending events and clocking them back in, that means MIDI events recorded from a manually played hardware synth might get clocked in 3.5ms (5 ticks) late on average (not including delay between the keys and the MIDI Out on the controller). Not perfect, but I can live with it. But here's the kicker: Standard deviation of the half-a-round-trip values was 0.5ms (less than 1 tick. So "jitter" is basically a non-issue in this test. For reference, I ran the same test with the same setup at 96PPQ, giving 96 events at 1-tick intervals. Results were about the same within the limits of the lower resolution. Mean round-trip delay was about 0.9 ticks, and half of that is .45 ticks = 2.7ms, with a standard deviation of about 1ms. In summary, it does not appear that jitter is a significant problem in this test configuration, and higher clock rates do not have a isgnifcant impact one way or the other. This makes sense, as even 960PPQ is extremely slow compared to system clocks running in the Gigahertz range with a 1000 or more CPU cycles going by between ticks. I will say, however, like others, that I have had more trouble with MIDI timing errors in the Windows era than with the old MPU-401 hardware interfaces with their onboard clocks running under DOS. But I have always been able to fix these problems with configuration or hardware changes. Based on that experience, and the results of this (admittedly crude) test, I would say that anyone who can actually feel/hear a significant MIDI timing issue on his/her system probably has a system-specific configuration/performance problem that is not inherent in either the OS or the application. Excellent work. And I agree 100%
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 06:40:38
(permalink)
ORIGINAL: pianodano Maybe I'm missing something here but that's exactly what I think should happen if you are aiming for say... the exact beat. But I don't think improved acurracy is the correct term if you're intentionally playing behind the beat and want exactly what was played captured. Yes. I totally agree. More ticks = less quantization = more resolution = more accuracy. P.S. Don't confuse the term acuracy with lining up exactly on the bar lines. Accuracy by my definition here means "true to the actual human performance."
post edited by Steve_Karl - 2007/10/19 07:15:42
|
harmony gardens
Max Output Level: -40.5 dBFS
- Total Posts : 3490
- Joined: 2004/01/10 18:50:48
- Location: Richland Center WI
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 06:49:32
(permalink)
|
dewdman42
Max Output Level: -74 dBFS
- Total Posts : 839
- Joined: 2004/09/20 16:37:27
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 14:05:51
(permalink)
ORIGINAL: Steve_Karl Yes. I totally agree. More ticks = less quantization = more resolution = more accuracy. You missed the point I was making initially and that most of this thread is about. More resolution only equals more accuracy if it is stable. Windows-based sequencers are not stable to that precision while receiving midi input from an external midi controller, therefore it is not "accurate". Higher PPQN really = more "theoretical precision". But if its going to jitter around by 2ms in either direction, then you have several ms of slop, which is a lot closer to 96ppqn resolution than most people seem to want to believe. The truth is that your computer can keep up with things and do a better job of actually being stable if you use a lower PPQN. That is the point I was trying to make. If you actually think you need 480 or 960 theoretical precision, then by all means use it! However, realize, that in terms of capturing your real time performance through a midi interface, it is not doing so "accurately". There are several ms of midi slop. if you're playing back through an external midi device it is also not doing so accurately, you can figure the same slop. The point is that higher PPQN settings could make things "sloppier" in that regard, but with yes, higher theoretical precision. That is not even close to being accurate as you envision. All that being said, once you have the performance captured in the sequencer, if you plan to play it through soft instruments, raising the PPQN to higher values can be useful because then you can nudge notes around using the higher precision and so long as there aren't any bugs in the plugin, the audio render will be accurate to that higher PPQN value, so in that case, it makes sense. But the higher PPQN values can impose more work on any hardware midi interface work that needs to happen, and frankly are nothing but fantasy about how you capture the performance. Don't confuse the term acuracy with lining up exactly on the bar lines. Accuracy by my definition here means "true to the actual human performance." Definitely. Also consider that at 96PPQN, the quantization you are talking about is something like 256th note triplets. The truth is that most people don't need more theoretical precision than that. In fact I would go so far as to say that the implicit quantization to that level is helping them, not hurting them in terms of playing in a groove, in the pocket, behind the pocket, etc.. all of it.... Where the higher precision becomes desirable is for things like glissandos, clusters, grace notes and other subtle nuances that truely need finer resolution to capture exactly the right way. However, the current WindowsOS simply does not capture that way consistently. You might get lucky, you might not. You really can't count on 480 or 960 PPQN to be captured anywhere close to accurately. Personally, I have my PPQN set to 384 or sometimes even 192. Steve, Its pretty obvious to me you didn't read the whole thread, you responded to one of the first posts I made. I suggest you read the whole thread, there is a lot of useful information here and I just repeated some of it. I think this has been a great thread, but we're just going in circles now.
post edited by dewdman42 - 2007/10/19 15:13:03
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 14:26:08
(permalink)
Moral of the story, lower PPQ values will give you more reliable and error free, reproducible playback. It will play back more exactly what you see on your PRV. I was curious about this concept, given my earlier reported finding that Sonar is apparently storing event times at a resolution of at least 960PPQ (and probably actually at the project's sample-rate resolution - 44100kHz in my case), because you don't lose the resolution displayed in the event list when you go back and forth between higher and lower PPQ. So I did another test. I created a 4-bar clip containing a series of 15-tick long MIDI notes step-entered at 16th note intervals (240 ticks at 960PPQ), such that the last note event was at 4:04:720. I then used Fit-to-time, to stretch the clip so that the last event fell at 4:04:783 (63 ticks = later). This made every event interval exactly 241 ticks, so the 2nd event was 1 tick late, the 3rd was 2 ticks late, etc. Still with me? Okay. I made a loopback recording of the events with MIDI resolution still set at 960PPQ. Then I changed the resolution to 48PPPQ and made another loopback recording. Now, at 48PPQ, the nominal interval of a 16th is only 12 ticks, and a single tick is exactly 980 samples (at the "magic" 56.25 BPM as explained in an earlier post) vs. 49 for 1 tick at 960PPQ. So at 48PPQ, all my events should be quantized to 980-sample intervals, and only every 20th event should fall on the same sample as the corresponding event recorded at 960PPQ. But this is not the case. I turned on AudioSnap on both tracks, and every transient in the 48PPQ track was within a few samples of - and frequently on the exact same sample as - the corresponding transient in the 960PPQ track. And, as intended, the interval was 241 ticks * 49 samples/tick = 11809 samples long plus or minus about 100 samples (two ticks at 960PPQ) which is about the level of jitter reported for TruePianos VSTi earlier. So an indicated resolution of 48PPQ yielded an actual resolution equivalent to 960PPQ. It remains to be shown that this is true of events generated by en external sequencer, but I'll try to do that, and I fully expect to get the same result. Another test I would need to do is to use a MIDI-only project, where the clock is "Internal", rather than "Audio". So many questions, so little time...
post edited by brundlefly - 2007/10/19 15:00:50
|
dewdman42
Max Output Level: -74 dBFS
- Total Posts : 839
- Joined: 2004/09/20 16:37:27
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 14:48:48
(permalink)
That is interesting. It implies that if you initially create the note when in 960PPQN mode, then change the resolution to lower resolution, the note playback is NOT quantized, to 480PPQN during playback but basically retains the exact timestamp that was recorded at 960 precision. It means the value stated on the PRV at 480 is not correct any longer, at least the durations aren't per your test. An interesting test would be to use 960 compared to say 96 to see if its more blatant. I think maybe if you add the note to the PRV while in 960, then change the resolution to 96, the internal timestamp is set to a value quantized to 960 and is not changed. But if you were to move or change the note while in 96 mode, then I bet the timestamp would become quantized to a 96PPQN grid. But the real question is this... if you have something you added to the PRV in 960 and then set the resolution to 96 and playback through an external midi device..what happens? Good luck measuring that. I would certainly HOPE that that notes would be sent to the midi interface at the lower resolution, but it sounds like there is some possibility they might not be. It is my feeling that if you set the midi resolution to a lower value, then the internal timestamp should not be changed per say, but playback should be quantized to that lower resolution. This smells possibly to me like a design flaw in Sonar. If the PRV is not representing what is actually going to be played, its kind of a lie.
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 14:51:17
(permalink)
First: I did read the whole thread and I understand, conceptually, what your saying. I can't argue with your theory because I'm not dealing with theory. I'm dealing with my actual ~experience~, at the ears, as a musician. In reality, my experience is that 960 ticks in Sonar is much more accurate to a human performance than 96 is, An MC-500 Mark II would be intolerable for me in this stage of the work I do. Jitter is a non-issue for me. I don't see it, I don't hear it. My rig is stable and the playback is reliably consistent. I'm a happy camper at 960. Now ... It's quite possible that the "slop" cause by jitter that you refer to is something I've gotten used to, and have learned to work with. Kind of like the way we learn to work with the difference in the height of guitar strings, or the throw of a piano key. Listen and adjust, and forget about it. I work 99% of the time at 1.5 MS latency setting in Sonar and I can feel the difference under my fingers on my S90 when and if I have to move it to 2.9. I can adapt, of course, and everything is back to normal after a minute or 2. 5ms latency ( setting in Sonar ) is out of bounds and annoying to me. Things get to be noticeably difficult at anything over 2.9. I make a point of keeping my tempos set high, as in, if the piece is really at 90 BPM, I'll intentionally run it at 180. I usually don't worry about the tempo unless I'm getting down below 100 BPM. My point is that everyone's "perceptions" are going to be relative. If 96 is good for you then use it by all means. Don't be offended If I don't see it the same way as you do. It's just that I know what works for me from decades of experience.
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 14:53:29
(permalink)
But if you were to move or change the note while in 96 mode, then I bet the timestamp would become quantized to a 96PPQN grid. I think this has to be right, because Sonar is only going to let you move MIDI events by whole ticks at whatever the current resolution is.
|
dewdman42
Max Output Level: -74 dBFS
- Total Posts : 839
- Joined: 2004/09/20 16:37:27
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 15:01:08
(permalink)
ORIGINAL: Steve_Karl Jitter is a non-issue for me. I don't see it, I don't hear it. My rig is stable and the playback is reliably consistent. I'm a happy camper at 960. Now ... It's quite possible that the "slop" cause by jitter that you refer to is something I've gotten used to, and have learned to work with. Kind of like the way we learn to work with the difference in the height of guitar strings, or the throw of a piano key. Listen and adjust, and forget about it. Yes, you have the slop, you just don't realize it. It doesn't matter how low you set your audio buffers. 1.5ms audio latency is great. However the slop we are talking about is not consistent latency...it is slop. I make a point of keeping my tempos set high, as in, if the piece is really at 90 BPM, I'll intentionally run it at 180. I usually don't worry about the tempo unless I'm getting down below 100 BPM.
This will not improve the slop factor, it will only make your computer work harder than it needs to. My point is that everyone's "perceptions" are going to be relative.
Some perceptions are not based on reality.
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 15:09:09
(permalink)
ORIGINAL: dewdman42 ORIGINAL: Steve_Karl Yes. I totally agree. More ticks = less quantization = more resolution = more accuracy. You missed the point I was making initially and that most of this thread is about. I did read the whole thread. I just don't agree with your theory since my personal experience shows me that it works differently for me. I don't mind that you "imply" that I'm imagining ( "fantasy" ) my experience, and I don't mind if you can't imagine that my experience is different than yours. I also don't expect to convince you of anything or imply that your perceptions are not accurate. It seems the best we can do is agree to disagree and suggest that everyone make up their own minds by listening to the results they get with different choices for PPQ.
|
Steve_Karl
Max Output Level: -50 dBFS
- Total Posts : 2534
- Joined: 2003/11/06 20:53:26
- Location: Pittsburgh, PA USA
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 15:10:56
(permalink)
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 15:29:46
(permalink)
It is my feeling that if you set the midi resolution to a lower value, then the internal timestamp should not be changed per say, but playback should be quantized to that lower resolution. This smells possibly to me like a design flaw in Sonar. If the PRV is not representing what is actually going to be played, its kind of a lie. Okay. I haven;t tried the external sequencer, yet, 'cause th eonly one I have runs at 48PPQ, so it would have to quantize the higher resolution file to store it. But check this out: I opened a new project, set it to 48PPQ, saved it and reopened it. I confirmed that the clock was set ti "Internal". I copied the 241-tick clip from the other file while it was still set at 48PPQ and displaying the 241-tick 16ths at 12-tick intervals, and pasted it into the new project. I changed the new project to 960PPQ, and the one-tick resolution was preserved in the new project. I changed it back to 48PPQ, anyway, and did a loopback recording of the MIDI only, still running on the "Internal" clock setting... At 48PPQ, the first 8 events "appeared" to have been recorded on exactly the same tick with no round-trip delay, and the 9th event was shown 1 tick late at 1:02:37, instead of 1:02:36. But when I changed to 960PPQ, the "truth" was revealed, All the events had varying latency of approximately 9-14 ticks (the same as found in earlier tests), and the event at 1:02:37, which you might expect would display as 1:02:740, was stamped 1:02:742 So it appears that no matter what you set for a PPQ resolution, Sonar is operating internally at least 960PPQ. And therefore it can display misleading values in the event list and PRV that do not accurately represent the timing with which they will actually be sent out.
|
dewdman42
Max Output Level: -74 dBFS
- Total Posts : 839
- Joined: 2004/09/20 16:37:27
- Status: offline
RE: MIDI "Jitter" - It Does Exist
2007/10/19 15:40:32
(permalink)
|