solved clock problem on encoder with audio