Forums > MaxMSP

Granular Synthesis Engine Woes

Jun 13 2013 | 4:49 pm

Hello, I am trying to build a granular synthesis engine and I am have some difficulties. I am use the grain.phase~ external from the Nathan Wolek’s granular toolkit. I am trying to manipulate the output of a phasor~ object so the I can maintain it’s frequency, while changing the length of its slope. This will allow me to change the length of the grain, while maintain a constant frequency of grains per second. I believe there are two problem’s with how I am approaching it: The first is that the grain.phase~ object will continue to produce a sound even if it is sent a signal with a value of 0. The second problem comes from how I am changing the phasor~ signal. First I clip the signal, the multiple it by the reciprocal of the amount I clip it. (for example, I clip it by .5, then multiply by 2) This gives me a slope a slope of exactly have the frequency of the phasor object. Then I apply a !=~ 1. object to the signal, so that it will go back down to 0. But i think the last step causes a problem because I want the signal to hit 1. first and then go back to zero. I hope that the above makes sense, any advice will be appreciated. Thanks!

I have included the patch with grain.phase~ and the files that are sent to the necessary buffers.

Jun 13 2013 | 5:01 pm

oops, it appears my attachment is too big, here is the patch, without the files for the buffers, or the external.

-- Pasted Max Patch, click to expand. --


Jun 13 2013 | 5:31 pm

Try using pong~ in fold mode; it sounds like it will do what you’re trying to do.

Jun 13 2013 | 6:16 pm

Thanks. Never used Pong~, it seems like a useful object, among many others I am most probably unaware of! Although there was still the problem with grain.phase~ always sampling part of the buffer even when a 0 signal value is sent to it. I swapped it for wave~ and things are sounding the way I want. Cheers

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

Forums > MaxMSP