View Issue Details

IDProjectCategoryView StatusLast Update
0006341ardourbugspublic2020-04-19 20:17
Reporterovenwerks Assigned Tox42  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version4.X git (version in description) 
Summary0006341: Control Surface: MCP, When a channel is in width mode GUI shows 0% and MCP display shows 50%
DescriptionWidth of pan/balance in GUI goes from -100% to +100% (indicated) but in the mackie control display the value goes from 0% (when GUI is at -100%) to 50% (GUI at 0%) to 100% (GUI at 100%)... something is not telling the truth :)

Nightly binary 4.0.306 dbg
TagsNo tags attached.

Activities

2015-05-24 00:41

 

patch.txt (513 bytes)   
diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc
index 3d3a929..1545933 100644
--- a/libs/surfaces/mackie/strip.cc
+++ b/libs/surfaces/mackie/strip.cc
@@ -632,7 +632,7 @@ Strip::do_parameter_display (AutomationType type, float val)
 	case PanWidthAutomation:
 		if (_route) {
 			char buf[16];
-			snprintf (buf, sizeof (buf), "%5ld%%", lrintf (val * 100.0));
+			snprintf (buf, sizeof (buf), "%5ld%%", lrintf ((val * 200.0)-100));
 			_surface->write (display (1, buf));
 		}
 		break;
patch.txt (513 bytes)   

x42

2015-05-24 16:15

administrator   ~0016723

patch applied in 4.0-359-gfb649f4
Thank you.

system

2020-04-19 20:17

developer   ~0023465

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2015-05-23 04:50 ovenwerks New Issue
2015-05-24 00:41 ovenwerks File Added: patch.txt
2015-05-24 16:15 x42 Note Added: 0016723
2015-05-24 16:15 x42 Status new => resolved
2015-05-24 16:15 x42 Resolution open => fixed
2015-05-24 16:15 x42 Assigned To => x42
2020-04-19 20:17 system Note Added: 0023465
2020-04-19 20:17 system Status resolved => closed