Reports
The examples given here show how to set up data visualization reports using the BI reports software BIRT.
The intent here is to give simple visualization examples as a jumping off point. From there, users can decide for themselves how they want to use MusicXML relational data.
The BIRT software can be downloaded here. Download the BIRT report designer all-in-one.
Startup BIRT by executing eclipse in the downloaded installation. A Java installation is required to run the software.
Reports examples
The individual reports examples are on subpages of this page, where the specifics of each report will be laid out.
Each report is run against the database records of Beethoven Symphony No. 4, 1st movement and J. S. Bach's Brandenburg Concerto No. 6. These two works are in the same key, and have approximately the same number of notes.
The reports examples are:
Writing individual reports procedures
Individual reports have two parts:
BIRT reports set up
First, set up a new project:
Set up the database connection
Setting up the Data Source
Placing the JDBC driver jar file:
The JDBC jar file is copied from the database installation to directory birt_installation_directory\eclipse\plugins\org.eclipse.birt.report.data.oda.jdbc_version_number\drivers. Make sure the original jar file stays in the database installation directory.
The jar file is:
Setting the driver class:
Setting the database URL:
The hostname value is same as that set in the tasks tool (e.g. localhost).
The database_name is the name of the MusicXML database.
You now have a data source in a library that can be used by all of the reports in the project.