build music with the random  rhythm