Change from decimal to rational representation for note duration.