A ruler play moving melody