ISTR that Nathon Wolek’s patches include an object for a single grain, plus
numerous patches that build on that. Inserting a filter after the grain
should be fairly simply–but it is worth remembering that the window
bandwidth and shape determine harmonic structure, so at least some aspects
of the spectrum can be tailored by those choices.