[pitivi] tests_: Fix our simpson wavefor dataset to correspond to dowscaled mono values



commit 66a266c5ab704d3d5fee95447c8d65172209c3f2
Author: Thibault Saunier <tsaunier gnome org>
Date:   Tue Nov 7 10:40:06 2017 -0300

    tests_: Fix our simpson wavefor dataset to correspond to dowscaled mono values
    
    We are now converting multichannel audio to mono before computing the
    waveform (which are anyway represented as 1 channel in our drawings) so
    update our unit test dataset accordingly.
    
    Values are pretty similare as the left and right channels of the media
    are quite similare.

 tests/test_previewers.py |   62 +++++++++++++++++++++++-----------------------
 1 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/tests/test_previewers.py b/tests/test_previewers.py
index 2b4e965..f9924c0 100644
--- a/tests/test_previewers.py
+++ b/tests/test_previewers.py
@@ -33,37 +33,37 @@ from tests.test_media_library import BaseTestMediaLibrary
 
 
 SIMPSON_WAVFORM_VALUES = [
-    0.111346248025012, 0.53654970100915411, 0.96175315399329631, 1.3869566069774386,
-    1.8121600599615806, 2.237363512945723, 2.662566965929865, 3.0877704189140069,
-    3.5129738718981489, 3.9381773248822909, 3.9381773248822909, 3.8973170554102357,
-    3.8564567859381809, 3.8155965164661261, 3.7747362469940708, 3.7338759775220156,
-    3.6930157080499608, 3.652155438577906, 3.6112951691058508, 3.5704348996337956,
-    3.5704348996337956, 3.7087058267020998, 3.846976753770404, 3.9852476808387078,
-    4.1235186079070116, 4.2617895349753159, 4.4000604620436201, 4.5383313891119244,
-    4.6766023161802277, 4.8148732432485319, 4.8148732432485319, 4.7940769006009409,
-    4.7732805579533499, 4.7524842153057598, 4.7316878726581688, 4.7108915300105778,
-    4.6900951873629868, 4.6692988447153958, 4.6485025020678057, 4.6277061594202147,
-    4.6277061594202138, 4.6929619636223059, 4.7582177678243989, 4.8234735720264919,
-    4.8887293762285848, 4.9539851804306778, 5.0192409846327699, 5.0844967888348629,
-    5.1497525930369559, 5.215008397239048, 5.2150083972390462, 5.1875374713467179,
-    5.1600665454543897, 5.1325956195620606, 5.1051246936697314, 5.0776537677774032,
-    5.0501828418850749, 5.0227119159927458, 4.9952409901004167, 4.9677700642080884,
-    4.9677700642080893, 4.9202183773912216, 4.8726666905743539, 4.8251150037574861,
-    4.7775633169406184, 4.7300116301237507, 4.682459943306883, 4.6349082564900153,
-    4.5873565696731475, 4.5398048828562798, 4.5398048828562807, 4.6475893807495776,
-    4.7553738786428745, 4.8631583765361706, 4.9709428744294666, 5.0787273723227635,
-    5.1865118702160604, 5.2942963681093564, 5.4020808660026525, 5.5098653638959494,
-    5.5098653638959485, 5.4723412189420966, 5.4348170739882438, 5.397292929034391,
-    5.359768784080539, 5.3222446391266871, 5.2847204941728343, 5.2471963492189815,
-    5.2096722042651296, 5.1721480593112776, 5.1721480593112776, 5.1391459925110219,
-    5.106143925710767, 5.0731418589105122, 5.0401397921102564, 5.0071377253100007,
-    4.9741356585097458, 4.941133591709491, 4.9081315249092352, 4.8751294581089795,
-    4.8751294581089812, 4.7707539946969515, 4.66637853128492, 4.5620030678728902,
-    4.4576276044608587, 4.353252141048829, 4.2488766776367974, 4.1445012142247668,
-    4.0401257508127362, 3.9357502874007055, 3.9357502874007029, 3.9029687270533486,
-    3.8701871667059953, 3.837405606358641, 3.8046240460112877, 3.7718424856639334,
-    3.7390609253165801, 3.7062793649692258, 3.6734978046218725, 3.6407162442745182,
-    3.6407162442745191, 0.0]
+    0.10277689599093834, 0.50788916706114862, 0.91300143813135892, 1.3181137092015693,
+    1.7232259802717795, 2.1283382513419897, 2.5334505224121999, 2.9385627934824101,
+    3.3436750645526203, 3.7487873356228305, 3.748787335622831, 3.6974645491239455,
+    3.6461417626250601, 3.5948189761261746, 3.5434961896272892, 3.4921734031284037,
+    3.4408506166295183, 3.3895278301306329, 3.3382050436317474, 3.286882257132862,
+    3.2868822571328606, 3.4364524655420996, 3.5860226739513386, 3.7355928823605775,
+    3.8851630907698165, 4.034733299179055, 4.1843035075882939, 4.3338737159975329,
+    4.4834439244067719, 4.6330141328160108, 4.6330141328160108, 4.6166031969548991,
+    4.6001922610937873, 4.5837813252326756, 4.5673703893715638, 4.5509594535104521,
+    4.5345485176493403, 4.5181375817882286, 4.5017266459271168, 4.485315710066005,
+    4.4853157100660033, 4.5547060070202106, 4.6240963039744178, 4.6934866009286251,
+    4.7628768978828324, 4.8322671948370397, 4.901657491791247, 4.9710477887454543,
+    5.0404380856996616, 5.1098283826538689, 5.109828382653868, 5.0866990072166436,
+    5.0635696317794192, 5.0404402563421948, 5.0173108809049705, 4.9941815054677461,
+    4.9710521300305217, 4.9479227545932973, 4.924793379156073, 4.9016640037188486,
+    4.901664003718845, 4.8508680589687616, 4.8000721142186782, 4.7492761694685948,
+    4.6984802247185113, 4.6476842799684279, 4.5968883352183445, 4.5460923904682611,
+    4.4952964457181777, 4.4445005009680942, 4.4445005009680925, 4.5544001248210364,
+    4.6642997486739803, 4.7741993725269243, 4.8840989963798682, 4.9939986202328122,
+    5.1038982440857561, 5.2137978679387, 5.323697491791644, 5.4335971156445879,
+    5.433597115644587, 5.3988578703107724, 5.3641186249769577, 5.329379379643143,
+    5.2946401343093283, 5.2599008889755137, 5.225161643641699, 5.1904223983078843,
+    5.1556831529740696, 5.120943907640255, 5.120943907640255, 5.0895954243424724,
+    5.0582469410446897, 5.0268984577469071, 4.9955499744491245, 4.9642014911513419,
+    4.9328530078535593, 4.9015045245557767, 4.8701560412579941, 4.8388075579602114,
+    4.8388075579602079, 4.7336937056290518, 4.6285798532978957, 4.5234660009667396,
+    4.4183521486355835, 4.3132382963044273, 4.2081244439732712, 4.1030105916421151,
+    3.9978967393109586, 3.892782886979802, 3.8927828869797994, 3.8630968485705619,
+    3.8334108101613245, 3.803724771752087, 3.7740387333428496, 3.7443526949336121,
+    3.7146666565243747, 3.6849806181151372, 3.6552945797058998, 3.6256085412966623,
+    3.6256085412966614, 0.0]
 
 
 class TestPreviewers(BaseTestMediaLibrary):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]