Swing Playback implementation using staff texts

Swing playback using staff texts implemented, facilitating local control over swing parameters. Also added tests for the same.
why the struct is defined twice? and here ratio and then unit but in staffText it's reversed.