DSP processing delays
There is a delay when the audio signal is taken in from the audio interface, processed in some way, and output from the DAC. The delay caused by the audio interface isn't particularly noticeable when processing DPS signals with other DAWs, so I don't think it's a big problem. Furthermore, there is a delay when using MIDI, so I think there is some kind of problem with the output. I understand that perfect synchronization is difficult, but are there any objects or settings that can reduce this even a little? Thank you.
the values to look for is the IO buffer size and the samplingrate.
(this assumes that you use a small processing vector in maxmsp already, which is otherwise the third place to look. it can raise the requirement of CPU though if you exaggerate it. a vectorsize of 32 should be fine, that is around 0.3 milliseconds at 96kHz, 0.7 at 44kHz.)
synchronisation in conjunction with MIDI and midi decodes is more complicated and really depends on the exact setup and wether your midi input is played or generated live or comes from a machine.