[sharing] simple granular playback
lots of questions about granulation recently; so here is the simplest example I could assemble, in about 30 minutes. It of course draws on the exemplary work of many others in this area, from Sakonda to Henke, so props to them first. It demonstrates and describes grain size, pitch, range and offset. Just load your own file and repitch, freeze, stretch away.
32 voices for 20% CPU
Doesn’t seem to work for me – it and the poly~ loads fine, and it pulls its 20-some-odd% cpu, but no output.
Aha. Missing loadbang to click to sah. The feedback loop needs initialized, sorry.
I’ll post a fixed version after work. . .
Here’s a refined, updated and improved version – tinkering has allowed me to further suppress AM sidebands (i.e. grainy, motoric throbbing), sounding rather much smoother now, and the subpatch is annotated. Still not quite JFC freezing, and it’s currently only using buffer files, but could easily be adapted for live input.
It could be adapted for live input? You mean in a stream-type of mode, or as a "record into buffer, then granulate" mode?
you’re a doll. Thanks.
thanks for sharing this noob!
Cheers mate. Still not convinced by the randomized allpass delay times. Try setting them to 17 and 11ms, subjectively sounds smoother? The latest version adds interonset control, I’ll send you it privately if you like, just to save cluttering up the forum with my endless tweaking!