View Issue Details

IDProjectCategoryView StatusLast Update
0007444ardourbugspublic2020-04-19 20:18
Reportermichielderoo Assigned Toovenwerks  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformUbuntuOSLinuxOS VersionMaverick
Product Version5.X git (version in description) 
Summary0007444: OSC: gain value for some channels missing in feedback
DescriptionI am sending an "/set_surface/feedback 19" OSC message to Ardour. This will give me feedback messages with the channel settings. However, if the gain of a channel is at zero, I do not receive a /strip/gain message for that channel.

Though I can assume that a gain is at zero if I don't get a feedback value, it would still be useful to send this explicitly.
Steps To ReproduceSet some channels at zero and some not. Send a "/set_surface/feedback 19". Gain feedback is received only for channels with gain above zero.
Additional InformationI am using the latest git version. Problem does not happen in older Ardour 5.10.

It seems to me that it has to do with the _last_gain parameter. It is set to 0.0 in the constructor of OSCRouteObserver. If I change the code to initialise it to -1.0 in the constructor, everything works fine again.
TagsNo tags attached.

Activities

ovenwerks

2017-08-09 22:34

reporter   ~0019968

I do not have this... but, if by gain = 0 you mean gain = -193 or fader position = 0, that is probably true. Please verify if you are using gainmode = position (1).

michielderoo

2017-08-10 06:15

reporter   ~0019969

Thanks for looking. Yes, I mean gain = -193 or fader position = 0. I am using gainmode = dB (0).

If I put gainmode at 1, I don't receive a /strip/fader for those channels either. I do receive spurious /strip/name messages. This is an example of what I get with gainmode at 1.

Strip #3 has the fader at about 3/4 open. Strip 0000004 has the fader at 0.

/strip/name [3, 'hydrogen']
/strip/mute [3, 0.0]
/strip/solo [3, 0.0]
/strip/solo_iso [3, 0.0]
/strip/solo_safe [3, 0.0]
/strip/monitor_input [3, 1]
/strip/monitor_disk [3, 0]
/strip/recenable [3, 0.0]
/strip/record_safe [3, 0.0]
/strip/select [3, 0.0]
/strip/name [3, '-1.65']
/strip/fader [3, 0.7296521663665771]
/strip/fader/automation [3, 0.0]
/strip/fader/automation_name [3, 'Manual']
/strip/name [3, '0.00']
/strip/trimdB [3, 0.0]
/strip/pan_stereo_position [3, 0.5]


/strip/name [4, 'bass']
/strip/mute [4, 0.0]
/strip/solo [4, 0.0]
/strip/solo_iso [4, 0.0]
/strip/solo_safe [4, 0.0]
/strip/monitor_input [4, 0]
/strip/monitor_disk [4, 0]
/strip/recenable [4, 0.0]
/strip/record_safe [4, 0.0]
/strip/select [4, 0.0]
/strip/fader/automation [4, 0.0]
/strip/fader/automation_name [4, 'Manual']
/strip/name [4, '0.00']
/strip/trimdB [4, 0.0]
/strip/pan_stereo_position [4, 0.5]

So, no /strip/fader for strip 0000004. And I don't know what the /strip/name [3, '0.00'] is.

ovenwerks

2017-08-10 16:00

reporter   ~0019970

This bug should be fixed by commit: 6ad4379b4, Please test.

michielderoo

2017-08-10 16:35

reporter   ~0019971

Yes, it works fine now. Thanks for fixing it!

system

2020-04-19 20:18

developer   ~0023771

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
2017-08-09 07:44 michielderoo New Issue
2017-08-09 22:34 ovenwerks Note Added: 0019968
2017-08-09 22:34 ovenwerks Status new => feedback
2017-08-10 06:15 michielderoo Note Added: 0019969
2017-08-10 06:15 michielderoo Status feedback => new
2017-08-10 16:00 ovenwerks Note Added: 0019970
2017-08-10 16:00 ovenwerks Status new => resolved
2017-08-10 16:00 ovenwerks Resolution open => fixed
2017-08-10 16:00 ovenwerks Assigned To => ovenwerks
2017-08-10 16:35 michielderoo Note Added: 0019971
2020-04-19 20:18 system Note Added: 0023771
2020-04-19 20:18 system Status resolved => closed