rhythm recognition

now it really works, for X-axis only