MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007444ardourbugspublic2017-08-09 00:442017-08-10 09:51
Reportermichielderoo 
Assigned Toovenwerks 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformUbuntuOSLinuxOS VersionMaverick
Product Version5.X git (version in description) 
Target VersionFixed in Version 
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.
Attached Files

- Relationships

-  Notes
(0019968)
ovenwerks (reporter)
2017-08-09 15:34

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).
(0019969)
michielderoo (reporter)
2017-08-09 23:15

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 #4 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 #4. And I don't know what the /strip/name [3, '0.00'] is.
(0019970)
ovenwerks (reporter)
2017-08-10 09:00

This bug should be fixed by commit: 6ad4379b4, Please test.
(0019971)
michielderoo (reporter)
2017-08-10 09:35

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

- Issue History
Date Modified Username Field Change
2017-08-09 00:44 michielderoo New Issue
2017-08-09 15:34 ovenwerks Note Added: 0019968
2017-08-09 15:34 ovenwerks Status new => feedback
2017-08-09 23:15 michielderoo Note Added: 0019969
2017-08-09 23:15 michielderoo Status feedback => new
2017-08-10 09:00 ovenwerks Note Added: 0019970
2017-08-10 09:00 ovenwerks Status new => resolved
2017-08-10 09:00 ovenwerks Resolution open => fixed
2017-08-10 09:00 ovenwerks Assigned To => ovenwerks
2017-08-10 09:35 michielderoo Note Added: 0019971


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker