how to sync markov sequences?

    Feb 07 2021 | 10:33 pm
    I've been using first order markov sequences to generate basic rhythms. these sequences are interesting but they wander about with no awareness of any time signature. Is there a way to use second order markovs to make the sequence sound more fixed to a time signature? Like could I use a 2nd order markov to define the probability of snare after a hi hat as 0.1 on the 2nd beat of a bar, but 0.85 on the third beat of a bar?