granular synthesis musings - not really a question

brendan mccloskey's icon

Hi

as you may be aware, i'm chipping away at this old granular playback engine of mine/ours; based on the idea of one core phasor + 2 [play~] objects 50% out of phase with each other. For an as yet unknown reason when the grain size is a multiple of 40 (ms), linear playback sounds damn near perfect: an A/B comparison of the file played back via sfplay OR my granulator reveals (subjectively anyway) NO artefacts or warbling or colouration. I'm not concerned here with grain clouds etc, just linear playback for the moment. To my question: has anyone encountered (in practice or in the literature) a reference to grain sizes which are multiples of N? If I use a grain size of 82, 121 or 45 ms then the old Dalek AM/RM warbling occurs. 40, 80 or 120 (divided by 2 obv, cuz of the shifted grain) produce no discernible artefacts at all.

I'm driving my grain window(s) from 1 phasor and the window duration is tied to grain size obviously. Why should it be that any deviation from 40, 80 or 120 produces warbling? I'm not posting a patch yet for 2 reasons: 1, it's a simple phasor --> play * window (+ phase shifted copy) and; 2, the algorithm doesn't offer any clues.

ps
I'm familiar with the Curtis Roads text on this subject.

Brendan

MuShoo's icon

What's your event interval/poll throttle/queue throttle/slop/etc set to? I know you're probably entirely in the signal domain, but I'm curious if those might have an effect on it.

What happens at 20ms? or 60ms?

brendan mccloskey's icon

Hi MuShoo

Max Patch
Copy patch and select New From Clipboard in Max.

I've tried various settings under Audio with no discernible change; here's a patch describing the issue:

Thanks
Brendan

spectro's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Not *entirely* in the signal domain... Line~ works better. So the issue would be down to scheduler interacting with line (& sah).

brendan mccloskey's icon

Hi spectro

Do not ask me to explain why I used line and not line~. Indefensible.

Thanks a million guys

ps
throttle and slop are mysterious terms....