Problems with Granular Synthesis

the.blode's icon

Hello,

I'm currently working on an asynchronous granular synthesis instrument for a piece of assessment and I've run into some brickwalls when it comes to implementing voice/grain/polyphony allocation.

The instrument is supposed to be capable of producing clouds with grain density up to 1000 grains/second, which has meant that most of the patches have been written to operate at audio rate.

So far I've created a patch which will generate all the necessary specifications for each grain, at up to a thousand a second - including duration, envelope type, waveform type, amplitude, spatial displacement etc.

The problem I've run into is how to organise the polyphony necessary to handle this information. My original plan was to use poly~, but I haven't found any way of controlling instance allocation at audio rate (is there a way of doing this? All I know of are the note and target messages.) I have searched externals, but have yet to find anything that would help me.

I should also mention that the instrument is required to be able to produce up to 8 clouds simultaneously.

Thank you for your time

Pierre Alexandre Tremblay's icon

I think you should used IRCAM's free FTM set of MSP tools. The subset Gabor is much more efficient than any Max/MSP based approach.

ftm.ircam.fr

pa

oli larkin's icon

see the fof 2 patch i posted here for a way to trigger poly~ voices at audio rate... it's massively inefficient

it's probably not worth muting voices at 1000hz

the.blode's icon

thank you oli, i'll have a look at that.

@tremblap: I followed the link and it appears the downloads are.. down; my browser comes up with an error saying that the page/file could not be found - so it might be a server issue. I downloaded the archive at the sourceforge link on the ircam site, but it doesn't appear to contain the FTM tools (just has a bunch of patches and some sort of instrument that seems to require the FTM externals.)

edit: Unfortunately Oli, your patch doesn't solve my problem as I'm on windows and the steps~ external is mac only