pgmout to logic digital pops..

Hi, the other day I completed (with the help of the forum users) a basic makenote patch that used the ‘voices’ in logic so that I could use more sounds other than those in max. I have come back to it today and can’t seem to trigger any sounds without severe digital pops and the signal breaking up.. I checked to make sure that both logic and max are using the same vector size and they are but still – nothing. Bit stumped and bummed my new creation has died before it lived -any ideas on how I might prevent this or something I may be doing wrong?
Thanks in advance