Forums > MaxMSP

Every other note to different voices?

Nov 25 2010 | 4:37 am

I’m trying to make a clickless beat slicer that offsets the position of the sample by midi not.

I have the sampler engine in a poly because I want to each trigger to have an attack and release envelope to avoid clicks.

This is my idea (midi coming in from Ableton)

Voice 1 Voice 2 Voice 1 Voice 2

I’m having a difficult time figuring out the logic to do this.

The issue is, the notein recieves a bang at the start and end of a note and I need each instance of the voice to get the noteon bang and the noteoff bang.

Here is the patch I’m working on. The logic in the main maxpat isn’t working for me properly.

Any help would be appreciated.

— Pasted Max Patch, click to expand. —

and the sampler engine

— Pasted Max Patch, click to expand. —
Nov 25 2010 | 11:42 am

Didn’t load the sampler engine to actually check if this method triggers the samples properly but using [poly] is what you need to manage polyphony via midi messages. Also, try MIDI tutorial 2 in the Max docs for a better overview.

— Pasted Max Patch, click to expand. —
Nov 25 2010 | 12:31 pm

maybe it is too late now, but if you control the poly voices totally from
outside using nothing but "target" messages, these things are much
easier organize.


Nov 25 2010 | 7:01 pm

Roman, that is exactly what I’m trying to do but I just can’t seem to tame poly~ in my favor. I’m a bit rusty with my max skills and have never really worked with poly before so I apologize if the question seems simple.

The issue I have been having is that I need the midi coming in isn’t actually polyphonic itself. It’s supposed to be a mono midi line, but I need two voices alternating to make the sampler clickless. I’ve even lied busy states to thispoly~ and for some reason it still continues to only allocate 1 voice. Or when I do try to force target 1, target 2 (I think my logic and event order is afoul though), the voices never seem to receive noteoffs.

I think Spectro may be correct, but I would love to know how to alternate voices by hand.

Would it be too much to ask for a simple patch example of taming poly with nothing but target messages with a poly cycle~ patch?

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

Forums > MaxMSP