I'm working on this (monophonic) granular patch attached (Archive.zip) and I've been having one issue in particular that really bothers me: if I play two subsequent staccato notes, the second note plays the first grain as the pitch of the previous note, and everything else is fine. Imagine if I played C4, then rest, then C3, I can hear C4 for the first grain, and then the note continues at the correct pitch.
So, I fumbled around a bit with the
grain.pd and I got something working with a bunch of triggers. However, now it's like all the grains play together at the onset of each note, and then everything goes back to being fine. The problem is that I not only have a sudden spike at the onset of each note, as if I had an attack-delay followed by a sustain at, say, 50%, but also for that first part I get some considerable clicking, which I presume is PD's way of telling me that I'm having it do too much stuff at the same time.
grain.pd patch, there's a connection I marked as "cursed": if you leave it, you have all the clicking and spiking, but the pitch is correct. If you remove it, the audio is fine except for the first grain which plays with the previous pitch.