Forums > MaxMSP

The start of a cycle in waveform

July 27, 2006 | 2:57 pm

I am using waveform to randomly jump around the start and end points of a sample but there are glitches. Is there any way of making sure that the start and end points are always at the start of a cycle?

Thank you
Chris


July 27, 2006 | 3:10 pm

that would require some sample accurate random jumping…

another possible solution:
if you are using groove~ as your playback object, you could use that
right outlet to drive a little wave~ object refering to a windowing
envelope stored in another buffer~. this envelope would have a very
fast fade-in at the beginning and a very fast fade-out at the end…
no clicking, no popping… well …unless you randomly jump halfway
through the windowing envelope…

> I am using waveform to randomly jump around the start and end
> points of a sample but there are glitches. Is there any way of
> making sure that the start and end points are always at the start
> of a cycle?


July 27, 2006 | 3:44 pm

Not exactly, but: Check out the grid+snap subpatcher of the
[waveform~] help file. You can find zero crossings with this feature,
which might give you what you want. – David

On Jul 27, 2006, at 10:57 AM, Chris Hipgrave wrote:

>
> I am using waveform to randomly jump around the start and end
> points of a sample but there are glitches. Is there any way of
> making sure that the start and end points are always at the start
> of a cycle?


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