I have a Max patch that sends midi messages to Kontakt, while Kontakt gives back sound to Max through Soundflower.
My problem is that i'm experiencing very disturbing and lasting audio distortions - sometimes instantly on startup, some other times after a while. The strange fact is that it won't happen all the times: on a same exact setup everything can be fine for a couple of days, then go wrong again after few minutes, or an hour...!
Interestingly, distortions disappear completely if i reset Max's vector size (eg. i work at 1024 when i suddenly hear distortions: i only change for a second vector size to 512 and then change it again to 1024: distortion disappears completely!)
Some guys told me it could be due to asyncronicity between max's, soundflower's and kontakt's clocks. They suggested to find a way to have only one master clock and have the other ones acting as slaves.
Is there a way to do that?
And what do you think about this problem?
Thanks a lot for any tip, greatly welcomed!