Swing Playback implementation using staff texts

Swing playback using staff texts implemented, facilitating local control over swing parameters. Also added tests for the same.
Use small letter to start a variable name. Unit -> unit Ratio -> ratio