Finding Time Signature and Rhythms