Polyphonic midi sampler

markyboy101's icon

Hi, I'm pretty new to MaxMSP so forgive me for my lack of knowledge...

But basically, I'm wanting to map half of a keyboard to a set of pre-recorded loops that can be synced up with each other; i.e. press one key and a drum beat starts, the press another and a guitar loop will play in time with the drum beat.

Then half of the keyboard will be mapped to single notes, I have put in my own velocity layers, like how you would on Kontakt. However, I'm having trouble swapping the multiple synths to a poly~ object.

I've tried putting in message boxes at certain points and I just cant find any reason why its not working.

Also not too sure where I'd put an ADSR in?

I've looked through the tutorials as well and while they've helped me understand bits of this process, they're not the same as what I'm wanting so I'm struggling to incorporate stuff into my patch.

markyboy101's icon

here's a screenshot of what I have so far

b.jpg
jpg
Chris Muir's icon

Post your patch (all the parts). The picture is not useful.

markyboy101's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Sure

Let me know if it doesn't work, haven't done this before.

Cheers.

Chris Muir's icon

You're missing a few parts:
loops
Sampler
loops2
glocks

markyboy101's icon

Again, apologies. Is there a way of copying every part over? Or do I have to copy each of them bits individually?

Chris Muir's icon

You could compress the whole folder into a .zip archive, and upload that.

markyboy101's icon

Try downloading it from this link:

Roman Thilenius's icon

i dont see how you could use a poly for the "loops" part, as they are different samples, right?

however, if you dont get the "midinote" stuff, there is an alternative way of talking directly to a certain voice in a poly patcher: the "target" message. see helpfile. use "target 3" once to send as much data as you want to voice 3. data after a "target 0" talks to all voices.

markyboy101's icon

Ok, I wasn't too sure about the poly object, didn't realise you couldn't use it if there are multiple samples.

I do kind of get the 'midinote' stuff, I put the zl slice object inside 'glockspoly' to cut off this midinote part.

I just don't understand why it's not working...

Peter McCulloch's icon

Just for clarity: you can definitely use different samples within the same poly~. You cannot have two different patches used as voices for the poly~.

(Sorry, on phone and can't offer much more than that, but what you are trying to do is totally doable via poly~, but it sounds like you should use two poly~ objects, one for each kind of player patch)

Ricardo's icon
markyboy101's icon

I had watched it but was a while ago, re-watched it again and had a go swapping the synth aspect of this vid for my sampler. However, my main problem is that for the pitch inlet of the poly~ object, the data coming in isn't pitch data, I've fed the outlet of the coll object into this, is there a way of converting coll data back into pitch data? Sorry if this might sound confusing, I can send you what I've just done if you want to have a look?

I wanted to keep the coll data as this is a way of my patch recognising and applying the velocity levels.

markyboy101's icon

Right, I've looked at the video and read the tutorials and this is the best I've come up with, but it still doesn't work and I can't understand why, I'm thinking its just a little stupid mistake somewhere that I cannot see.

This patch is due in uni a week on Tuesday so urgent help is needed. Will massively appreciate anyone who can help me with this!

Thanks