The Bloch–Okounkov correlation functions at higher levels