[sharing] simple granular playback

brendan mccloskey's icon

Hi
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
Enjoy

5389.myFreezer.zip
zip
Wetterberg's icon

Doesn't seem to work for me - it and the poly~ loads fine, and it pulls its 20-some-odd% cpu, but no output.

Any ideas?

brendan mccloskey's icon

Aha. Missing loadbang to click to sah. The feedback loop needs initialized, sorry.

brendan mccloskey's icon

I'll post a fixed version after work. . .

brendan mccloskey's icon

Once more with apologies, and additional comments:

5394.myFreezer2.zip
zip
brendan mccloskey's icon

Hey all
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.

Brendan

5405.aprilfreeze.zip
zip
Wetterberg's icon

It could be adapted for live input? You mean in a stream-type of mode, or as a "record into buffer, then granulate" mode?

brendan mccloskey's icon

The latter. But a recirculating buffer, to fool the listener. I don't think I would have the experience (or time) to tackle live-streaming; Timo's external does that well enough anyway.

I tidied that last one up a bit:

5409.aprilfreeze.zip
zip
brendan mccloskey's icon

it's here:

5410.aprilfreeze.zip
zip
Wetterberg's icon

you're a doll. Thanks.

tada's icon

very interesting!
thanks for sharing this noob!

brendan mccloskey's icon

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!

Brendan.