* @throws SQLException
* @throws ClassNotFoundException
*/
public static void main(String[] args) throws SQLException, ClassNotFoundException
{
Chart ch = new Chart("2006 Love Song", Styles.SINGLE);
// Insert a topleft hold ending on the 3rd 6th on the 2nd measure.
ch.getMeasure(1).getBeat(0).setNote(1, Notes.HOLD_HEAD);
ch.getMeasure(1).getBeat(64).setNote(1, Notes.HOLD_TAIL);
// Insert a topright arrow on the 3rd measure, last possible "3rd" note.
ch.getMeasure(2).getBeat(128).setNote(3, Notes.TAP);
// Insert a mine row on the 4th measure, last possible "8th" note.
for (int i = 0; i < 5; i++)
ch.getMeasure(3).getBeat(168).setNote(i, Notes.MINE);
// Insert a center arrow on the 5th measure, quarter note.
ch.getMeasure(4).getBeat(0).setNote(2, Notes.TAP);
// Insert a bottom jump on the 6th measure, half note.
ch.getMeasure(5).getBeat(96).setNote(0, Notes.TAP);
ch.getMeasure(5).getBeat(96).setNote(4, Notes.TAP);
System.out.println(ch);
}