Added a method (addChordEvent) and code in sequencer class, but still need to fix.