View Issue Details

IDCategoryLast Update
0006979bugs2016-08-24 18:41
ReportergrabnerAssigned To 
Reproducibilityalways 
Status newResolutionopen 
PlatformIntel 64bitOSopenSUSE LinuxOS VersionLeap 42.1
Product Version5.0 
Fixed in Version 
Summary0006979: corrupt automation rendering in case of negative gain value
DescriptionA negative gain value in the automation list results in corrupt rendering of the entire track window (see attached screenshot). This is not likely to affect many users (actually I have no idea how I managed to enter a negative gain value, maybe by working on the same project with different versions of ardour, staring somewhere at 2.x), but it should be quite easy to fix (just clamp gain values and related stuff at zero, and maybe issue a warning). The same project was rendered correctly in ardour-4.7.
Steps To ReproduceThe corrupt automation rendering becomes visible immediately after loading the project, it gets worse if other windows are moved over the ardour window.
Additional InformationI found the "needle in the haystack" of my ardour file (when the "-" sign is removed, the project is rendered correctly):

      <Automation>
        <AutomationList automation-id="gain" id="576" default="0" min-yval="0" max-yval="1" interpolation-style="Linear" state="Play" style="Absolute">
          <events>0 0.238839283585548
1941536 0.27708888053894
2088975 0.348231256008148
2301324 0.687599539756775
2572140 0.386197632929009
2678225 0.672884720958029
2864265 0
2928899 0.547140546908458
2940469 0
2962004 0.672358155250549
2971534 0.841157136424892
3030195 0.808805401422433
4654994 -0.116043535577774
7224204 0.656229
7224205 0.675761
7269773 0.339834
7360908 0.949203
7588749 0.675761
7634317 0.300771
7725452 0.949203
7725453 0.675761
10479248 0.669797420501709
10520416 1.77611041069031
10574864 1.77588081359863
10586816 1.28221559524536
12789968 1.21333432197571
12820512 0.664759039878845
16807309 0.656229
</events>
        </AutomationList>
      </Automation>
TagsNo tags attached.

Activities

grabner

2016-08-24 18:41

reporter  

ardour_negative_gain.png (195,120 bytes)
ardour_negative_gain.png (195,120 bytes)

Issue History

Date Modified Username Field Change
2016-08-24 18:41 grabner New Issue
2016-08-24 18:41 grabner File Added: ardour_negative_gain.png