* Fixed type that caused triangle linear counter to be ignored * Changed sweep to shift the current period, not the register value * Moved muting logic early to avoid setting DOC registers when not needed