Skip to content

View

The View class provides functions to help you visually display music.

Creating a View

View is a static utility. Call its methods on the class itself, for example

View.pianoRoll(score)

Functions

The following View functions are always available:

Function Description
View.pianoRoll(material) Show the music as a piano-roll display.
View.sketch(material) Show the music as a small piano-roll display.
View.notate(material) Show the music as staff notation.
View.internal(material) Print the music's data to the screen.