mirror of
				https://github.com/TomHarte/CLK.git
				synced 2025-11-04 00:16:26 +00:00 
			
		
		
		
	Relax flywheel response rate again.
This commit is contained in:
		@@ -62,7 +62,7 @@ struct Flywheel {
 | 
			
		||||
		// In practice this is a weighted mix of the two values, with the exact weighting affecting how
 | 
			
		||||
		// quickly the flywheel adjusts to new input. It's a IIR lowpass filter.
 | 
			
		||||
		constexpr auto mix = [](const int expected, const int actual) {
 | 
			
		||||
			return (expected + 3*actual) >> 2;
 | 
			
		||||
			return (expected + actual) >> 1;
 | 
			
		||||
		};
 | 
			
		||||
 | 
			
		||||
		// A debugging helper.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user