Pitch Count Report
The pitch count report demonstrates working with a simple loop through the list of music_data records in a score.
The report procedure counts the number of occurrences of each unique pitch (pitch class) in a piece. The report visualization displays the count for each pitch.
Reports output
Beethoven Symphony No. 4, 1st movement:
pitch class beethoven
J. S. Bach Brandenburg Concerto No. 6:
pitch class bach
Report visualization
I've chosen a pie chart visualization for the pitch count display.
To set up the report:
To set up the data source:
The visualization report is web-based and will have a prompt to enter the score ID.
To add the score ID prompt:
To set up the report query:
The query string contains a ? which is a query parameter.
To create the layout:
To run the report:
You can further refine the chart by right clicking the chart in the report area, and setting various formatting options.