Thanks to people on this forum for getting me going. I do have midi working now but it is out of sync with the rest of the tracks (which are all audio tracks).
I recorded the audio with the metronome. If I turn it on, the audio tracks are still in sync with the metronome. But the midi track that I “recorded” by plotting on the key editor, is delayed. The attached JPG shows a screenshot of two tracks; one is the midi and one is an egg shaker. As you can see they are both pretty close to the actual time of the beat, but the midi is exactly on and the egg shaker is a little after the beat (human error). However when mute all other tracks and listen closely, the midi event (which is a bass drum) sounds AFTER the egg shaker.
I figured this must be what that latency stuff is all about. So I experimented with changing the latency in the control panel for my audio device (Presonus Inspire). This popped up some error messages and did not resolve the problem.
The latency has been set to 10ms all along, until I just tried changing it to 3ms. There seems to be no difference between the two; I still get that delay on the midi and I hear that bass drum after the egg shaker.
If anyone knows how I can fix this I will be forever indebted to you and I won’t forget you when I make it to the top (which top? the very top!)
gary in vermont