Fixed issue with pulse periods not being correct ie: 50% != 50%, Fixed default patch state for resampling.