Forums > MaxMSP

[sharing] simple granular playback


Apr 08 2013 | 6:05 pm

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

Attachments:
  1. myFreezer.zip
Apr 09 2013 | 8:27 am

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?

Apr 09 2013 | 9:13 am

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

Apr 09 2013 | 10:10 am

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

Apr 09 2013 | 3:10 pm

Once more with apologies, and additional comments:

Attachments:
  1. myFreezer2.zip
Apr 11 2013 | 4:27 pm

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

Attachments:
  1. aprilfreeze.zip
Apr 11 2013 | 5:14 pm

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

Apr 11 2013 | 5:38 pm

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:

Attachments:
  1. aprilfreeze.zip
Apr 11 2013 | 5:46 pm

it’s here:

Attachments:
  1. aprilfreeze.zip
Apr 11 2013 | 6:43 pm

you’re a doll. Thanks.

Apr 14 2013 | 7:39 pm

very interesting!
thanks for sharing this noob!

Apr 14 2013 | 8:39 pm

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.

Viewing 12 posts - 1 through 12 (of 12 total)

Forums > MaxMSP