Add text input filter

To valid input text.
Update document

Add description of comment and dummy characters into document.
Support zero length notes

To play chords
Update document
Fix bugs