Correct useage of MCHAIN object

The Rumblist's icon

Hello to all,

I have a small patch (attached) where i'd like to implement Markov chains (higher than first order chains) to help make decisions in a larger generative patch i'm making. I have come across Markov chains and understand the principle behind them. However, being fairly new to Max and still working through the tutorials I am having trouble understanding if i am using the MCHAIN object correctly.

In this patch, i have wired up the MCHAIN object and seem to have it working. A bang comes through to decide on a choice of note duration from a COLL . Can anyone tell me if i am using the MCHAIN correctly in this instance? I thought i would have to create a matrix of possible states and weights to feed into the MCHAIN.

here's the patch and many thanks in advance for any help! I guess only download if you have access to Richard Dudas' Mchain object.

Max Patch
Copy patch and select New From Clipboard in Max.

The Rumblist's icon

bumpity bump for good luck! :-) Hopefully someone out there has used the Mchain object with some success who could impart a little knowledge this way!

Thanks