Improve beeper emulation and HQ filter.