compute modal frequencies between given times