The paper describes a hierarchical Markov modeling strategy that offers the advantages of a statistical approach without constraining the level of analysis. The method can mediate music generation from sample compositions. Some illustrative examples are described.